Interface ImportSourceSpecification
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ImportSourceSpecification.Jsii$Proxy
@Generated(value="jsii-pacmak/1.121.0 (build d7af9b9)",
date="2025-12-18T18:20:08.532Z")
@Stability(Stable)
public interface ImportSourceSpecification
extends software.amazon.jsii.JsiiSerializable
Properties for importing data from the S3.
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.dynamoDBJson())
.bucket(bucket)
.keyPrefix("prefix")
.build())
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forImportSourceSpecificationstatic final classAn implementation forImportSourceSpecification -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The S3 bucket that is being imported from.default StringThe account number of the S3 bucket that is being imported from.default InputCompressionTypeThe compression type of the imported data.The format of the imported data.default StringThe key prefix shared by all S3 Objects that are being imported.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getBucket
The S3 bucket that is being imported from. -
getInputFormat
The format of the imported data. -
getBucketOwner
The account number of the S3 bucket that is being imported from.Default: - no value
-
getCompressionType
The compression type of the imported data.Default: InputCompressionType.NONE
-
getKeyPrefix
The key prefix shared by all S3 Objects that are being imported.Default: - no value
-
builder
- Returns:
- a
ImportSourceSpecification.BuilderofImportSourceSpecification
-