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.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.events.targets.RedshiftQueryProps
RedshiftQueryProps.Builder, RedshiftQueryProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(RedshiftQueryProps.Builder builder) Constructor that initializes the object based on literal property values passed by theRedshiftQueryProps.Builder.protectedJsii$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.JsonNodefinal booleanfinal StringThe Amazon Redshift database to run the query against.final StringThe Amazon Redshift database user to run the query as.final IQueueThe queue to be used as dead letter queue.final RuleTargetInputgetInput()The input to the state machine execution.final IRolegetRole()The IAM role to be used to execute the SQL statement.final ISecretThe secret containing the password for the database user.final BooleanShould an event be sent back to Event Bridge when the SQL statement is executed.getSql()The SQL queries to be executed.final StringThe name of the SQL statement.final inthashCode()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:RedshiftQueryPropsThe Amazon Redshift database to run the query against.- Specified by:
getDatabasein interfaceRedshiftQueryProps
-
getSql
Description copied from interface:RedshiftQueryPropsThe 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
batchExecuteStatementAPI. Therefore, if any statement fails, the entire transaction is rolled back. - If a single SQL statement is to be executed, this will use the
executeStatementAPI.
Default: - No SQL query is specified
- Specified by:
getSqlin interfaceRedshiftQueryProps
- When multiple sql queries are included, this will use the
-
getDbUser
Description copied from interface:RedshiftQueryPropsThe 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:
getDbUserin interfaceRedshiftQueryProps
-
getDeadLetterQueue
Description copied from interface:RedshiftQueryPropsThe queue to be used as dead letter queue.Default: - No dead letter queue is specified
- Specified by:
getDeadLetterQueuein interfaceRedshiftQueryProps
-
getInput
Description copied from interface:RedshiftQueryPropsThe input to the state machine execution.Default: - the entire EventBridge event
- Specified by:
getInputin interfaceRedshiftQueryProps
-
getRole
Description copied from interface:RedshiftQueryPropsThe IAM role to be used to execute the SQL statement.Default: - a new role will be created.
- Specified by:
getRolein interfaceRedshiftQueryProps
-
getSecret
Description copied from interface:RedshiftQueryPropsThe 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:
getSecretin interfaceRedshiftQueryProps
-
getSendEventBridgeEvent
Description copied from interface:RedshiftQueryPropsShould an event be sent back to Event Bridge when the SQL statement is executed.Default: false
- Specified by:
getSendEventBridgeEventin interfaceRedshiftQueryProps
-
getStatementName
Description copied from interface:RedshiftQueryPropsThe 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:
getStatementNamein interfaceRedshiftQueryProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-