interface CopyCommandProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.KinesisFirehose.CfnDeliveryStream.CopyCommandProperty |
Java | software.amazon.awscdk.services.kinesisfirehose.CfnDeliveryStream.CopyCommandProperty |
Python | aws_cdk.aws_kinesisfirehose.CfnDeliveryStream.CopyCommandProperty |
TypeScript | @aws-cdk/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 * as kinesisfirehose from '@aws-cdk/aws-kinesisfirehose';
const copyCommandProperty: kinesisfirehose.CfnDeliveryStream.CopyCommandProperty = {
dataTableName: 'dataTableName',
// the properties below are optional
copyOptions: 'copyOptions',
dataTableColumns: 'dataTableColumns',
};
Properties
Name | Type | Description |
---|---|---|
data | string | The name of the target table. |
copy | string | Parameters to use with the Amazon Redshift COPY command. |
data | string | A 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.