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

    Constructors
    Modifier
    Constructor
    Description
    protected
     
    protected
    InputFormat(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
     
    protected
    InputFormat(software.amazon.jsii.JsiiObjectRef objRef)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    csv()
    CSV format.
    csv(CsvOptions options)
    CSV format.
    DynamoDB JSON format.
    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

      @Stability(Stable) @NotNull public static InputFormat csv(@Nullable CsvOptions options)
      CSV format.

      Parameters:
      options -
    • csv

      @Stability(Stable) @NotNull public static InputFormat csv()
      CSV format.
    • dynamoDBJson

      @Stability(Stable) @NotNull public static InputFormat dynamoDBJson()
      DynamoDB JSON format.
    • ion

      @Stability(Stable) @NotNull public static InputFormat ion()
      Amazon Ion format.