StatementState constructor
Creates a new StatementState.
clusterIdentifier The cluster identifier. This parameter is required when connecting to a cluster and authenticating using either Secrets Manager or temporary credentials.
database The name of the database.
dbUser The database user name.
parameters Optional.
region Region where this resource will be managed. Defaults to the Region set in the provider configuration.
secretArn The name or ARN of the secret that enables access to the database.
sql The SQL statement text to run.
statementName The name of the SQL statement. You can name the SQL statement when you create it to identify the query.
withEvent A value that indicates whether to send an event to the Amazon EventBridge event bus after the SQL statement runs.
workgroupName The serverless workgroup name. This parameter is required when connecting to a serverless workgroup and authenticating using either Secrets Manager or temporary credentials.
Implementation
const StatementState({
this.clusterIdentifier,
this.database,
this.dbUser,
this.parameters,
this.region,
this.secretArn,
this.sql,
this.statementName,
this.withEvent,
this.workgroupName,
});