Interface ImportSourceSpecification
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ImportSourceSpecification.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-22T02:24:00.043Z")
@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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forImportSourceSpecification
static final class
An implementation forImportSourceSpecification
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
The S3 bucket that is being imported from.default String
The account number of the S3 bucket that is being imported from.default InputCompressionType
The compression type of the imported data.The format of the imported data.default String
The 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.Builder
ofImportSourceSpecification
-