Class RedshiftQueryProps.Jsii$Proxy
- All Implemented Interfaces:
RedshiftQueryProps
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
RedshiftQueryProps
RedshiftQueryProps
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.events.targets.RedshiftQueryProps
RedshiftQueryProps.Builder, RedshiftQueryProps.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Jsii$Proxy
(RedshiftQueryProps.Builder builder) Constructor that initializes the object based on literal property values passed by theRedshiftQueryProps.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
final boolean
final String
The Amazon Redshift database to run the query against.final String
The Amazon Redshift database user to run the query as.final IQueue
The queue to be used as dead letter queue.final RuleTargetInput
getInput()
The input to the state machine execution.final IRole
getRole()
The IAM role to be used to execute the SQL statement.final ISecret
The secret containing the password for the database user.final Boolean
Should an event be sent back to Event Bridge when the SQL statement is executed.getSql()
The SQL queries to be executed.final String
The name of the SQL statement.final int
hashCode()
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theRedshiftQueryProps.Builder
.
-
-
Method Details
-
getDatabase
Description copied from interface:RedshiftQueryProps
The Amazon Redshift database to run the query against.- Specified by:
getDatabase
in interfaceRedshiftQueryProps
-
getSql
Description copied from interface:RedshiftQueryProps
The SQL queries to be executed.Each query is run sequentially within a single transaction; the next query in the array will only execute after the previous one has successfully completed.
- When multiple sql queries are included, this will use the
batchExecuteStatement
API. Therefore, if any statement fails, the entire transaction is rolled back. - If a single SQL statement is to be executed, this will use the
executeStatement
API.
Default: - No SQL query is specified
- Specified by:
getSql
in interfaceRedshiftQueryProps
- When multiple sql queries are included, this will use the
-
getDbUser
Description copied from interface:RedshiftQueryProps
The Amazon Redshift database user to run the query as.This is required when authenticating via temporary credentials.
Default: - No Database user is specified
- Specified by:
getDbUser
in interfaceRedshiftQueryProps
-
getDeadLetterQueue
Description copied from interface:RedshiftQueryProps
The queue to be used as dead letter queue.Default: - No dead letter queue is specified
- Specified by:
getDeadLetterQueue
in interfaceRedshiftQueryProps
-
getInput
Description copied from interface:RedshiftQueryProps
The input to the state machine execution.Default: - the entire EventBridge event
- Specified by:
getInput
in interfaceRedshiftQueryProps
-
getRole
Description copied from interface:RedshiftQueryProps
The IAM role to be used to execute the SQL statement.Default: - a new role will be created.
- Specified by:
getRole
in interfaceRedshiftQueryProps
-
getSecret
Description copied from interface:RedshiftQueryProps
The secret containing the password for the database user.This is required when authenticating via Secrets Manager. If the full secret ARN is not specified, this will instead use the secret name.
Default: - No secret is specified
- Specified by:
getSecret
in interfaceRedshiftQueryProps
-
getSendEventBridgeEvent
Description copied from interface:RedshiftQueryProps
Should an event be sent back to Event Bridge when the SQL statement is executed.Default: false
- Specified by:
getSendEventBridgeEvent
in interfaceRedshiftQueryProps
-
getStatementName
Description copied from interface:RedshiftQueryProps
The name of the SQL statement.You can name the SQL statement for identitfication purposes. If you would like Amazon Redshift to identify the Event Bridge rule, and present it in the Amazon Redshift console, append a
QS2-
prefix to the statement name.Default: - No statement name is specified
- Specified by:
getStatementName
in interfaceRedshiftQueryProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-