StateMachineArgs constructor
- required Input<
String> definition, - Input<
StateMachineEncryptionConfiguration?> ? encryptionConfiguration, - Input<
StateMachineLoggingConfiguration?> ? loggingConfiguration, - Input<
String?> ? name, - Input<
String?> ? namePrefix, - Input<
bool?> ? publish, - Input<
String?> ? region, - required Input<
String> roleArn, - Input<
Map< ? tags,String, String> ?> - Input<
StateMachineTracingConfiguration?> ? tracingConfiguration, - Input<
String?> ? type,
Creates a new StateMachineArgs.
definition The Amazon States Language definition of the state machine.
encryptionConfiguration Defines what encryption configuration is used to encrypt data in the State Machine. For more information see TBD in the AWS Step Functions User Guide.
loggingConfiguration Defines what execution history events are logged and where they are logged. The loggingConfiguration parameter is valid when type is set to STANDARD or EXPRESS. Defaults to OFF. For more information see Logging Express Workflows, Log Levels and Logging Configuration in the AWS Step Functions User Guide.
name The name of the state machine. The name should only contain 0-9, A-Z, a-z, - and _. If omitted, the provider will assign a random, unique name.
namePrefix Creates a unique name beginning with the specified prefix. Conflicts with name.
publish Set to true to publish a version of the state machine during creation. Default: false.
region Region where this resource will be managed. Defaults to the Region set in the provider configuration.
roleArn ARN of the IAM role to use for this state machine.
tags Key-value map of resource tags. .If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
tracingConfiguration Selects whether AWS X-Ray tracing is enabled.
type Determines whether a Standard or Express state machine is created. The default is STANDARD. You cannot update the type of a state machine once it has been created. Valid values: STANDARD, EXPRESS.
Implementation
const StateMachineArgs({
required this.definition,
this.encryptionConfiguration,
this.loggingConfiguration,
this.name,
this.namePrefix,
this.publish,
this.region,
required this.roleArn,
this.tags,
this.tracingConfiguration,
this.type,
});