@Stability(value=Stable) public static final class CfnStateMachine.Builder extends Object implements software.amazon.jsii.Builder<CfnStateMachine>
CfnStateMachine.| Modifier and Type | Method and Description |
|---|---|
CfnStateMachine |
build() |
static CfnStateMachine.Builder |
create(Construct scope,
String id) |
CfnStateMachine.Builder |
definition(Object definition)
The Amazon States Language definition of the state machine.
|
CfnStateMachine.Builder |
definitionS3Location(CfnStateMachine.S3LocationProperty definitionS3Location)
The name of the S3 bucket where the state machine definition is stored.
|
CfnStateMachine.Builder |
definitionS3Location(IResolvable definitionS3Location)
The name of the S3 bucket where the state machine definition is stored.
|
CfnStateMachine.Builder |
definitionString(String definitionString)
The Amazon States Language definition of the state machine.
|
CfnStateMachine.Builder |
definitionSubstitutions(IResolvable definitionSubstitutions)
A map (string to string) that specifies the mappings for placeholder variables in the state machine definition.
|
CfnStateMachine.Builder |
definitionSubstitutions(Map<String,String> definitionSubstitutions)
A map (string to string) that specifies the mappings for placeholder variables in the state machine definition.
|
CfnStateMachine.Builder |
loggingConfiguration(CfnStateMachine.LoggingConfigurationProperty loggingConfiguration)
Defines what execution history events are logged and where they are logged.
|
CfnStateMachine.Builder |
loggingConfiguration(IResolvable loggingConfiguration)
Defines what execution history events are logged and where they are logged.
|
CfnStateMachine.Builder |
roleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM role to use for this state machine.
|
CfnStateMachine.Builder |
stateMachineName(String stateMachineName)
The name of the state machine.
|
CfnStateMachine.Builder |
stateMachineType(String stateMachineType)
Determines whether a `STANDARD` or `EXPRESS` state machine is created.
|
CfnStateMachine.Builder |
tags(List<? extends CfnStateMachine.TagsEntryProperty> tags)
The list of tags to add to a resource.
|
CfnStateMachine.Builder |
tracingConfiguration(CfnStateMachine.TracingConfigurationProperty tracingConfiguration)
Selects whether or not the state machine's AWS X-Ray tracing is enabled.
|
CfnStateMachine.Builder |
tracingConfiguration(IResolvable tracingConfiguration)
Selects whether or not the state machine's AWS X-Ray tracing is enabled.
|
@Stability(value=Stable) public static CfnStateMachine.Builder create(Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnStateMachine.CloudWatchLogsLogGroupProperty.Builder.@Stability(value=Stable) public CfnStateMachine.Builder roleArn(String roleArn)
roleArn - The Amazon Resource Name (ARN) of the IAM role to use for this state machine. This parameter is required.this@Stability(value=Stable) public CfnStateMachine.Builder definition(Object definition)
The state machine definition must be in JSON or YAML, and the format of the object must match the format of your AWS Step Functions template file. See Amazon States Language .
definition - The Amazon States Language definition of the state machine. This parameter is required.this@Stability(value=Stable) public CfnStateMachine.Builder definitionS3Location(IResolvable definitionS3Location)
The state machine definition must be a JSON or YAML file.
definitionS3Location - The name of the S3 bucket where the state machine definition is stored. This parameter is required.this@Stability(value=Stable) public CfnStateMachine.Builder definitionS3Location(CfnStateMachine.S3LocationProperty definitionS3Location)
The state machine definition must be a JSON or YAML file.
definitionS3Location - The name of the S3 bucket where the state machine definition is stored. This parameter is required.this@Stability(value=Stable) public CfnStateMachine.Builder definitionString(String definitionString)
The state machine definition must be in JSON. See Amazon States Language .
definitionString - The Amazon States Language definition of the state machine. This parameter is required.this@Stability(value=Stable) public CfnStateMachine.Builder definitionSubstitutions(IResolvable definitionSubstitutions)
This enables the customer to inject values obtained at runtime, for example from intrinsic functions, in the state machine definition. Variables can be template parameter names, resource logical IDs, resource attributes, or a variable in a key-value map.
definitionSubstitutions - A map (string to string) that specifies the mappings for placeholder variables in the state machine definition. This parameter is required.this@Stability(value=Stable) public CfnStateMachine.Builder definitionSubstitutions(Map<String,String> definitionSubstitutions)
This enables the customer to inject values obtained at runtime, for example from intrinsic functions, in the state machine definition. Variables can be template parameter names, resource logical IDs, resource attributes, or a variable in a key-value map.
definitionSubstitutions - A map (string to string) that specifies the mappings for placeholder variables in the state machine definition. This parameter is required.this@Stability(value=Stable) public CfnStateMachine.Builder loggingConfiguration(IResolvable loggingConfiguration)
By default, the
levelis set toOFF. For more information see Log Levels in the AWS Step Functions User Guide.
loggingConfiguration - Defines what execution history events are logged and where they are logged. This parameter is required.this@Stability(value=Stable) public CfnStateMachine.Builder loggingConfiguration(CfnStateMachine.LoggingConfigurationProperty loggingConfiguration)
By default, the
levelis set toOFF. For more information see Log Levels in the AWS Step Functions User Guide.
loggingConfiguration - Defines what execution history events are logged and where they are logged. This parameter is required.this@Stability(value=Stable) public CfnStateMachine.Builder stateMachineName(String stateMachineName)
A name must not contain:
< > { } [ ]? *" # % \ ^ | ~ $ & , ; : /`U+0000-001F , U+007F-009F )
If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.
stateMachineName - The name of the state machine. This parameter is required.this@Stability(value=Stable) public CfnStateMachine.Builder stateMachineType(String stateMachineType)
The default is STANDARD . You cannot update the type of a state machine once it has been created. For more information on STANDARD and EXPRESS workflows, see Standard Versus Express Workflows in the AWS Step Functions Developer Guide.
stateMachineType - Determines whether a `STANDARD` or `EXPRESS` state machine is created. This parameter is required.this@Stability(value=Stable) public CfnStateMachine.Builder tags(List<? extends CfnStateMachine.TagsEntryProperty> tags)
Tags may only contain Unicode letters, digits, white space, or these symbols: _ . : / = + - @ .
tags - The list of tags to add to a resource. This parameter is required.this@Stability(value=Stable) public CfnStateMachine.Builder tracingConfiguration(IResolvable tracingConfiguration)
tracingConfiguration - Selects whether or not the state machine's AWS X-Ray tracing is enabled. This parameter is required.this@Stability(value=Stable) public CfnStateMachine.Builder tracingConfiguration(CfnStateMachine.TracingConfigurationProperty tracingConfiguration)
tracingConfiguration - Selects whether or not the state machine's AWS X-Ray tracing is enabled. This parameter is required.this@Stability(value=Stable) public CfnStateMachine build()
build in interface software.amazon.jsii.Builder<CfnStateMachine>Copyright © 2022. All rights reserved.