import { SSESpecificationProps } from './globaltable/SSESpecificationProps';
import { Value } from '../../cloudformation/Value';
import { AttributeDefinitionProps } from './globaltable/AttributeDefinitionProps';
import { StreamSpecificationProps } from './globaltable/StreamSpecificationProps';
import { GlobalSecondaryIndexProps } from './globaltable/GlobalSecondaryIndexProps';
import { KeySchemaProps } from './globaltable/KeySchemaProps';
import { LocalSecondaryIndexProps } from './globaltable/LocalSecondaryIndexProps';
import { ReplicaSpecificationProps } from './globaltable/ReplicaSpecificationProps';
import { WriteProvisionedThroughputSettingsProps } from './globaltable/WriteProvisionedThroughputSettingsProps';
import { TimeToLiveSpecificationProps } from './globaltable/TimeToLiveSpecificationProps';
import { Attribute } from '../../cloudformation/Attribute';
import { AwsResource } from '../../cloudformation/resources/AwsResource';
export type GlobalTableAttributes = {
    TableId: Attribute<string>;
    Arn: Attribute<string>;
    StreamArn: Attribute<string>;
};
export type GlobalTable = AwsResource<'AWS::DynamoDB::GlobalTable', GlobalTableProperties, GlobalTableAttributes>;
/**
  The <code>AWS::DynamoDB::GlobalTable</code> resource enables you to create and manage a Version 2019.11.21 global table. This resource cannot be used to create or manage a Version 2017.11.29 global table. For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/GlobalTables.html">Global tables</a>.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-globaltable.html">the AWS Docs</a>
*/
export declare function globalTable(globalTableProps: GlobalTableProperties): GlobalTable;
/**
  The <code>AWS::DynamoDB::GlobalTable</code> resource enables you to create and manage a Version 2019.11.21 global table. This resource cannot be used to create or manage a Version 2017.11.29 global table. For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/GlobalTables.html">Global tables</a>.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-globaltable.html">the AWS Docs</a>
*/
export interface GlobalTableProperties {
    /** <code>SSESpecification</code>  <a name="cfn-dynamodb-globaltable-ssespecification"></a>
  Specifies the settings to enable server-side encryption. These settings will be applied to all replicas. If you plan to use customer-managed KMS keys, you must provide a key for each replica using the <code>ReplicaSpecification.ReplicaSSESpecification</code> property.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    sSESpecification?: SSESpecificationProps;
    /** <code>TableName</code>  <a name="cfn-dynamodb-globaltable-tablename"></a>
  A name for the global table. If you don’t specify a name, AWS CloudFormation generates a unique ID and uses that ID as the table name. For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-name.html">Name type</a>.<br />
  If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    tableName?: Value<string>;
    /** <code>AttributeDefinitions</code>  <a name="cfn-dynamodb-globaltable-attributedefinitions"></a>
  A list of attributes that describe the key schema for the global table and indexes.<br />
  
  Required: Yes<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    attributeDefinitions: AttributeDefinitionProps[];
    /** <code>StreamSpecification</code>  <a name="cfn-dynamodb-globaltable-streamspecification"></a>
  Specifies the streams settings on your global table. You must provide a value for this property if your global table contains more than one replica. You can only change the streams settings if your global table has only one replica.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    streamSpecification?: StreamSpecificationProps;
    /** <p> */
    billingMode?: Value<string>;
    /** <code>GlobalSecondaryIndexes</code>  <a name="cfn-dynamodb-globaltable-globalsecondaryindexes"></a>
  Global secondary indexes to be created on the global table. You can create up to 20 global secondary indexes. Each replica in your global table will have the same global secondary index settings. You can only create or delete one global secondary index in a single stack operation.<br />
  Since the backfilling of an index could take a long time, CloudFormation does not wait for the index to become active. If a stack operation rolls back, CloudFormation might not delete an index that has been added. In that case, you will need to delete the index manually.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    globalSecondaryIndexes?: GlobalSecondaryIndexProps[];
    /** <code>KeySchema</code>  <a name="cfn-dynamodb-globaltable-keyschema"></a>
  Specifies the attributes that make up the primary key for the table. The attributes in the <code>KeySchema</code> property must also be defined in the <code>AttributeDefinitions</code> property.<br />
  
  Required: Yes<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    keySchema: KeySchemaProps[];
    /** <code>LocalSecondaryIndexes</code>  <a name="cfn-dynamodb-globaltable-localsecondaryindexes"></a>
  Local secondary indexes to be created on the table. You can create up to five local secondary indexes. Each index is scoped to a given hash key value. The size of each hash key can be up to 10 gigabytes. Each replica in your global table will have the same local secondary index settings.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    localSecondaryIndexes?: LocalSecondaryIndexProps[];
    /** <code>Replicas</code>  <a name="cfn-dynamodb-globaltable-replicas"></a>
  Specifies the list of replicas for your global table. The list must contain at least one element, the region where the stack defining the global table is deployed. For example, if you define your table in a stack deployed to us-east-1, you must have an entry in <code>Replicas</code> with the region us-east-1. You cannot remove the replica in the stack region.<br />
  Adding a replica might take a few minutes for an empty table, or up to several hours for large tables. If you want to add or remove a replica, we recommend submitting an <code>UpdateStack</code> operation containing only that change.<br />
  If you add or delete a replica during an update, we recommend that you don’t update any other resources. If your stack fails to update and is rolled back while adding a new replica, you might need to manually delete the replica.
  You can create a new global table with as many replicas as needed. You can add or remove replicas after table creation, but you can only add or remove a single replica in each update.<br />
  
  Required: Yes<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    replicas: ReplicaSpecificationProps[];
    /** <code>WriteProvisionedThroughputSettings</code>  <a name="cfn-dynamodb-globaltable-writeprovisionedthroughputsettings"></a>
  Specifies an auto scaling policy for write capacity. This policy will be applied to all replicas. This setting must be specified if <code>BillingMode</code> is set to <code>PROVISIONED</code>.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    writeProvisionedThroughputSettings?: WriteProvisionedThroughputSettingsProps;
    /** <code>TimeToLiveSpecification</code>  <a name="cfn-dynamodb-globaltable-timetolivespecification"></a>
  Specifies the time to live (TTL) settings for the table. This setting will be applied to all replicas.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    timeToLiveSpecification?: TimeToLiveSpecificationProps;
}
