StatementArgs class

The set of arguments for Statement. The set of arguments for Statement.

Constructors

StatementArgs({Input<String?>? clusterIdentifier, required Input<String> database, Input<String?>? dbUser, Input<List<StatementParameter>?>? parameters, Input<String?>? region, Input<String?>? secretArn, required Input<String> sql, Input<String?>? statementName, Input<bool?>? withEvent, Input<String?>? workgroupName})
Creates a new StatementArgs. 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.
const
StatementArgs.fromMap(Map<String, dynamic> map)
factory

Properties

clusterIdentifier → Input<String?>?
The cluster identifier. This parameter is required when connecting to a cluster and authenticating using either Secrets Manager or temporary credentials.
final
database → Input<String>
The name of the database.
final
dbUser → Input<String?>?
The database user name.
final
hashCode int
The hash code for this object.
no setterinherited
parameters → Input<List<StatementParameter>?>?
final
region → Input<String?>?
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secretArn → Input<String?>?
The name or ARN of the secret that enables access to the database.
final
sql → Input<String>
The SQL statement text to run.
final
statementName → Input<String?>?
The name of the SQL statement. You can name the SQL statement when you create it to identify the query.
final
withEvent → Input<bool?>?
A value that indicates whether to send an event to the Amazon EventBridge event bus after the SQL statement runs.
final
workgroupName → Input<String?>?
The serverless workgroup name. This parameter is required when connecting to a serverless workgroup and authenticating using either Secrets Manager or temporary credentials.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited