Interface CfnPipe.PipeTargetRedshiftDataParametersProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPipe.PipeTargetRedshiftDataParametersProperty.Jsii$Proxy
- Enclosing class:
- CfnPipe
@Stability(Stable)
public static interface CfnPipe.PipeTargetRedshiftDataParametersProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.pipes.*;
PipeTargetRedshiftDataParametersProperty pipeTargetRedshiftDataParametersProperty = PipeTargetRedshiftDataParametersProperty.builder()
.database("database")
.sqls(List.of("sqls"))
// the properties below are optional
.dbUser("dbUser")
.secretManagerArn("secretManagerArn")
.statementName("statementName")
.withEvent(false)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnPipe.PipeTargetRedshiftDataParametersPropertystatic final classAn implementation forCfnPipe.PipeTargetRedshiftDataParametersProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The name of the database.default StringThe database user name.default StringThe name or ARN of the secret that enables access to the database.getSqls()The SQL statement text to run.default StringThe name of the SQL statement.default ObjectIndicates whether to send an event back to EventBridge after the SQL statement runs.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDatabase
The name of the database.Required when authenticating using temporary credentials.
-
getSqls
The SQL statement text to run. -
getDbUser
The database user name.Required when authenticating using temporary credentials.
-
getSecretManagerArn
The name or ARN of the secret that enables access to the database.Required when authenticating using Secrets Manager .
-
getStatementName
The name of the SQL statement.You can name the SQL statement when you create it to identify the query.
-
getWithEvent
Indicates whether to send an event back to EventBridge after the SQL statement runs. -
builder
-