Class InputFormat
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.dynamodb.InputFormat
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-09-11T18:01:14.302Z")
@Stability(Stable)
public abstract class InputFormat
extends software.amazon.jsii.JsiiObject
The format of the source data.
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 classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
protected
InputFormat
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
InputFormat
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionstatic InputFormat
csv()
CSV format.static InputFormat
csv
(CsvOptions options) CSV format.static InputFormat
DynamoDB JSON format.static InputFormat
ion()
Amazon Ion format.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
InputFormat
protected InputFormat(software.amazon.jsii.JsiiObjectRef objRef) -
InputFormat
protected InputFormat(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
InputFormat
@Stability(Stable) protected InputFormat()
-
-
Method Details
-
csv
CSV format.- Parameters:
options
-
-
csv
CSV format. -
dynamoDBJson
DynamoDB JSON format. -
ion
Amazon Ion format.
-