Interface TableAttributesV2
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
TableAttributesV2.Jsii$Proxy
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.dynamodb.*; import software.amazon.awscdk.services.kms.*; Key key; TableAttributesV2 tableAttributesV2 = TableAttributesV2.builder() .encryptionKey(key) .globalIndexes(List.of("globalIndexes")) .grantIndexPermissions(false) .localIndexes(List.of("localIndexes")) .tableArn("tableArn") .tableId("tableId") .tableName("tableName") .tableStreamArn("tableStreamArn") .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forTableAttributesV2
static final class
An implementation forTableAttributesV2
-
Method Summary
Modifier and TypeMethodDescriptionstatic TableAttributesV2.Builder
builder()
default IKey
KMS encryption key for the table.The name of the global indexes set for the table.default Boolean
Whether or not to grant permissions for all indexes of the table.The name of the local indexes set for the table.default String
The ARN of the table.default String
The ID of the table.default String
The name of the table.default String
The stream ARN of the table.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEncryptionKey
KMS encryption key for the table.Default: - no KMS encryption key
-
getGlobalIndexes
The name of the global indexes set for the table.Note: You must set either this property or
localIndexes
if you want permissions to be granted for indexes as well as the table itself.Default: - no global indexes
-
getGrantIndexPermissions
Whether or not to grant permissions for all indexes of the table.Note: If false, permissions will only be granted to indexes when
globalIndexes
orlocalIndexes
is specified.Default: false
-
getLocalIndexes
The name of the local indexes set for the table.Note: You must set either this property or
globalIndexes
if you want permissions to be granted for indexes as well as the table itself.Default: - no local indexes
-
getTableArn
The ARN of the table.Note: You must specify this or the
tableName
.Default: - table arn generated using `tableName` and region of stack
-
getTableId
The ID of the table.Default: - no table id
-
getTableName
The name of the table.Note: You must specify this or the
tableArn
.Default: - table name retrieved from provided `tableArn`
-
getTableStreamArn
The stream ARN of the table.Default: - no table stream ARN
-
builder
- Returns:
- a
TableAttributesV2.Builder
ofTableAttributesV2
-