ImportSourceSpecificationProperty Struct
Specifies the properties of data being imported from the S3 bucket source to the table.
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 importSourceSpecificationProperty: dynamodb.CfnTable.ImportSourceSpecificationProperty = {
inputFormat: 'inputFormat',
s3BucketSource: {
s3Bucket: 's3Bucket',
// the properties below are optional
s3BucketOwner: 's3BucketOwner',
s3KeyPrefix: 's3KeyPrefix',
},
// the properties below are optional
inputCompressionType: 'inputCompressionType',
inputFormatOptions: {
csv: {
delimiter: 'delimiter',
headerList: ['headerList'],
},
},
};
Properties
inputCompressionTypeoptionalstringinput_compression_typeoptionalstrinputCompressionTypeoptionalStringInputCompressionTypeoptionalstringInputCompressionTypeoptional*string#Type of compression to be used on the input coming from the imported table.
The format of the source data.
Valid values for ImportFormat are CSV , DYNAMODB_JSON or ION .
inputFormatOptionsoptionalIResolvable | CfnTable.InputFormatOptionsPropertyinput_format_optionsoptionaltyping.Union[IResolvable, InputFormatOptionsProperty]inputFormatOptionsoptionalIResolvableInputFormatOptionsoptionalIResolvableInputFormatOptionsoptionalinterface{}#Additional properties that specify how the input is formatted,.
s3BucketSourceIResolvable | CfnTable.S3BucketSourcePropertys3_bucket_sourcetyping.Union[IResolvable, S3BucketSourceProperty]s3BucketSourceIResolvableS3BucketSourceIResolvableS3BucketSourceinterface{}required#The S3 bucket that provides the source for the import.