Class CfnGlobalTableProps.Jsii$Proxy
- All Implemented Interfaces:
CfnGlobalTableProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- CfnGlobalTableProps
CfnGlobalTableProps-
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.CfnGlobalTableProps
CfnGlobalTableProps.Builder, CfnGlobalTableProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(CfnGlobalTableProps.Builder builder) Constructor that initializes the object based on literal property values passed by theCfnGlobalTableProps.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 global table and indexes.final StringSpecifies how you are charged for read and write throughput and how you manage capacity.final ObjectGlobal secondary indexes to be created on the global table.final ObjectSpecifies the attributes that make up the primary key for the table.final ObjectLocal secondary indexes to be created on the table.final ObjectSpecifies the list of replicas for your global table.final ObjectSpecifies the settings to enable server-side encryption.final ObjectSpecifies the streams settings on your global table.final StringA name for the global table.final ObjectSpecifies the time to live (TTL) settings for the table.final ObjectSpecifies an auto scaling policy for write capacity.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 theCfnGlobalTableProps.Builder.
-
-
Method Details
-
getAttributeDefinitions
Description copied from interface:CfnGlobalTablePropsA list of attributes that describe the key schema for the global table and indexes.- Specified by:
getAttributeDefinitionsin interfaceCfnGlobalTableProps
-
getKeySchema
Description copied from interface:CfnGlobalTablePropsSpecifies the attributes that make up the primary key for the table.The attributes in the
KeySchemaproperty must also be defined in theAttributeDefinitionsproperty.- Specified by:
getKeySchemain interfaceCfnGlobalTableProps
-
getReplicas
Description copied from interface:CfnGlobalTablePropsSpecifies the list of replicas for your global table.The list must contain at least one element, the region where the stack defining the global table is deployed. For example, if you define your table in a stack deployed to us-east-1, you must have an entry in
Replicaswith the region us-east-1. You cannot remove the replica in the stack region.Adding a replica might take a few minutes for an empty table, or up to several hours for large tables. If you want to add or remove a replica, we recommend submitting an
UpdateStackoperation containing only that change.If you add or delete a replica 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 replica, you might need to manually delete the replica.
You can create a new global table with as many replicas as needed. You can add or remove replicas after table creation, but you can only add or remove a single replica in each update.
- Specified by:
getReplicasin interfaceCfnGlobalTableProps
-
getBillingMode
Description copied from interface:CfnGlobalTablePropsSpecifies how you are charged for read and write throughput and how you manage capacity. Valid values are:.PAY_PER_REQUESTPROVISIONED
All replicas in your global table will have the same billing mode. If you use
PROVISIONEDbilling mode, you must provide an auto scaling configuration via theWriteProvisionedThroughputSettingsproperty. The default value of this property isPROVISIONED.- Specified by:
getBillingModein interfaceCfnGlobalTableProps
-
getGlobalSecondaryIndexes
Description copied from interface:CfnGlobalTablePropsGlobal secondary indexes to be created on the global table.You can create up to 20 global secondary indexes. Each replica in your global table will have the same global secondary index settings. You can only create or delete one global secondary index in a single stack operation.
Since the backfilling of an index could take a long time, CloudFormation does not wait for the index to become active. If a stack operation rolls back, CloudFormation might not delete an index that has been added. In that case, you will need to delete the index manually.
- Specified by:
getGlobalSecondaryIndexesin interfaceCfnGlobalTableProps
-
getLocalSecondaryIndexes
Description copied from interface:CfnGlobalTablePropsLocal secondary indexes to be created on the table.You can create up to five 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. Each replica in your global table will have the same local secondary index settings.
- Specified by:
getLocalSecondaryIndexesin interfaceCfnGlobalTableProps
-
getSseSpecification
Description copied from interface:CfnGlobalTablePropsSpecifies the settings to enable server-side encryption.These settings will be applied to all replicas. If you plan to use customer-managed KMS keys, you must provide a key for each replica using the
ReplicaSpecification.ReplicaSSESpecificationproperty.- Specified by:
getSseSpecificationin interfaceCfnGlobalTableProps
-
getStreamSpecification
Description copied from interface:CfnGlobalTablePropsSpecifies the streams settings on your global table.You must provide a value for this property if your global table contains more than one replica. You can only change the streams settings if your global table has only one replica.
- Specified by:
getStreamSpecificationin interfaceCfnGlobalTableProps
-
getTableName
Description copied from interface:CfnGlobalTablePropsA name for the global table.If you don't specify a name, AWS CloudFormation generates a unique ID and uses that ID as 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 interfaceCfnGlobalTableProps
-
getTimeToLiveSpecification
Description copied from interface:CfnGlobalTablePropsSpecifies the time to live (TTL) settings for the table.This setting will be applied to all replicas.
- Specified by:
getTimeToLiveSpecificationin interfaceCfnGlobalTableProps
-
getWriteProvisionedThroughputSettings
Description copied from interface:CfnGlobalTablePropsSpecifies an auto scaling policy for write capacity.This policy will be applied to all replicas. This setting must be specified if
BillingModeis set toPROVISIONED.- Specified by:
getWriteProvisionedThroughputSettingsin interfaceCfnGlobalTableProps
-
$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()
-