interface PipeTargetRedshiftDataParametersProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.Pipes.CfnPipePropsMixin.PipeTargetRedshiftDataParametersProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awspipes#CfnPipePropsMixin_PipeTargetRedshiftDataParametersProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.pipes.CfnPipePropsMixin.PipeTargetRedshiftDataParametersProperty |
Python | aws_cdk.cfn_property_mixins.aws_pipes.CfnPipePropsMixin.PipeTargetRedshiftDataParametersProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_pipes » CfnPipePropsMixin » PipeTargetRedshiftDataParametersProperty |
These are custom parameters to be used when the target is a Amazon Redshift cluster to invoke the Amazon Redshift Data API BatchExecuteStatement.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_pipes as pipes } from '@aws-cdk/cfn-property-mixins';
const pipeTargetRedshiftDataParametersProperty: pipes.CfnPipePropsMixin.PipeTargetRedshiftDataParametersProperty = {
database: 'database',
dbUser: 'dbUser',
secretManagerArn: 'secretManagerArn',
sqls: ['sqls'],
statementName: 'statementName',
withEvent: false,
};
Properties
| Name | Type | Description |
|---|---|---|
| database? | string | The name of the database. |
| db | string | The database user name. |
| secret | string | The name or ARN of the secret that enables access to the database. |
| sqls? | string[] | The SQL statement text to run. |
| statement | string | The name of the SQL statement. |
| with | boolean | IResolvable | Indicates whether to send an event back to EventBridge after the SQL statement runs. |
database?
Type:
string
(optional)
The name of the database.
Required when authenticating using temporary credentials.
dbUser?
Type:
string
(optional)
The database user name.
Required when authenticating using temporary credentials.
secretManagerArn?
Type:
string
(optional)
The name or ARN of the secret that enables access to the database.
Required when authenticating using Secrets Manager.
sqls?
Type:
string[]
(optional)
The SQL statement text to run.
statementName?
Type:
string
(optional)
The name of the SQL statement.
You can name the SQL statement when you create it to identify the query.
withEvent?
Type:
boolean | IResolvable
(optional, default: false)
Indicates whether to send an event back to EventBridge after the SQL statement runs.

.NET
Go
Java
Python
TypeScript