aws-cdk-lib.aws_dynamodb.CfnTable.ImportSourceSpecificationProperty

interface ImportSourceSpecificationProperty

LanguageType name
.NETAmazon.CDK.AWS.DynamoDB.CfnTable.ImportSourceSpecificationProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsdynamodb#CfnTable_ImportSourceSpecificationProperty
Javasoftware.amazon.awscdk.services.dynamodb.CfnTable.ImportSourceSpecificationProperty
Pythonaws_cdk.aws_dynamodb.CfnTable.ImportSourceSpecificationProperty
TypeScript aws-cdk-lib » aws_dynamodb » CfnTable » ImportSourceSpecificationProperty

Specifies the properties of data being imported from the S3 bucket source to the table.

Example

// 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

NameTypeDescription
inputFormatstringThe format of the source data.
s3BucketSourceIResolvable | S3BucketSourcePropertyThe S3 bucket that provides the source for the import.
inputCompressionType?stringType of compression to be used on the input coming from the imported table.
inputFormatOptions?IResolvable | InputFormatOptionsPropertyAdditional properties that specify how the input is formatted,.

inputFormat

Type: string

The format of the source data.

Valid values for ImportFormat are CSV , DYNAMODB_JSON or ION .


s3BucketSource

Type: IResolvable | S3BucketSourceProperty

The S3 bucket that provides the source for the import.


inputCompressionType?

Type: string (optional)

Type of compression to be used on the input coming from the imported table.


inputFormatOptions?

Type: IResolvable | InputFormatOptionsProperty (optional)

Additional properties that specify how the input is formatted,.