InputFormatOptionsProperty Struct
The format options for the data that was imported into the target table.
There is one value, CsvOption.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_dynamodb as dynamodb } from 'aws-cdk-lib';
const inputFormatOptionsProperty: dynamodb.CfnTable.InputFormatOptionsProperty = {
csv: {
delimiter: 'delimiter',
headerList: ['headerList'],
},
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_dynamodb as dynamodb
input_format_options_property = dynamodb.CfnTable.InputFormatOptionsProperty(
csv=dynamodb.CfnTable.CsvProperty(
delimiter="delimiter",
header_list=["headerList"]
)
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.dynamodb.*;
InputFormatOptionsProperty inputFormatOptionsProperty = InputFormatOptionsProperty.builder()
.csv(CsvProperty.builder()
.delimiter("delimiter")
.headerList(List.of("headerList"))
.build())
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.DynamoDB;
var inputFormatOptionsProperty = new InputFormatOptionsProperty {
Csv = new CsvProperty {
Delimiter = "delimiter",
HeaderList = new [] { "headerList" }
}
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
inputFormatOptionsProperty := &InputFormatOptionsProperty{
Csv: &CsvProperty{
Delimiter: jsii.String("delimiter"),
HeaderList: []*string{
jsii.String("headerList"),
},
},
}
Properties
csvoptionalIResolvable | CfnTable.CsvPropertycsvoptionaltyping.Union[IResolvable, CsvProperty]csvoptionalIResolvableCsvoptionalIResolvableCsvoptionalinterface{} #The options for imported source files in CSV format.
The values are Delimiter and HeaderList.