Class InputFormat
The format of the source data.
Inheritance
Namespace: Amazon.CDK.AWS.DynamoDB
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public abstract class InputFormat : DeputyBase
Syntax (vb)
Public MustInherit Class InputFormat
Inherits DeputyBase
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
Constructors
Input |
|
Input |
Used by jsii to construct an instance of this class from a Javascript-owned object reference |
Input |
Used by jsii to construct an instance of this class from DeputyProps |
Methods
Csv(ICsv |
CSV format. |
Dynamo |
DynamoDB JSON format. |
Ion() | Amazon Ion format. |
Constructors
InputFormat()
protected InputFormat()
InputFormat(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected InputFormat(ByRefValue reference)
Parameters
- reference Amazon.
JSII. Runtime. Deputy. By Ref Value The Javascript-owned object reference
InputFormat(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected InputFormat(DeputyBase.DeputyProps props)
Parameters
- props Amazon.
JSII. Runtime. Deputy. Deputy Base. Deputy Props The deputy props
Methods
Csv(ICsvOptions)
CSV format.
public static InputFormat Csv(ICsvOptions options = null)
Parameters
- options ICsv
Options
Returns