| Modifier and Type | Method and Description |
|---|---|
CfnTable.Builder |
attributeDefinitions(IResolvable attributeDefinitions)
A list of attributes that describe the key schema for the table and indexes.
|
CfnTable.Builder |
attributeDefinitions(List<? extends Object> attributeDefinitions)
A list of attributes that describe the key schema for the table and indexes.
|
CfnTable.Builder |
billingMode(String billingMode)
Specify how you are charged for read and write throughput and how you manage capacity.
|
CfnTable |
build() |
CfnTable.Builder |
contributorInsightsSpecification(CfnTable.ContributorInsightsSpecificationProperty contributorInsightsSpecification)
The settings used to enable or disable CloudWatch Contributor Insights for the specified table.
|
CfnTable.Builder |
contributorInsightsSpecification(IResolvable contributorInsightsSpecification)
The settings used to enable or disable CloudWatch Contributor Insights for the specified table.
|
static CfnTable.Builder |
create(software.constructs.Construct scope,
String id) |
CfnTable.Builder |
globalSecondaryIndexes(IResolvable globalSecondaryIndexes)
Global secondary indexes to be created on the table.
|
CfnTable.Builder |
globalSecondaryIndexes(List<? extends Object> globalSecondaryIndexes)
Global secondary indexes to be created on the table.
|
CfnTable.Builder |
keySchema(IResolvable keySchema)
Specifies the attributes that make up the primary key for the table.
|
CfnTable.Builder |
keySchema(List<? extends Object> keySchema)
Specifies the attributes that make up the primary key for the table.
|
CfnTable.Builder |
kinesisStreamSpecification(CfnTable.KinesisStreamSpecificationProperty kinesisStreamSpecification)
The Kinesis Data Streams configuration for the specified table.
|
CfnTable.Builder |
kinesisStreamSpecification(IResolvable kinesisStreamSpecification)
The Kinesis Data Streams configuration for the specified table.
|
CfnTable.Builder |
localSecondaryIndexes(IResolvable localSecondaryIndexes)
Local secondary indexes to be created on the table.
|
CfnTable.Builder |
localSecondaryIndexes(List<? extends Object> localSecondaryIndexes)
Local secondary indexes to be created on the table.
|
CfnTable.Builder |
pointInTimeRecoverySpecification(CfnTable.PointInTimeRecoverySpecificationProperty pointInTimeRecoverySpecification)
The settings used to enable point in time recovery.
|
CfnTable.Builder |
pointInTimeRecoverySpecification(IResolvable pointInTimeRecoverySpecification)
The settings used to enable point in time recovery.
|
CfnTable.Builder |
provisionedThroughput(CfnTable.ProvisionedThroughputProperty provisionedThroughput)
Throughput for the specified table, which consists of values for `ReadCapacityUnits` and `WriteCapacityUnits` .
|
CfnTable.Builder |
provisionedThroughput(IResolvable provisionedThroughput)
Throughput for the specified table, which consists of values for `ReadCapacityUnits` and `WriteCapacityUnits` .
|
CfnTable.Builder |
sseSpecification(CfnTable.SSESpecificationProperty sseSpecification)
Specifies the settings to enable server-side encryption.
|
CfnTable.Builder |
sseSpecification(IResolvable sseSpecification)
Specifies the settings to enable server-side encryption.
|
CfnTable.Builder |
streamSpecification(CfnTable.StreamSpecificationProperty streamSpecification)
The settings for the DynamoDB table stream, which capture changes to items stored in the table.
|
CfnTable.Builder |
streamSpecification(IResolvable streamSpecification)
The settings for the DynamoDB table stream, which capture changes to items stored in the table.
|
CfnTable.Builder |
tableClass(String tableClass)
The table class of the new table.
|
CfnTable.Builder |
tableName(String tableName)
A name for the table.
|
CfnTable.Builder |
tags(List<? extends CfnTag> tags)
An array of key-value pairs to apply to this resource.
|
CfnTable.Builder |
timeToLiveSpecification(CfnTable.TimeToLiveSpecificationProperty timeToLiveSpecification)
Specifies the Time to Live (TTL) settings for the table.
|
CfnTable.Builder |
timeToLiveSpecification(IResolvable timeToLiveSpecification)
Specifies the Time to Live (TTL) settings for the table.
|
@Stability(value=Stable) public static CfnTable.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnTable.AttributeDefinitionProperty.Builder.@Stability(value=Stable) public CfnTable.Builder keySchema(IResolvable keySchema)
The attributes in the KeySchema property must also be defined in the AttributeDefinitions property.
keySchema - Specifies the attributes that make up the primary key for the table. This parameter is required.this@Stability(value=Stable) public CfnTable.Builder keySchema(List<? extends Object> keySchema)
The attributes in the KeySchema property must also be defined in the AttributeDefinitions property.
keySchema - Specifies the attributes that make up the primary key for the table. This parameter is required.this@Stability(value=Stable) public CfnTable.Builder attributeDefinitions(IResolvable attributeDefinitions)
This property is required to create a DynamoDB table.
Update requires: Some interruptions . Replacement if you edit an existing AttributeDefinition.
attributeDefinitions - A list of attributes that describe the key schema for the table and indexes. This parameter is required.this@Stability(value=Stable) public CfnTable.Builder attributeDefinitions(List<? extends Object> attributeDefinitions)
This property is required to create a DynamoDB table.
Update requires: Some interruptions . Replacement if you edit an existing AttributeDefinition.
attributeDefinitions - A list of attributes that describe the key schema for the table and indexes. This parameter is required.this@Stability(value=Stable) public CfnTable.Builder billingMode(String billingMode)
Valid values include:
PROVISIONED - We recommend using PROVISIONED for predictable workloads. PROVISIONED sets the billing mode to Provisioned Mode .PAY_PER_REQUEST - We recommend using PAY_PER_REQUEST for unpredictable workloads. PAY_PER_REQUEST sets the billing mode to On-Demand Mode .
If not specified, the default is PROVISIONED .
billingMode - Specify how you are charged for read and write throughput and how you manage capacity. This parameter is required.this@Stability(value=Stable) public CfnTable.Builder contributorInsightsSpecification(CfnTable.ContributorInsightsSpecificationProperty contributorInsightsSpecification)
contributorInsightsSpecification - The settings used to enable or disable CloudWatch Contributor Insights for the specified table. This parameter is required.this@Stability(value=Stable) public CfnTable.Builder contributorInsightsSpecification(IResolvable contributorInsightsSpecification)
contributorInsightsSpecification - The settings used to enable or disable CloudWatch Contributor Insights for the specified table. This parameter is required.this@Stability(value=Stable) public CfnTable.Builder globalSecondaryIndexes(IResolvable globalSecondaryIndexes)
If you update a table to include a new global secondary index, AWS CloudFormation initiates the index creation and then proceeds with the stack update. AWS CloudFormation doesn't wait for the index to complete creation because the backfilling phase can take a long time, depending on the size of the table. You can't use the index or update the table until the index's status is
ACTIVE. You can track its status by using the DynamoDB DescribeTable command.If you add or delete an index 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 index, you must manually delete the index.
Updates are not supported. The following are exceptions:
- If you update either the contributor insights specification or the provisioned throughput values of global secondary indexes, you can update the table without interruption.
- You can delete or add one global secondary index without interruption. If you do both in the same update (for example, by changing the index's logical ID), the update fails.
globalSecondaryIndexes - Global secondary indexes to be created on the table. You can create up to 20 global secondary indexes. This parameter is required.this@Stability(value=Stable) public CfnTable.Builder globalSecondaryIndexes(List<? extends Object> globalSecondaryIndexes)
If you update a table to include a new global secondary index, AWS CloudFormation initiates the index creation and then proceeds with the stack update. AWS CloudFormation doesn't wait for the index to complete creation because the backfilling phase can take a long time, depending on the size of the table. You can't use the index or update the table until the index's status is
ACTIVE. You can track its status by using the DynamoDB DescribeTable command.If you add or delete an index 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 index, you must manually delete the index.
Updates are not supported. The following are exceptions:
- If you update either the contributor insights specification or the provisioned throughput values of global secondary indexes, you can update the table without interruption.
- You can delete or add one global secondary index without interruption. If you do both in the same update (for example, by changing the index's logical ID), the update fails.
globalSecondaryIndexes - Global secondary indexes to be created on the table. You can create up to 20 global secondary indexes. This parameter is required.this@Stability(value=Stable) public CfnTable.Builder kinesisStreamSpecification(CfnTable.KinesisStreamSpecificationProperty kinesisStreamSpecification)
kinesisStreamSpecification - The Kinesis Data Streams configuration for the specified table. This parameter is required.this@Stability(value=Stable) public CfnTable.Builder kinesisStreamSpecification(IResolvable kinesisStreamSpecification)
kinesisStreamSpecification - The Kinesis Data Streams configuration for the specified table. This parameter is required.this@Stability(value=Stable) public CfnTable.Builder localSecondaryIndexes(IResolvable localSecondaryIndexes)
You can create up to 5 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.
localSecondaryIndexes - Local secondary indexes to be created on the table. This parameter is required.this@Stability(value=Stable) public CfnTable.Builder localSecondaryIndexes(List<? extends Object> localSecondaryIndexes)
You can create up to 5 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.
localSecondaryIndexes - Local secondary indexes to be created on the table. This parameter is required.this@Stability(value=Stable) public CfnTable.Builder pointInTimeRecoverySpecification(CfnTable.PointInTimeRecoverySpecificationProperty pointInTimeRecoverySpecification)
pointInTimeRecoverySpecification - The settings used to enable point in time recovery. This parameter is required.this@Stability(value=Stable) public CfnTable.Builder pointInTimeRecoverySpecification(IResolvable pointInTimeRecoverySpecification)
pointInTimeRecoverySpecification - The settings used to enable point in time recovery. This parameter is required.this@Stability(value=Stable) public CfnTable.Builder provisionedThroughput(CfnTable.ProvisionedThroughputProperty provisionedThroughput)
For more information about the contents of a provisioned throughput structure, see Amazon DynamoDB Table ProvisionedThroughput .
If you set BillingMode as PROVISIONED , you must specify this property. If you set BillingMode as PAY_PER_REQUEST , you cannot specify this property.
provisionedThroughput - Throughput for the specified table, which consists of values for `ReadCapacityUnits` and `WriteCapacityUnits` . This parameter is required.this@Stability(value=Stable) public CfnTable.Builder provisionedThroughput(IResolvable provisionedThroughput)
For more information about the contents of a provisioned throughput structure, see Amazon DynamoDB Table ProvisionedThroughput .
If you set BillingMode as PROVISIONED , you must specify this property. If you set BillingMode as PAY_PER_REQUEST , you cannot specify this property.
provisionedThroughput - Throughput for the specified table, which consists of values for `ReadCapacityUnits` and `WriteCapacityUnits` . This parameter is required.this@Stability(value=Stable) public CfnTable.Builder sseSpecification(CfnTable.SSESpecificationProperty sseSpecification)
sseSpecification - Specifies the settings to enable server-side encryption. This parameter is required.this@Stability(value=Stable) public CfnTable.Builder sseSpecification(IResolvable sseSpecification)
sseSpecification - Specifies the settings to enable server-side encryption. This parameter is required.this@Stability(value=Stable) public CfnTable.Builder streamSpecification(CfnTable.StreamSpecificationProperty streamSpecification)
streamSpecification - The settings for the DynamoDB table stream, which capture changes to items stored in the table. This parameter is required.this@Stability(value=Stable) public CfnTable.Builder streamSpecification(IResolvable streamSpecification)
streamSpecification - The settings for the DynamoDB table stream, which capture changes to items stored in the table. This parameter is required.this@Stability(value=Stable) public CfnTable.Builder tableClass(String tableClass)
Valid values are STANDARD and STANDARD_INFREQUENT_ACCESS .
tableClass - The table class of the new table. This parameter is required.this@Stability(value=Stable) public CfnTable.Builder tableName(String tableName)
If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the table name. For more information, see Name Type .
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.
tableName - A name for the table. This parameter is required.this@Stability(value=Stable) public CfnTable.Builder tags(List<? extends CfnTag> tags)
For more information, see Tag .
tags - An array of key-value pairs to apply to this resource. This parameter is required.this@Stability(value=Stable) public CfnTable.Builder timeToLiveSpecification(CfnTable.TimeToLiveSpecificationProperty timeToLiveSpecification)
For detailed information about the limits in DynamoDB, see Limits in Amazon DynamoDB in the Amazon DynamoDB Developer Guide.
timeToLiveSpecification - Specifies the Time to Live (TTL) settings for the table. This parameter is required.this@Stability(value=Stable) public CfnTable.Builder timeToLiveSpecification(IResolvable timeToLiveSpecification)
For detailed information about the limits in DynamoDB, see Limits in Amazon DynamoDB in the Amazon DynamoDB Developer Guide.
timeToLiveSpecification - Specifies the Time to Live (TTL) settings for the table. This parameter is required.thisCopyright © 2022. All rights reserved.