@Stability(value=Stable)
public static interface CfnRule.RedshiftDataParametersProperty
extends software.amazon.jsii.JsiiSerializable
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.events.*;
RedshiftDataParametersProperty redshiftDataParametersProperty = RedshiftDataParametersProperty.builder()
.database("database")
.sql("sql")
// the properties below are optional
.dbUser("dbUser")
.secretManagerArn("secretManagerArn")
.statementName("statementName")
.withEvent(false)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnRule.RedshiftDataParametersProperty.Builder
A builder for
CfnRule.RedshiftDataParametersProperty |
static class |
CfnRule.RedshiftDataParametersProperty.Jsii$Proxy
An implementation for
CfnRule.RedshiftDataParametersProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnRule.RedshiftDataParametersProperty.Builder |
builder() |
String |
getDatabase()
The name of the database.
|
default String |
getDbUser()
The database user name.
|
default String |
getSecretManagerArn()
The name or ARN of the secret that enables access to the database.
|
String |
getSql()
The SQL statement text to run.
|
default String |
getStatementName()
The name of the SQL statement.
|
default Object |
getWithEvent()
Indicates whether to send an event back to EventBridge after the SQL statement runs.
|
@Stability(value=Stable) @NotNull String getDatabase()
Required when authenticating using temporary credentials.
@Stability(value=Stable) @NotNull String getSql()
@Stability(value=Stable) @Nullable default String getDbUser()
Required when authenticating using temporary credentials.
@Stability(value=Stable) @Nullable default String getSecretManagerArn()
Required when authenticating using AWS Secrets Manager.
@Stability(value=Stable) @Nullable default String getStatementName()
You can name the SQL statement when you create it to identify the query.
@Stability(value=Stable) @Nullable default Object getWithEvent()
@Stability(value=Stable) static CfnRule.RedshiftDataParametersProperty.Builder builder()
Copyright © 2022. All rights reserved.