aws-cdk-lib.aws_kinesisfirehose.CfnDeliveryStream.CopyCommandProperty

interface CopyCommandProperty

LanguageType name
.NETAmazon.CDK.AWS.KinesisFirehose.CfnDeliveryStream.CopyCommandProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awskinesisfirehose#CfnDeliveryStream_CopyCommandProperty
Javasoftware.amazon.awscdk.services.kinesisfirehose.CfnDeliveryStream.CopyCommandProperty
Pythonaws_cdk.aws_kinesisfirehose.CfnDeliveryStream.CopyCommandProperty
TypeScript aws-cdk-lib » aws_kinesisfirehose » CfnDeliveryStream » CopyCommandProperty

The CopyCommand property type configures the Amazon Redshift COPY command that Amazon Kinesis Data Firehose (Kinesis Data Firehose) uses to load data into an Amazon Redshift cluster from an Amazon S3 bucket.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_kinesisfirehose as kinesisfirehose } from 'aws-cdk-lib';
const copyCommandProperty: kinesisfirehose.CfnDeliveryStream.CopyCommandProperty = {
  dataTableName: 'dataTableName',

  // the properties below are optional
  copyOptions: 'copyOptions',
  dataTableColumns: 'dataTableColumns',
};

Properties

NameTypeDescription
dataTableNamestringThe name of the target table.
copyOptions?stringParameters to use with the Amazon Redshift COPY command.
dataTableColumns?stringA comma-separated list of column names.

dataTableName

Type: string

The name of the target table.

The table must already exist in the database.


copyOptions?

Type: string (optional)

Parameters to use with the Amazon Redshift COPY command.

For examples, see the CopyOptions content for the CopyCommand data type in the Amazon Kinesis Data Firehose API Reference .


dataTableColumns?

Type: string (optional)

A comma-separated list of column names.