public static final class CfnStateMachineProps.Builder
extends java.lang.Object
CfnStateMachineProps
Constructor and Description |
---|
Builder() |
public CfnStateMachineProps.Builder roleArn(java.lang.String roleArn)
CfnStateMachineProps.getRoleArn()
roleArn
- The Amazon Resource Name (ARN) of the IAM role to use for this state machine. This parameter is required.this
public CfnStateMachineProps.Builder definition(java.lang.Object definition)
CfnStateMachineProps.getDefinition()
definition
- The Amazon States Language definition of the state machine.
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 .this
public CfnStateMachineProps.Builder definitionS3Location(IResolvable definitionS3Location)
CfnStateMachineProps.getDefinitionS3Location()
definitionS3Location
- The name of the S3 bucket where the state machine definition is stored.
The state machine definition must be a JSON or YAML file.this
public CfnStateMachineProps.Builder definitionS3Location(CfnStateMachine.S3LocationProperty definitionS3Location)
CfnStateMachineProps.getDefinitionS3Location()
definitionS3Location
- The name of the S3 bucket where the state machine definition is stored.
The state machine definition must be a JSON or YAML file.this
public CfnStateMachineProps.Builder definitionString(java.lang.String definitionString)
CfnStateMachineProps.getDefinitionString()
definitionString
- The Amazon States Language definition of the state machine.
The state machine definition must be in JSON. See Amazon States Language .this
public CfnStateMachineProps.Builder definitionSubstitutions(IResolvable definitionSubstitutions)
CfnStateMachineProps.getDefinitionSubstitutions()
definitionSubstitutions
- A map (string to string) that specifies the mappings for placeholder variables in the state machine definition.
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.this
public CfnStateMachineProps.Builder definitionSubstitutions(java.util.Map<java.lang.String,? extends java.lang.Object> definitionSubstitutions)
CfnStateMachineProps.getDefinitionSubstitutions()
definitionSubstitutions
- A map (string to string) that specifies the mappings for placeholder variables in the state machine definition.
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.this
public CfnStateMachineProps.Builder loggingConfiguration(IResolvable loggingConfiguration)
CfnStateMachineProps.getLoggingConfiguration()
loggingConfiguration
- Defines what execution history events are logged and where they are logged.
By default, the
level
is set toOFF
. For more information see Log Levels in the AWS Step Functions User Guide.
this
public CfnStateMachineProps.Builder loggingConfiguration(CfnStateMachine.LoggingConfigurationProperty loggingConfiguration)
CfnStateMachineProps.getLoggingConfiguration()
loggingConfiguration
- Defines what execution history events are logged and where they are logged.
By default, the
level
is set toOFF
. For more information see Log Levels in the AWS Step Functions User Guide.
this
public CfnStateMachineProps.Builder stateMachineName(java.lang.String stateMachineName)
CfnStateMachineProps.getStateMachineName()
stateMachineName
- The name of the state machine.
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.
this
public CfnStateMachineProps.Builder stateMachineType(java.lang.String stateMachineType)
CfnStateMachineProps.getStateMachineType()
stateMachineType
- 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. For more information on STANDARD
and EXPRESS
workflows, see Standard Versus Express Workflows in the AWS Step Functions Developer Guide.this
public CfnStateMachineProps.Builder tags(java.util.List<? extends CfnStateMachine.TagsEntryProperty> tags)
CfnStateMachineProps.getTags()
tags
- The list of tags to add to a resource.
Tags may only contain Unicode letters, digits, white space, or these symbols: _ . : / = + - @
.this
public CfnStateMachineProps.Builder tracingConfiguration(IResolvable tracingConfiguration)
CfnStateMachineProps.getTracingConfiguration()
tracingConfiguration
- Selects whether or not the state machine's AWS X-Ray tracing is enabled.this
public CfnStateMachineProps.Builder tracingConfiguration(CfnStateMachine.TracingConfigurationProperty tracingConfiguration)
CfnStateMachineProps.getTracingConfiguration()
tracingConfiguration
- Selects whether or not the state machine's AWS X-Ray tracing is enabled.this
public CfnStateMachineProps build()
CfnStateMachineProps
java.lang.NullPointerException
- if any required attribute was not provided