Class TableProps.Jsii$Proxy
- All Implemented Interfaces:
SchemaOptions,TableOptions,TableProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- TableProps
TableProps-
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.TableProps
TableProps.Builder, TableProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(TableProps.Builder builder) Constructor that initializes the object based on literal property values passed by theTableProps.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 BillingModeSpecify how you are charged for read and write throughput and how you manage capacity.final BooleanWhether CloudWatch contributor insights is enabled.final TableEncryptionWhether server-side encryption with an AWS managed customer master key is enabled.final IKeyExternal KMS key to use for table encryption.final IStreamKinesis Data Stream to capture item-level changes for the table.final AttributePartition key attribute definition.final BooleanWhether point-in-time recovery is enabled.final NumberThe read capacity for the table.final RemovalPolicyThe removal policy to apply to the DynamoDB Table.Regions where replica tables will be created.final DurationThe timeout for a table replication operation in a single region.final Boolean(deprecated) Whether server-side encryption with an AWS managed customer master key is enabled.final AttributeSort key attribute definition.final StreamViewTypeWhen an item in the table is modified, StreamViewType determines what information is written to the stream for this table.final TableClassSpecify the table class.final StringEnforces a particular physical table name.final StringThe name of TTL attribute.final BooleanIndicates whether CloudFormation stack waits for replication to finish.final NumberThe write capacity for the 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 theTableProps.Builder.
-
-
Method Details
-
getKinesisStream
Description copied from interface:TablePropsKinesis Data Stream to capture item-level changes for the table.Default: - no Kinesis Data Stream
- Specified by:
getKinesisStreamin interfaceTableProps
-
getTableName
Description copied from interface:TablePropsEnforces a particular physical table name.Default:
- Specified by:
getTableNamein interfaceTableProps
-
getBillingMode
Description copied from interface:TableOptionsSpecify how you are charged for read and write throughput and how you manage capacity.Default: PROVISIONED if `replicationRegions` is not specified, PAY_PER_REQUEST otherwise
- Specified by:
getBillingModein interfaceTableOptions
-
getContributorInsightsEnabled
Description copied from interface:TableOptionsWhether CloudWatch contributor insights is enabled.Default: false
- Specified by:
getContributorInsightsEnabledin interfaceTableOptions
-
getEncryption
Description copied from interface:TableOptionsWhether server-side encryption with an AWS managed customer master key is enabled.This property cannot be set if
serverSideEncryptionis set.NOTE: if you set this to
CUSTOMER_MANAGEDandencryptionKeyis not specified, the key that the Tablet generates for you will be created with default permissions. If you are using CDKv2, these permissions will be sufficient to enable the key for use with DynamoDB tables. If you are using CDKv1, make sure the feature flag@aws-cdk/aws-kms:defaultKeyPoliciesis set totruein yourcdk.json.Default: - server-side encryption is enabled with an AWS owned customer master key
- Specified by:
getEncryptionin interfaceTableOptions
-
getEncryptionKey
Description copied from interface:TableOptionsExternal KMS key to use for table encryption.This property can only be set if
encryptionis set toTableEncryption.CUSTOMER_MANAGED.Default: - If `encryption` is set to `TableEncryption.CUSTOMER_MANAGED` and this property is undefined, a new KMS key will be created and associated with this table.
- Specified by:
getEncryptionKeyin interfaceTableOptions
-
getPointInTimeRecovery
Description copied from interface:TableOptionsWhether point-in-time recovery is enabled.Default: - point-in-time recovery is disabled
- Specified by:
getPointInTimeRecoveryin interfaceTableOptions
-
getReadCapacity
Description copied from interface:TableOptionsThe read capacity for the table.Careful if you add Global Secondary Indexes, as those will share the table's provisioned throughput.
Can only be provided if billingMode is Provisioned.
Default: 5
- Specified by:
getReadCapacityin interfaceTableOptions
-
getRemovalPolicy
Description copied from interface:TableOptionsThe removal policy to apply to the DynamoDB Table.Default: RemovalPolicy.RETAIN
- Specified by:
getRemovalPolicyin interfaceTableOptions
-
getReplicationRegions
Description copied from interface:TableOptionsRegions where replica tables will be created.Default: - no replica tables are created
- Specified by:
getReplicationRegionsin interfaceTableOptions
-
getReplicationTimeout
Description copied from interface:TableOptionsThe timeout for a table replication operation in a single region.Default: Duration.minutes(30)
- Specified by:
getReplicationTimeoutin interfaceTableOptions
-
getServerSideEncryption
Description copied from interface:TableOptions(deprecated) Whether server-side encryption with an AWS managed customer master key is enabled.This property cannot be set if
encryptionand/orencryptionKeyis set.Default: - server-side encryption is enabled with an AWS owned customer master key
- Specified by:
getServerSideEncryptionin interfaceTableOptions
-
getStream
Description copied from interface:TableOptionsWhen an item in the table is modified, StreamViewType determines what information is written to the stream for this table.Default: - streams are disabled unless `replicationRegions` is specified
- Specified by:
getStreamin interfaceTableOptions
-
getTableClass
Description copied from interface:TableOptionsSpecify the table class.Default: STANDARD
- Specified by:
getTableClassin interfaceTableOptions
-
getTimeToLiveAttribute
Description copied from interface:TableOptionsThe name of TTL attribute.Default: - TTL is disabled
- Specified by:
getTimeToLiveAttributein interfaceTableOptions
-
getWaitForReplicationToFinish
Description copied from interface:TableOptionsIndicates whether CloudFormation stack waits for replication to finish.If set to false, the CloudFormation resource will mark the resource as created and replication will be completed asynchronously. This property is ignored if replicationRegions property is not set.
DO NOT UNSET this property if adding/removing multiple replicationRegions in one deployment, as CloudFormation only supports one region replication at a time. CDK overcomes this limitation by waiting for replication to finish before starting new replicationRegion.
Default: true
-
getWriteCapacity
Description copied from interface:TableOptionsThe write capacity for the table.Careful if you add Global Secondary Indexes, as those will share the table's provisioned throughput.
Can only be provided if billingMode is Provisioned.
Default: 5
- Specified by:
getWriteCapacityin interfaceTableOptions
-
getPartitionKey
Description copied from interface:SchemaOptionsPartition key attribute definition.- Specified by:
getPartitionKeyin interfaceSchemaOptions
-
getSortKey
Description copied from interface:SchemaOptionsSort key attribute definition.Default: no sort key
- Specified by:
getSortKeyin interfaceSchemaOptions
-
$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()
-