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 Boolean(deprecated) Whether CloudWatch contributor insights is enabled.Whether CloudWatch contributor insights is enabled and what mode is selected.final BooleanEnables deletion protection for the table.final TableEncryptionWhether server-side encryption with an AWS managed customer master key is enabled.final IKeyExternal KMS key to use for table encryption.The properties of data being imported from the S3 bucket source to the table.Kinesis Data Stream approximate creation timestamp precision.final IStreamKinesis Data Stream to capture item-level changes for the table.final NumberThe maximum read request units for the table.final NumberThe write request units for the table.final AttributePartition key attribute definition.final Boolean(deprecated) Whether point-in-time recovery is enabled.Whether point-in-time recovery is enabled and recoveryPeriodInDays is set.final NumberThe read capacity for the table.final RemovalPolicyThe removal policy to apply to the DynamoDB Table.final RemovalPolicyThe removal policy to apply to the DynamoDB replica tables.Regions where replica tables will be created.final DurationThe timeout for a table replication operation in a single region.final PolicyDocumentResource policy to assign to table.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 Boolean[WARNING: Use this flag with caution, misusing this flag may cause deleting existing replicas, refer to the detailed documentation for more information] Indicates whether CloudFormation stack waits for replication to finish.final WarmThroughputSpecify values to pre-warm you DynamoDB Table Warm Throughput feature is not available for Global Table replicas using theTableconstruct.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
-
getKinesisPrecisionTimestamp
Description copied from interface:TablePropsKinesis Data Stream approximate creation timestamp precision.Default: ApproximateCreationDateTimePrecision.MICROSECOND
- Specified by:
getKinesisPrecisionTimestampin interfaceTableProps
-
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:TableOptions(deprecated) Whether CloudWatch contributor insights is enabled.Default: false
- Specified by:
getContributorInsightsEnabledin interfaceTableOptions
-
getContributorInsightsSpecification
Description copied from interface:TableOptionsWhether CloudWatch contributor insights is enabled and what mode is selected.Default: - contributor insights is not enabled
- Specified by:
getContributorInsightsSpecificationin interfaceTableOptions
-
getDeletionProtection
Description copied from interface:TableOptionsEnables deletion protection for the table.Default: false
- Specified by:
getDeletionProtectionin 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: - The table is encrypted with an encryption key managed by DynamoDB, and you are not charged any fee for using it.
- 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. If `encryption` and this property are both undefined, then the table is encrypted with an encryption key managed by DynamoDB, and you are not charged any fee for using it.
- Specified by:
getEncryptionKeyin interfaceTableOptions
-
getImportSource
Description copied from interface:TableOptionsThe properties of data being imported from the S3 bucket source to the table.Default: - no data import from the S3 bucket
- Specified by:
getImportSourcein interfaceTableOptions
-
getMaxReadRequestUnits
Description copied from interface:TableOptionsThe maximum read request units for the table.Careful if you add Global Secondary Indexes, as those will share the table's maximum on-demand throughput.
Can only be provided if billingMode is PAY_PER_REQUEST.
Default: - on-demand throughput is disabled
- Specified by:
getMaxReadRequestUnitsin interfaceTableOptions
-
getMaxWriteRequestUnits
Description copied from interface:TableOptionsThe write request units for the table.Careful if you add Global Secondary Indexes, as those will share the table's maximum on-demand throughput.
Can only be provided if billingMode is PAY_PER_REQUEST.
Default: - on-demand throughput is disabled
- Specified by:
getMaxWriteRequestUnitsin interfaceTableOptions
-
getPointInTimeRecovery
Description copied from interface:TableOptions(deprecated) Whether point-in-time recovery is enabled.Default: false - point in time recovery is not enabled.
- Specified by:
getPointInTimeRecoveryin interfaceTableOptions
-
getPointInTimeRecoverySpecification
Description copied from interface:TableOptionsWhether point-in-time recovery is enabled and recoveryPeriodInDays is set.Default: - point in time recovery is not enabled.
- Specified by:
getPointInTimeRecoverySpecificationin 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
-
getReplicaRemovalPolicy
Description copied from interface:TableOptionsThe removal policy to apply to the DynamoDB replica tables.Default: undefined - use DynamoDB Table's removal policy
- Specified by:
getReplicaRemovalPolicyin 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
-
getResourcePolicy
Description copied from interface:TableOptionsResource policy to assign to table.Default: - No resource policy statement
- Specified by:
getResourcePolicyin interfaceTableOptions- See Also:
-
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:TableOptions[WARNING: Use this flag with caution, misusing this flag may cause deleting existing replicas, refer to the detailed documentation for more information] Indicates 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.
WARNING: 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.
If the custom resource which handles replication has a physical resource ID with the format
regioninstead oftablename-region(this would happen if the custom resource hasn't received an event since v1.91.0), DO NOT SET this property to false without making a change to the table name. This will cause the existing replicas to be deleted.Default: true
- Specified by:
getWaitForReplicationToFinishin interfaceTableOptions- See Also:
-
getWarmThroughput
Description copied from interface:TableOptionsSpecify values to pre-warm you DynamoDB Table Warm Throughput feature is not available for Global Table replicas using theTableconstruct.To enable Warm Throughput, use the
TableV2construct instead.Default: - warm throughput is not configured
- Specified by:
getWarmThroughputin interfaceTableOptions- See Also:
-
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()
-