Interface CfnTable.ImportSourceSpecificationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTable.ImportSourceSpecificationProperty.Jsii$Proxy
- Enclosing class:
CfnTable
@Stability(Stable)
public static interface CfnTable.ImportSourceSpecificationProperty
extends software.amazon.jsii.JsiiSerializable
Specifies the properties of data being imported from the S3 bucket source to the table.
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.*;
ImportSourceSpecificationProperty importSourceSpecificationProperty = ImportSourceSpecificationProperty.builder()
.inputFormat("inputFormat")
.s3BucketSource(S3BucketSourceProperty.builder()
.s3Bucket("s3Bucket")
// the properties below are optional
.s3BucketOwner("s3BucketOwner")
.s3KeyPrefix("s3KeyPrefix")
.build())
// the properties below are optional
.inputCompressionType("inputCompressionType")
.inputFormatOptions(InputFormatOptionsProperty.builder()
.csv(CsvProperty.builder()
.delimiter("delimiter")
.headerList(List.of("headerList"))
.build())
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTable.ImportSourceSpecificationPropertystatic final classAn implementation forCfnTable.ImportSourceSpecificationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringType of compression to be used on the input coming from the imported table.The format of the source data.default ObjectAdditional properties that specify how the input is formatted,.The S3 bucket that provides the source for the import.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getInputFormat
The format of the source data.Valid values for
ImportFormatareCSV,DYNAMODB_JSONorION.- See Also:
-
getS3BucketSource
The S3 bucket that provides the source for the import.Returns union: either
IResolvableorCfnTable.S3BucketSourceProperty- See Also:
-
getInputCompressionType
Type of compression to be used on the input coming from the imported table.- See Also:
-
getInputFormatOptions
Additional properties that specify how the input is formatted,.Returns union: either
IResolvableorCfnTable.InputFormatOptionsProperty- See Also:
-
builder
-