Class CfnTableProps.Jsii$Proxy
- All Implemented Interfaces:
CfnTableProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnTableProps
CfnTableProps-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.dynamodb.CfnTableProps
CfnTableProps.Builder, CfnTableProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(CfnTableProps.Builder builder) Constructor that initializes the object based on literal property values passed by theCfnTableProps.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal ObjectA list of attributes that describe the key schema for the table and indexes.final StringSpecify how you are charged for read and write throughput and how you manage capacity.final ObjectThe settings used to specify whether to enable CloudWatch Contributor Insights for the table and define which events to monitor.final ObjectDetermines if a table is protected from deletion.final ObjectGlobal secondary indexes to be created on the table.final ObjectSpecifies the properties of data being imported from the S3 bucket source to the" table.final ObjectSpecifies the attributes that make up the primary key for the table.final ObjectThe Kinesis Data Streams configuration for the specified table.final ObjectLocal secondary indexes to be created on the table.final ObjectSets the maximum number of read and write units for the specified on-demand table.final ObjectThe settings used to enable point in time recovery.final ObjectThroughput for the specified table, which consists of values forReadCapacityUnitsandWriteCapacityUnits.final ObjectAn AWS resource-based policy document in JSON format that will be attached to the table.final ObjectSpecifies the settings to enable server-side encryption.final ObjectThe settings for the DynamoDB table stream, which captures changes to items stored in the table.final StringThe table class of the new table.final StringA name for the table.getTags()An array of key-value pairs to apply to this resource.final ObjectSpecifies the Time to Live (TTL) settings for the table.final ObjectRepresents the warm throughput (in read units per second and write units per second) for creating a table.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnTableProps.Builder.
-
-
Method Details
-
getKeySchema
Description copied from interface:CfnTablePropsSpecifies the attributes that make up the primary key for the table.The attributes in the
KeySchemaproperty must also be defined in theAttributeDefinitionsproperty.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnTable.KeySchemaProperty>- Specified by:
getKeySchemain interfaceCfnTableProps- See Also:
-
getAttributeDefinitions
Description copied from interface:CfnTablePropsA list of attributes that describe the key schema for the table and indexes.This property is required to create a DynamoDB table.
Update requires: Some interruptions . Replacement if you edit an existing AttributeDefinition.
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnTable.AttributeDefinitionProperty>- Specified by:
getAttributeDefinitionsin interfaceCfnTableProps- See Also:
-
getBillingMode
Description copied from interface:CfnTablePropsSpecify how you are charged for read and write throughput and how you manage capacity.Valid values include:
PAY_PER_REQUEST- We recommend usingPAY_PER_REQUESTfor most DynamoDB workloads.PAY_PER_REQUESTsets the billing mode to On-demand capacity mode .PROVISIONED- We recommend usingPROVISIONEDfor steady workloads with predictable growth where capacity requirements can be reliably forecasted.PROVISIONEDsets the billing mode to Provisioned capacity mode .
If not specified, the default is
PROVISIONED.- Specified by:
getBillingModein interfaceCfnTableProps- See Also:
-
getContributorInsightsSpecification
Description copied from interface:CfnTablePropsThe settings used to specify whether to enable CloudWatch Contributor Insights for the table and define which events to monitor.Returns union: either
IResolvableorCfnTable.ContributorInsightsSpecificationProperty- Specified by:
getContributorInsightsSpecificationin interfaceCfnTableProps- See Also:
-
getDeletionProtectionEnabled
Description copied from interface:CfnTablePropsDetermines if a table is protected from deletion.When enabled, the table cannot be deleted by any user or process. This setting is disabled by default. For more information, see Using deletion protection in the Amazon DynamoDB Developer Guide .
Returns union: either
BooleanorIResolvable- Specified by:
getDeletionProtectionEnabledin interfaceCfnTableProps- See Also:
-
getGlobalSecondaryIndexes
Description copied from interface:CfnTablePropsGlobal secondary indexes to be created on the table. You can create up to 20 global secondary indexes.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.
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnTable.GlobalSecondaryIndexProperty>- Specified by:
getGlobalSecondaryIndexesin interfaceCfnTableProps- See Also:
-
getImportSourceSpecification
Description copied from interface:CfnTablePropsSpecifies the properties of data being imported from the S3 bucket source to the" table.If you specify the
ImportSourceSpecificationproperty, and also specify either theStreamSpecification, theTableClassproperty, theDeletionProtectionEnabledproperty, or theWarmThroughputproperty, the IAM entity creating/updating stack must haveUpdateTablepermission.Returns union: either
IResolvableorCfnTable.ImportSourceSpecificationProperty- Specified by:
getImportSourceSpecificationin interfaceCfnTableProps- See Also:
-
getKinesisStreamSpecification
Description copied from interface:CfnTablePropsThe Kinesis Data Streams configuration for the specified table.Returns union: either
IResolvableorCfnTable.KinesisStreamSpecificationProperty- Specified by:
getKinesisStreamSpecificationin interfaceCfnTableProps- See Also:
-
getLocalSecondaryIndexes
Description copied from interface:CfnTablePropsLocal secondary indexes to be created on the table.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.
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnTable.LocalSecondaryIndexProperty>- Specified by:
getLocalSecondaryIndexesin interfaceCfnTableProps- See Also:
-
getOnDemandThroughput
Description copied from interface:CfnTablePropsSets the maximum number of read and write units for the specified on-demand table.If you use this property, you must specify
MaxReadRequestUnits,MaxWriteRequestUnits, or both.Returns union: either
IResolvableorCfnTable.OnDemandThroughputProperty- Specified by:
getOnDemandThroughputin interfaceCfnTableProps- See Also:
-
getPointInTimeRecoverySpecification
Description copied from interface:CfnTablePropsThe settings used to enable point in time recovery.Returns union: either
IResolvableorCfnTable.PointInTimeRecoverySpecificationProperty- Specified by:
getPointInTimeRecoverySpecificationin interfaceCfnTableProps- See Also:
-
getProvisionedThroughput
Description copied from interface:CfnTablePropsThroughput for the specified table, which consists of values forReadCapacityUnitsandWriteCapacityUnits.For more information about the contents of a provisioned throughput structure, see Amazon DynamoDB Table ProvisionedThroughput .
If you set
BillingModeasPROVISIONED, you must specify this property. If you setBillingModeasPAY_PER_REQUEST, you cannot specify this property.Returns union: either
IResolvableorCfnTable.ProvisionedThroughputProperty- Specified by:
getProvisionedThroughputin interfaceCfnTableProps- See Also:
-
getResourcePolicy
Description copied from interface:CfnTablePropsAn AWS resource-based policy document in JSON format that will be attached to the table.When you attach a resource-based policy while creating a table, the policy application is strongly consistent .
The maximum size supported for a resource-based policy document is 20 KB. DynamoDB counts whitespaces when calculating the size of a policy against this limit. For a full list of all considerations that apply for resource-based policies, see Resource-based policy considerations .
You need to specify the
CreateTableandPutResourcePolicyIAM actions for authorizing a user to create a table with a resource-based policy.Returns union: either
IResolvableorCfnTable.ResourcePolicyProperty- Specified by:
getResourcePolicyin interfaceCfnTableProps- See Also:
-
getSseSpecification
Description copied from interface:CfnTablePropsSpecifies the settings to enable server-side encryption.Returns union: either
IResolvableorCfnTable.SSESpecificationProperty- Specified by:
getSseSpecificationin interfaceCfnTableProps- See Also:
-
getStreamSpecification
Description copied from interface:CfnTablePropsThe settings for the DynamoDB table stream, which captures changes to items stored in the table.Including this property in your AWS CloudFormation template automatically enables streaming.
Returns union: either
IResolvableorCfnTable.StreamSpecificationProperty- Specified by:
getStreamSpecificationin interfaceCfnTableProps- See Also:
-
getTableClass
Description copied from interface:CfnTablePropsThe table class of the new table.Valid values are
STANDARDandSTANDARD_INFREQUENT_ACCESS.- Specified by:
getTableClassin interfaceCfnTableProps- See Also:
-
getTableName
Description copied from interface:CfnTablePropsA name for the table.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.
- Specified by:
getTableNamein interfaceCfnTableProps- See Also:
-
getTags
Description copied from interface:CfnTablePropsAn array of key-value pairs to apply to this resource.For more information, see Tag .
- Specified by:
getTagsin interfaceCfnTableProps- See Also:
-
getTimeToLiveSpecification
Description copied from interface:CfnTablePropsSpecifies the Time to Live (TTL) settings for the table.For detailed information about the limits in DynamoDB, see Limits in Amazon DynamoDB in the Amazon DynamoDB Developer Guide.
Returns union: either
IResolvableorCfnTable.TimeToLiveSpecificationProperty- Specified by:
getTimeToLiveSpecificationin interfaceCfnTableProps- See Also:
-
getWarmThroughput
Description copied from interface:CfnTablePropsRepresents the warm throughput (in read units per second and write units per second) for creating a table.Returns union: either
IResolvableorCfnTable.WarmThroughputProperty- Specified by:
getWarmThroughputin interfaceCfnTableProps- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-