Enum InputCompressionType
Type of compression to use for imported data.
Namespace: Amazon.CDK.AWS.DynamoDB
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public enum InputCompressionType
Syntax (vb)
Public Enum InputCompressionType
Remarks
ExampleMetadata: infused
Examples
using Amazon.CDK;
using Amazon.CDK.AWS.S3;
IBucket bucket;
var app = new App();
var stack = new Stack(app, "Stack");
new Table(stack, "Table", new TableProps {
PartitionKey = new Attribute {
Name = "id",
Type = AttributeType.STRING
},
ImportSource = new ImportSourceSpecification {
CompressionType = InputCompressionType.GZIP,
InputFormat = InputFormat.DynamoDBJson(),
Bucket = bucket,
KeyPrefix = "prefix"
}
});
Synopsis
Fields
| GZIP | GZIP compression. |
| NONE | No compression. |
| ZSTD | ZSTD compression. |
Fields
| Name | Description |
|---|---|
| GZIP | GZIP compression. |
| NONE | No compression. |
| ZSTD | ZSTD compression. |