# ImportSourceSpecificationProperty

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

- Source: Generated code
- Type last changed: v2.93.0 · 23 Aug 2023

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

- `inputCompressionType`: string — Type of compression to be used on the input coming from the imported table.

- `inputFormat`: string (required) — The format of the source data.

  Valid values for `ImportFormat` are `CSV` , `DYNAMODB_JSON` or `ION` .

- `inputFormatOptions`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnTable.InputFormatOptionsProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_dynamodb.CfnTable.InputFormatOptionsProperty.html) — Additional properties that specify how the input is formatted,.

- `s3BucketSource`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnTable.S3BucketSourceProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_dynamodb.CfnTable.S3BucketSourceProperty.html) (required) — The S3 bucket that provides the source for the import.
