StatementState class
Input properties used for looking up and filtering Statement resources.
Constructors
-
StatementState({Input<
String?> ? clusterIdentifier, Input<String?> ? database, Input<String?> ? dbUser, Input<List< ? parameters, Input<StatementParameter> ?>String?> ? region, Input<String?> ? secretArn, Input<String?> ? sql, Input<String?> ? statementName, Input<bool?> ? withEvent, Input<String?> ? workgroupName}) -
Creates a new StatementState.
clusterIdentifierThe cluster identifier. This parameter is required when connecting to a cluster and authenticating using either Secrets Manager or temporary credentials.databaseThe name of the database.dbUserThe database user name.parametersOptional.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.secretArnThe name or ARN of the secret that enables access to the database.sqlThe SQL statement text to run.statementNameThe name of the SQL statement. You can name the SQL statement when you create it to identify the query.withEventA value that indicates whether to send an event to the Amazon EventBridge event bus after the SQL statement runs.workgroupNameThe serverless workgroup name. This parameter is required when connecting to a serverless workgroup and authenticating using either Secrets Manager or temporary credentials.const -
StatementState.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