Interface TableProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable,SchemaOptions,TableOptions
- All Known Implementing Classes:
TableProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.94.0 (build b380f01)",
date="2024-03-14T22:21:52.869Z")
@Stability(Stable)
public interface TableProps
extends software.amazon.jsii.JsiiSerializable, TableOptions
Properties for a DynamoDB Table.
Example:
import software.amazon.awscdk.*;
import software.amazon.awscdk.services.s3.*;
IBucket bucket;
App app = new App();
Stack stack = new Stack(app, "Stack");
Table.Builder.create(stack, "Table")
.partitionKey(Attribute.builder()
.name("id")
.type(AttributeType.STRING)
.build())
.importSource(ImportSourceSpecification.builder()
.compressionType(InputCompressionType.GZIP)
.inputFormat(InputFormat.csv(CsvOptions.builder()
.delimiter(",")
.headerList(List.of("id", "name"))
.build()))
.bucket(bucket)
.keyPrefix("prefix")
.build())
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forTablePropsstatic final classAn implementation forTableProps -
Method Summary
Modifier and TypeMethodDescriptionstatic TableProps.Builderbuilder()default IStreamKinesis Data Stream to capture item-level changes for the table.default StringEnforces a particular physical table name.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJsonMethods inherited from interface software.amazon.awscdk.services.dynamodb.SchemaOptions
getPartitionKey, getSortKeyMethods inherited from interface software.amazon.awscdk.services.dynamodb.TableOptions
getBillingMode, getContributorInsightsEnabled, getDeletionProtection, getEncryption, getEncryptionKey, getImportSource, getPointInTimeRecovery, getReadCapacity, getRemovalPolicy, getReplicationRegions, getReplicationTimeout, getStream, getTableClass, getTimeToLiveAttribute, getWaitForReplicationToFinish, getWriteCapacity
-
Method Details
-
getKinesisStream
Kinesis Data Stream to capture item-level changes for the table.Default: - no Kinesis Data Stream
-
getTableName
Enforces a particular physical table name.Default:
-
builder
- Returns:
- a
TableProps.BuilderofTableProps
-