Show / Hide Table of Contents

Class CfnTable

The AWS::DynamoDB::Table resource creates a DynamoDB table. For more information, see CreateTable in the Amazon DynamoDB API Reference .

Inheritance
object
CfnElement
CfnRefElement
CfnResource
CfnTable
Implements
IInspectable
ITableRef
IConstruct
IDependable
IEnvironmentAware
ITaggable
Inherited Members
CfnResource.IsCfnResource(object)
CfnResource.AddDeletionOverride(string)
CfnResource.AddDependency(CfnResource)
CfnResource.AddDependsOn(CfnResource)
CfnResource.AddMetadata(string, object)
CfnResource.AddOverride(string, object)
CfnResource.AddPropertyDeletionOverride(string)
CfnResource.AddPropertyOverride(string, object)
CfnResource.ApplyRemovalPolicy(RemovalPolicy?, IRemovalPolicyOptions)
CfnResource.GetAtt(string, ResolutionTypeHint?)
CfnResource.GetMetadata(string)
CfnResource.ObtainDependencies()
CfnResource.ObtainResourceDependencies()
CfnResource.RemoveDependency(CfnResource)
CfnResource.ReplaceDependency(CfnResource, CfnResource)
CfnResource.ShouldSynthesize()
CfnResource.ToString()
CfnResource.ValidateProperties(object)
CfnResource.CfnOptions
CfnResource.CfnResourceType
CfnResource.Env
CfnResource.UpdatedProperites
CfnResource.UpdatedProperties
CfnRefElement.Ref
CfnElement.IsCfnElement(object)
CfnElement.OverrideLogicalId(string)
CfnElement.CreationStack
CfnElement.LogicalId
CfnElement.Stack
Namespace: Amazon.CDK.AWS.DynamoDB
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnTable : CfnResource, IInspectable, ITableRef, IConstruct, IDependable, IEnvironmentAware, ITaggable
Syntax (vb)
Public Class CfnTable Inherits CfnResource Implements IInspectable, ITableRef, IConstruct, IDependable, IEnvironmentAware, ITaggable
Remarks

You should be aware of the following behaviors when working with DynamoDB tables:

    Our guidance is to use the latest schema documented for your AWS CloudFormation templates. This schema supports the provisioning of all table settings below. When using this schema in your AWS CloudFormation templates, please ensure that your Identity and Access Management ( IAM ) policies are updated with appropriate permissions to allow for the authorization of these setting changes.
    

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-table.html

    CloudformationResource: AWS::DynamoDB::Table

    ExampleMetadata: fixture=_generated

    Examples
    // The code below shows an example of how to instantiate this type.
                 // The values are placeholders you should change.
                 using Amazon.CDK.AWS.DynamoDB;
    
                 var policyDocument;
    
                 var cfnTable = new CfnTable(this, "MyCfnTable", new CfnTableProps {
                     KeySchema = new [] { new KeySchemaProperty {
                         AttributeName = "attributeName",
                         KeyType = "keyType"
                     } },
    
                     // the properties below are optional
                     AttributeDefinitions = new [] { new AttributeDefinitionProperty {
                         AttributeName = "attributeName",
                         AttributeType = "attributeType"
                     } },
                     BillingMode = "billingMode",
                     ContributorInsightsSpecification = new ContributorInsightsSpecificationProperty {
                         Enabled = false,
    
                         // the properties below are optional
                         Mode = "mode"
                     },
                     DeletionProtectionEnabled = false,
                     GlobalSecondaryIndexes = new [] { new GlobalSecondaryIndexProperty {
                         IndexName = "indexName",
                         KeySchema = new [] { new KeySchemaProperty {
                             AttributeName = "attributeName",
                             KeyType = "keyType"
                         } },
                         Projection = new ProjectionProperty {
                             NonKeyAttributes = new [] { "nonKeyAttributes" },
                             ProjectionType = "projectionType"
                         },
    
                         // the properties below are optional
                         ContributorInsightsSpecification = new ContributorInsightsSpecificationProperty {
                             Enabled = false,
    
                             // the properties below are optional
                             Mode = "mode"
                         },
                         OnDemandThroughput = new OnDemandThroughputProperty {
                             MaxReadRequestUnits = 123,
                             MaxWriteRequestUnits = 123
                         },
                         ProvisionedThroughput = new ProvisionedThroughputProperty {
                             ReadCapacityUnits = 123,
                             WriteCapacityUnits = 123
                         },
                         WarmThroughput = new WarmThroughputProperty {
                             ReadUnitsPerSecond = 123,
                             WriteUnitsPerSecond = 123
                         }
                     } },
                     ImportSourceSpecification = new ImportSourceSpecificationProperty {
                         InputFormat = "inputFormat",
                         S3BucketSource = new S3BucketSourceProperty {
                             S3Bucket = "s3Bucket",
    
                             // the properties below are optional
                             S3BucketOwner = "s3BucketOwner",
                             S3KeyPrefix = "s3KeyPrefix"
                         },
    
                         // the properties below are optional
                         InputCompressionType = "inputCompressionType",
                         InputFormatOptions = new InputFormatOptionsProperty {
                             Csv = new CsvProperty {
                                 Delimiter = "delimiter",
                                 HeaderList = new [] { "headerList" }
                             }
                         }
                     },
                     KinesisStreamSpecification = new KinesisStreamSpecificationProperty {
                         StreamArn = "streamArn",
    
                         // the properties below are optional
                         ApproximateCreationDateTimePrecision = "approximateCreationDateTimePrecision"
                     },
                     LocalSecondaryIndexes = new [] { new LocalSecondaryIndexProperty {
                         IndexName = "indexName",
                         KeySchema = new [] { new KeySchemaProperty {
                             AttributeName = "attributeName",
                             KeyType = "keyType"
                         } },
                         Projection = new ProjectionProperty {
                             NonKeyAttributes = new [] { "nonKeyAttributes" },
                             ProjectionType = "projectionType"
                         }
                     } },
                     OnDemandThroughput = new OnDemandThroughputProperty {
                         MaxReadRequestUnits = 123,
                         MaxWriteRequestUnits = 123
                     },
                     PointInTimeRecoverySpecification = new PointInTimeRecoverySpecificationProperty {
                         PointInTimeRecoveryEnabled = false,
                         RecoveryPeriodInDays = 123
                     },
                     ProvisionedThroughput = new ProvisionedThroughputProperty {
                         ReadCapacityUnits = 123,
                         WriteCapacityUnits = 123
                     },
                     ResourcePolicy = new ResourcePolicyProperty {
                         PolicyDocument = policyDocument
                     },
                     SseSpecification = new SSESpecificationProperty {
                         SseEnabled = false,
    
                         // the properties below are optional
                         KmsMasterKeyId = "kmsMasterKeyId",
                         SseType = "sseType"
                     },
                     StreamSpecification = new StreamSpecificationProperty {
                         StreamViewType = "streamViewType",
    
                         // the properties below are optional
                         ResourcePolicy = new ResourcePolicyProperty {
                             PolicyDocument = policyDocument
                         }
                     },
                     TableClass = "tableClass",
                     TableName = "tableName",
                     Tags = new [] { new CfnTag {
                         Key = "key",
                         Value = "value"
                     } },
                     TimeToLiveSpecification = new TimeToLiveSpecificationProperty {
                         Enabled = false,
    
                         // the properties below are optional
                         AttributeName = "attributeName"
                     },
                     WarmThroughput = new WarmThroughputProperty {
                         ReadUnitsPerSecond = 123,
                         WriteUnitsPerSecond = 123
                     }
                 });

    Synopsis

    Constructors

    CfnTable(Construct, string, ICfnTableProps)

    Create a new AWS::DynamoDB::Table.

    Properties

    AttrArn

    The Amazon Resource Name (ARN) of the DynamoDB table, such as arn:aws:dynamodb:us-east-2:123456789012:table/myDynamoDBTable .

    AttrStreamArn

    The ARN of the DynamoDB stream, such as arn:aws:dynamodb:us-east-1:123456789012:table/testddbstack-myDynamoDBTable-012A1SL7SMP5Q/stream/2015-11-30T20:10:00.000 .

    AttributeDefinitions

    A list of attributes that describe the key schema for the table and indexes.

    BillingMode

    Specify how you are charged for read and write throughput and how you manage capacity.

    CFN_RESOURCE_TYPE_NAME

    The CloudFormation resource type name for this resource class.

    CfnProperties

    The AWS::DynamoDB::Table resource creates a DynamoDB table. For more information, see CreateTable in the Amazon DynamoDB API Reference .

    ContributorInsightsSpecification

    The settings used to specify whether to enable CloudWatch Contributor Insights for the table and define which events to monitor.

    DeletionProtectionEnabled

    Determines if a table is protected from deletion.

    GlobalSecondaryIndexes

    Global secondary indexes to be created on the table.

    ImportSourceSpecification

    Specifies the properties of data being imported from the S3 bucket source to the" table.

    KeySchema

    Specifies the attributes that make up the primary key for the table.

    KinesisStreamSpecification

    The Kinesis Data Streams configuration for the specified table.

    LocalSecondaryIndexes

    Local secondary indexes to be created on the table.

    OnDemandThroughput

    Sets the maximum number of read and write units for the specified on-demand table.

    PointInTimeRecoverySpecification

    The settings used to enable point in time recovery.

    ProvisionedThroughput

    Throughput for the specified table, which consists of values for ReadCapacityUnits and WriteCapacityUnits .

    ResourcePolicy

    An AWS resource-based policy document in JSON format that will be attached to the table.

    SseSpecification

    Specifies the settings to enable server-side encryption.

    StreamSpecification

    The settings for the DynamoDB table stream, which captures changes to items stored in the table.

    TableClass

    The table class of the new table.

    TableName

    A name for the table.

    TableRef

    A reference to a Table resource.

    Tags

    Tag Manager which manages the tags for this resource.

    TagsRaw

    An array of key-value pairs to apply to this resource.

    TimeToLiveSpecification

    Specifies the Time to Live (TTL) settings for the table.

    WarmThroughput

    Represents the warm throughput (in read units per second and write units per second) for creating a table.

    Methods

    ArnForTable(ITableRef)

    The AWS::DynamoDB::Table resource creates a DynamoDB table. For more information, see CreateTable in the Amazon DynamoDB API Reference .

    FromTableArn(Construct, string, string)

    Creates a new ITableRef from an ARN.

    FromTableName(Construct, string, string)

    Creates a new ITableRef from a tableName.

    Inspect(TreeInspector)

    Examines the CloudFormation resource and discloses attributes.

    RenderProperties(IDictionary<string, object>)

    The AWS::DynamoDB::Table resource creates a DynamoDB table. For more information, see CreateTable in the Amazon DynamoDB API Reference .

    Constructors

    CfnTable(Construct, string, ICfnTableProps)

    Create a new AWS::DynamoDB::Table.

    public CfnTable(Construct scope, string id, ICfnTableProps props)
    Parameters
    scope Construct

    Scope in which this resource is defined.

    id string

    Construct identifier for this resource (unique in its scope).

    props ICfnTableProps

    Resource properties.

    Remarks

    You should be aware of the following behaviors when working with DynamoDB tables:

      Our guidance is to use the latest schema documented for your AWS CloudFormation templates. This schema supports the provisioning of all table settings below. When using this schema in your AWS CloudFormation templates, please ensure that your Identity and Access Management ( IAM ) policies are updated with appropriate permissions to allow for the authorization of these setting changes.
      

      See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-table.html

      CloudformationResource: AWS::DynamoDB::Table

      ExampleMetadata: fixture=_generated

      Properties

      AttrArn

      The Amazon Resource Name (ARN) of the DynamoDB table, such as arn:aws:dynamodb:us-east-2:123456789012:table/myDynamoDBTable .

      public virtual string AttrArn { get; }
      Property Value

      string

      Remarks

      CloudformationAttribute: Arn

      AttrStreamArn

      The ARN of the DynamoDB stream, such as arn:aws:dynamodb:us-east-1:123456789012:table/testddbstack-myDynamoDBTable-012A1SL7SMP5Q/stream/2015-11-30T20:10:00.000 .

      public virtual string AttrStreamArn { get; }
      Property Value

      string

      Remarks
      You must specify the <code>StreamSpecification</code> property to use this attribute.
      

      CloudformationAttribute: StreamArn

      AttributeDefinitions

      A list of attributes that describe the key schema for the table and indexes.

      public virtual object? AttributeDefinitions { get; set; }
      Property Value

      object

      Remarks

      Type union: either IResolvable or (either IResolvable or CfnTable.IAttributeDefinitionProperty)[]

      BillingMode

      Specify how you are charged for read and write throughput and how you manage capacity.

      public virtual string? BillingMode { get; set; }
      Property Value

      string

      Remarks

      You should be aware of the following behaviors when working with DynamoDB tables:

        Our guidance is to use the latest schema documented for your AWS CloudFormation templates. This schema supports the provisioning of all table settings below. When using this schema in your AWS CloudFormation templates, please ensure that your Identity and Access Management ( IAM ) policies are updated with appropriate permissions to allow for the authorization of these setting changes.
        

        See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-table.html

        CloudformationResource: AWS::DynamoDB::Table

        ExampleMetadata: fixture=_generated

        CFN_RESOURCE_TYPE_NAME

        The CloudFormation resource type name for this resource class.

        public static string CFN_RESOURCE_TYPE_NAME { get; }
        Property Value

        string

        Remarks

        You should be aware of the following behaviors when working with DynamoDB tables:

          Our guidance is to use the latest schema documented for your AWS CloudFormation templates. This schema supports the provisioning of all table settings below. When using this schema in your AWS CloudFormation templates, please ensure that your Identity and Access Management ( IAM ) policies are updated with appropriate permissions to allow for the authorization of these setting changes.
          

          See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-table.html

          CloudformationResource: AWS::DynamoDB::Table

          ExampleMetadata: fixture=_generated

          CfnProperties

          The AWS::DynamoDB::Table resource creates a DynamoDB table. For more information, see CreateTable in the Amazon DynamoDB API Reference .

          protected override IDictionary<string, object> CfnProperties { get; }
          Property Value

          IDictionary<string, object>

          Overrides
          CfnResource.CfnProperties
          Remarks

          You should be aware of the following behaviors when working with DynamoDB tables:

            Our guidance is to use the latest schema documented for your AWS CloudFormation templates. This schema supports the provisioning of all table settings below. When using this schema in your AWS CloudFormation templates, please ensure that your Identity and Access Management ( IAM ) policies are updated with appropriate permissions to allow for the authorization of these setting changes.
            

            See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-table.html

            CloudformationResource: AWS::DynamoDB::Table

            ExampleMetadata: fixture=_generated

            ContributorInsightsSpecification

            The settings used to specify whether to enable CloudWatch Contributor Insights for the table and define which events to monitor.

            public virtual object? ContributorInsightsSpecification { get; set; }
            Property Value

            object

            Remarks

            Type union: either IResolvable or CfnTable.IContributorInsightsSpecificationProperty

            DeletionProtectionEnabled

            Determines if a table is protected from deletion.

            public virtual object? DeletionProtectionEnabled { get; set; }
            Property Value

            object

            Remarks

            Type union: either bool or IResolvable

            GlobalSecondaryIndexes

            Global secondary indexes to be created on the table.

            public virtual object? GlobalSecondaryIndexes { get; set; }
            Property Value

            object

            Remarks

            You can create up to 20 global secondary indexes.

            Type union: either IResolvable or (either IResolvable or CfnTable.IGlobalSecondaryIndexProperty)[]

            ImportSourceSpecification

            Specifies the properties of data being imported from the S3 bucket source to the" table.

            public virtual object? ImportSourceSpecification { get; set; }
            Property Value

            object

            Remarks

            Type union: either IResolvable or CfnTable.IImportSourceSpecificationProperty

            KeySchema

            Specifies the attributes that make up the primary key for the table.

            public virtual object KeySchema { get; set; }
            Property Value

            object

            Remarks

            Type union: either IResolvable or (either IResolvable or CfnTable.IKeySchemaProperty)[]

            KinesisStreamSpecification

            The Kinesis Data Streams configuration for the specified table.

            public virtual object? KinesisStreamSpecification { get; set; }
            Property Value

            object

            Remarks

            Type union: either IResolvable or CfnTable.IKinesisStreamSpecificationProperty

            LocalSecondaryIndexes

            Local secondary indexes to be created on the table.

            public virtual object? LocalSecondaryIndexes { get; set; }
            Property Value

            object

            Remarks

            Type union: either IResolvable or (either IResolvable or CfnTable.ILocalSecondaryIndexProperty)[]

            OnDemandThroughput

            Sets the maximum number of read and write units for the specified on-demand table.

            public virtual object? OnDemandThroughput { get; set; }
            Property Value

            object

            Remarks

            Type union: either IResolvable or CfnTable.IOnDemandThroughputProperty

            PointInTimeRecoverySpecification

            The settings used to enable point in time recovery.

            public virtual object? PointInTimeRecoverySpecification { get; set; }
            Property Value

            object

            Remarks

            Type union: either IResolvable or CfnTable.IPointInTimeRecoverySpecificationProperty

            ProvisionedThroughput

            Throughput for the specified table, which consists of values for ReadCapacityUnits and WriteCapacityUnits .

            public virtual object? ProvisionedThroughput { get; set; }
            Property Value

            object

            Remarks

            Type union: either IResolvable or CfnTable.IProvisionedThroughputProperty

            ResourcePolicy

            An AWS resource-based policy document in JSON format that will be attached to the table.

            public virtual object? ResourcePolicy { get; set; }
            Property Value

            object

            Remarks

            Type union: either IResolvable or CfnTable.IResourcePolicyProperty

            SseSpecification

            Specifies the settings to enable server-side encryption.

            public virtual object? SseSpecification { get; set; }
            Property Value

            object

            Remarks

            Type union: either IResolvable or CfnTable.ISSESpecificationProperty

            StreamSpecification

            The settings for the DynamoDB table stream, which captures changes to items stored in the table.

            public virtual object? StreamSpecification { get; set; }
            Property Value

            object

            Remarks

            Type union: either IResolvable or CfnTable.IStreamSpecificationProperty

            TableClass

            The table class of the new table.

            public virtual string? TableClass { get; set; }
            Property Value

            string

            Remarks

            You should be aware of the following behaviors when working with DynamoDB tables:

              Our guidance is to use the latest schema documented for your AWS CloudFormation templates. This schema supports the provisioning of all table settings below. When using this schema in your AWS CloudFormation templates, please ensure that your Identity and Access Management ( IAM ) policies are updated with appropriate permissions to allow for the authorization of these setting changes.
              

              See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-table.html

              CloudformationResource: AWS::DynamoDB::Table

              ExampleMetadata: fixture=_generated

              TableName

              A name for the table.

              public virtual string? TableName { get; set; }
              Property Value

              string

              Remarks

              You should be aware of the following behaviors when working with DynamoDB tables:

                Our guidance is to use the latest schema documented for your AWS CloudFormation templates. This schema supports the provisioning of all table settings below. When using this schema in your AWS CloudFormation templates, please ensure that your Identity and Access Management ( IAM ) policies are updated with appropriate permissions to allow for the authorization of these setting changes.
                

                See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-table.html

                CloudformationResource: AWS::DynamoDB::Table

                ExampleMetadata: fixture=_generated

                TableRef

                A reference to a Table resource.

                public virtual ITableReference TableRef { get; }
                Property Value

                ITableReference

                Remarks

                You should be aware of the following behaviors when working with DynamoDB tables:

                  Our guidance is to use the latest schema documented for your AWS CloudFormation templates. This schema supports the provisioning of all table settings below. When using this schema in your AWS CloudFormation templates, please ensure that your Identity and Access Management ( IAM ) policies are updated with appropriate permissions to allow for the authorization of these setting changes.
                  

                  See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-table.html

                  CloudformationResource: AWS::DynamoDB::Table

                  ExampleMetadata: fixture=_generated

                  Tags

                  Tag Manager which manages the tags for this resource.

                  public virtual TagManager Tags { get; }
                  Property Value

                  TagManager

                  Remarks

                  You should be aware of the following behaviors when working with DynamoDB tables:

                    Our guidance is to use the latest schema documented for your AWS CloudFormation templates. This schema supports the provisioning of all table settings below. When using this schema in your AWS CloudFormation templates, please ensure that your Identity and Access Management ( IAM ) policies are updated with appropriate permissions to allow for the authorization of these setting changes.
                    

                    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-table.html

                    CloudformationResource: AWS::DynamoDB::Table

                    ExampleMetadata: fixture=_generated

                    TagsRaw

                    An array of key-value pairs to apply to this resource.

                    public virtual ICfnTag[]? TagsRaw { get; set; }
                    Property Value

                    ICfnTag[]

                    Remarks

                    You should be aware of the following behaviors when working with DynamoDB tables:

                      Our guidance is to use the latest schema documented for your AWS CloudFormation templates. This schema supports the provisioning of all table settings below. When using this schema in your AWS CloudFormation templates, please ensure that your Identity and Access Management ( IAM ) policies are updated with appropriate permissions to allow for the authorization of these setting changes.
                      

                      See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-table.html

                      CloudformationResource: AWS::DynamoDB::Table

                      ExampleMetadata: fixture=_generated

                      TimeToLiveSpecification

                      Specifies the Time to Live (TTL) settings for the table.

                      public virtual object? TimeToLiveSpecification { get; set; }
                      Property Value

                      object

                      Remarks

                      Type union: either IResolvable or CfnTable.ITimeToLiveSpecificationProperty

                      WarmThroughput

                      Represents the warm throughput (in read units per second and write units per second) for creating a table.

                      public virtual object? WarmThroughput { get; set; }
                      Property Value

                      object

                      Remarks

                      Type union: either IResolvable or CfnTable.IWarmThroughputProperty

                      Methods

                      ArnForTable(ITableRef)

                      The AWS::DynamoDB::Table resource creates a DynamoDB table. For more information, see CreateTable in the Amazon DynamoDB API Reference .

                      public static string ArnForTable(ITableRef resource)
                      Parameters
                      resource ITableRef
                      Returns

                      string

                      Remarks

                      You should be aware of the following behaviors when working with DynamoDB tables:

                        Our guidance is to use the latest schema documented for your AWS CloudFormation templates. This schema supports the provisioning of all table settings below. When using this schema in your AWS CloudFormation templates, please ensure that your Identity and Access Management ( IAM ) policies are updated with appropriate permissions to allow for the authorization of these setting changes.
                        

                        See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-table.html

                        CloudformationResource: AWS::DynamoDB::Table

                        ExampleMetadata: fixture=_generated

                        Examples
                        // The code below shows an example of how to instantiate this type.
                                     // The values are placeholders you should change.
                                     using Amazon.CDK.AWS.DynamoDB;
                        
                                     var policyDocument;
                        
                                     var cfnTable = new CfnTable(this, "MyCfnTable", new CfnTableProps {
                                         KeySchema = new [] { new KeySchemaProperty {
                                             AttributeName = "attributeName",
                                             KeyType = "keyType"
                                         } },
                        
                                         // the properties below are optional
                                         AttributeDefinitions = new [] { new AttributeDefinitionProperty {
                                             AttributeName = "attributeName",
                                             AttributeType = "attributeType"
                                         } },
                                         BillingMode = "billingMode",
                                         ContributorInsightsSpecification = new ContributorInsightsSpecificationProperty {
                                             Enabled = false,
                        
                                             // the properties below are optional
                                             Mode = "mode"
                                         },
                                         DeletionProtectionEnabled = false,
                                         GlobalSecondaryIndexes = new [] { new GlobalSecondaryIndexProperty {
                                             IndexName = "indexName",
                                             KeySchema = new [] { new KeySchemaProperty {
                                                 AttributeName = "attributeName",
                                                 KeyType = "keyType"
                                             } },
                                             Projection = new ProjectionProperty {
                                                 NonKeyAttributes = new [] { "nonKeyAttributes" },
                                                 ProjectionType = "projectionType"
                                             },
                        
                                             // the properties below are optional
                                             ContributorInsightsSpecification = new ContributorInsightsSpecificationProperty {
                                                 Enabled = false,
                        
                                                 // the properties below are optional
                                                 Mode = "mode"
                                             },
                                             OnDemandThroughput = new OnDemandThroughputProperty {
                                                 MaxReadRequestUnits = 123,
                                                 MaxWriteRequestUnits = 123
                                             },
                                             ProvisionedThroughput = new ProvisionedThroughputProperty {
                                                 ReadCapacityUnits = 123,
                                                 WriteCapacityUnits = 123
                                             },
                                             WarmThroughput = new WarmThroughputProperty {
                                                 ReadUnitsPerSecond = 123,
                                                 WriteUnitsPerSecond = 123
                                             }
                                         } },
                                         ImportSourceSpecification = new ImportSourceSpecificationProperty {
                                             InputFormat = "inputFormat",
                                             S3BucketSource = new S3BucketSourceProperty {
                                                 S3Bucket = "s3Bucket",
                        
                                                 // the properties below are optional
                                                 S3BucketOwner = "s3BucketOwner",
                                                 S3KeyPrefix = "s3KeyPrefix"
                                             },
                        
                                             // the properties below are optional
                                             InputCompressionType = "inputCompressionType",
                                             InputFormatOptions = new InputFormatOptionsProperty {
                                                 Csv = new CsvProperty {
                                                     Delimiter = "delimiter",
                                                     HeaderList = new [] { "headerList" }
                                                 }
                                             }
                                         },
                                         KinesisStreamSpecification = new KinesisStreamSpecificationProperty {
                                             StreamArn = "streamArn",
                        
                                             // the properties below are optional
                                             ApproximateCreationDateTimePrecision = "approximateCreationDateTimePrecision"
                                         },
                                         LocalSecondaryIndexes = new [] { new LocalSecondaryIndexProperty {
                                             IndexName = "indexName",
                                             KeySchema = new [] { new KeySchemaProperty {
                                                 AttributeName = "attributeName",
                                                 KeyType = "keyType"
                                             } },
                                             Projection = new ProjectionProperty {
                                                 NonKeyAttributes = new [] { "nonKeyAttributes" },
                                                 ProjectionType = "projectionType"
                                             }
                                         } },
                                         OnDemandThroughput = new OnDemandThroughputProperty {
                                             MaxReadRequestUnits = 123,
                                             MaxWriteRequestUnits = 123
                                         },
                                         PointInTimeRecoverySpecification = new PointInTimeRecoverySpecificationProperty {
                                             PointInTimeRecoveryEnabled = false,
                                             RecoveryPeriodInDays = 123
                                         },
                                         ProvisionedThroughput = new ProvisionedThroughputProperty {
                                             ReadCapacityUnits = 123,
                                             WriteCapacityUnits = 123
                                         },
                                         ResourcePolicy = new ResourcePolicyProperty {
                                             PolicyDocument = policyDocument
                                         },
                                         SseSpecification = new SSESpecificationProperty {
                                             SseEnabled = false,
                        
                                             // the properties below are optional
                                             KmsMasterKeyId = "kmsMasterKeyId",
                                             SseType = "sseType"
                                         },
                                         StreamSpecification = new StreamSpecificationProperty {
                                             StreamViewType = "streamViewType",
                        
                                             // the properties below are optional
                                             ResourcePolicy = new ResourcePolicyProperty {
                                                 PolicyDocument = policyDocument
                                             }
                                         },
                                         TableClass = "tableClass",
                                         TableName = "tableName",
                                         Tags = new [] { new CfnTag {
                                             Key = "key",
                                             Value = "value"
                                         } },
                                         TimeToLiveSpecification = new TimeToLiveSpecificationProperty {
                                             Enabled = false,
                        
                                             // the properties below are optional
                                             AttributeName = "attributeName"
                                         },
                                         WarmThroughput = new WarmThroughputProperty {
                                             ReadUnitsPerSecond = 123,
                                             WriteUnitsPerSecond = 123
                                         }
                                     });

                        FromTableArn(Construct, string, string)

                        Creates a new ITableRef from an ARN.

                        public static ITableRef FromTableArn(Construct scope, string id, string arn)
                        Parameters
                        scope Construct
                        id string
                        arn string
                        Returns

                        ITableRef

                        Remarks

                        You should be aware of the following behaviors when working with DynamoDB tables:

                          Our guidance is to use the latest schema documented for your AWS CloudFormation templates. This schema supports the provisioning of all table settings below. When using this schema in your AWS CloudFormation templates, please ensure that your Identity and Access Management ( IAM ) policies are updated with appropriate permissions to allow for the authorization of these setting changes.
                          

                          See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-table.html

                          CloudformationResource: AWS::DynamoDB::Table

                          ExampleMetadata: fixture=_generated

                          FromTableName(Construct, string, string)

                          Creates a new ITableRef from a tableName.

                          public static ITableRef FromTableName(Construct scope, string id, string tableName)
                          Parameters
                          scope Construct
                          id string
                          tableName string
                          Returns

                          ITableRef

                          Remarks

                          You should be aware of the following behaviors when working with DynamoDB tables:

                            Our guidance is to use the latest schema documented for your AWS CloudFormation templates. This schema supports the provisioning of all table settings below. When using this schema in your AWS CloudFormation templates, please ensure that your Identity and Access Management ( IAM ) policies are updated with appropriate permissions to allow for the authorization of these setting changes.
                            

                            See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-table.html

                            CloudformationResource: AWS::DynamoDB::Table

                            ExampleMetadata: fixture=_generated

                            Inspect(TreeInspector)

                            Examines the CloudFormation resource and discloses attributes.

                            public virtual void Inspect(TreeInspector inspector)
                            Parameters
                            inspector TreeInspector

                            tree inspector to collect and process attributes.

                            Remarks

                            You should be aware of the following behaviors when working with DynamoDB tables:

                              Our guidance is to use the latest schema documented for your AWS CloudFormation templates. This schema supports the provisioning of all table settings below. When using this schema in your AWS CloudFormation templates, please ensure that your Identity and Access Management ( IAM ) policies are updated with appropriate permissions to allow for the authorization of these setting changes.
                              

                              See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-table.html

                              CloudformationResource: AWS::DynamoDB::Table

                              ExampleMetadata: fixture=_generated

                              RenderProperties(IDictionary<string, object>)

                              The AWS::DynamoDB::Table resource creates a DynamoDB table. For more information, see CreateTable in the Amazon DynamoDB API Reference .

                              protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
                              Parameters
                              props IDictionary<string, object>
                              Returns

                              IDictionary<string, object>

                              Overrides
                              CfnResource.RenderProperties(IDictionary<string, object>)
                              Remarks

                              You should be aware of the following behaviors when working with DynamoDB tables:

                                Our guidance is to use the latest schema documented for your AWS CloudFormation templates. This schema supports the provisioning of all table settings below. When using this schema in your AWS CloudFormation templates, please ensure that your Identity and Access Management ( IAM ) policies are updated with appropriate permissions to allow for the authorization of these setting changes.
                                

                                See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-table.html

                                CloudformationResource: AWS::DynamoDB::Table

                                ExampleMetadata: fixture=_generated

                                Implements

                                IInspectable
                                ITableRef
                                Constructs.IConstruct
                                Constructs.IDependable
                                IEnvironmentAware
                                ITaggable
                                Back to top Generated by DocFX