Class 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.
Inheritance
System.Object
CfnDeliveryStream.CopyCommandProperty
Implements
Namespace: Amazon.CDK.AWS.KinesisFirehose
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CopyCommandProperty : Object, CfnDeliveryStream.ICopyCommandProperty
Syntax (vb)
Public Class CopyCommandProperty
Inherits Object
Implements CfnDeliveryStream.ICopyCommandProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.KinesisFirehose;
var copyCommandProperty = new CopyCommandProperty {
DataTableName = "dataTableName",
// the properties below are optional
CopyOptions = "copyOptions",
DataTableColumns = "dataTableColumns"
};
Synopsis
Constructors
CopyCommandProperty() |
Properties
CopyOptions | Parameters to use with the Amazon Redshift |
DataTableColumns | A comma-separated list of column names. |
DataTableName | The name of the target table. |
Constructors
CopyCommandProperty()
public CopyCommandProperty()
Properties
CopyOptions
Parameters to use with the Amazon Redshift COPY
command.
public string CopyOptions { get; set; }
Property Value
System.String
Remarks
For examples, see the CopyOptions
content for the CopyCommand data type in the Amazon Kinesis Data Firehose API Reference .
DataTableColumns
A comma-separated list of column names.
public string DataTableColumns { get; set; }
Property Value
System.String
Remarks
DataTableName
The name of the target table.
public string DataTableName { get; set; }
Property Value
System.String
Remarks
The table must already exist in the database.