Class CfnStateMachinePropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStateMachinePropsMixin>
- Enclosing class:
CfnStateMachinePropsMixin
CfnStateMachinePropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) definition(Object definition) The Amazon States Language definition of the state machine.definitionS3Location(CfnStateMachinePropsMixin.S3LocationProperty definitionS3Location) The name of the S3 bucket where the state machine definition is stored.definitionS3Location(IResolvable definitionS3Location) The name of the S3 bucket where the state machine definition is stored.definitionString(String definitionString) The Amazon States Language definition of the state machine.definitionString(ITableRef definitionString) The Amazon States Language definition of the state machine.definitionString(ITaskDefinitionRef definitionString) The Amazon States Language definition of the state machine.definitionString(IFunctionRef definitionString) The Amazon States Language definition of the state machine.definitionString(IVersionRef definitionString) The Amazon States Language definition of the state machine.definitionString(ITopicRef definitionString) The Amazon States Language definition of the state machine.definitionString(IQueueRef definitionString) The Amazon States Language definition of the state machine.definitionSubstitutions(Map<String, String> definitionSubstitutions) A map (string to string) that specifies the mappings for placeholder variables in the state machine definition.definitionSubstitutions(IResolvable definitionSubstitutions) A map (string to string) that specifies the mappings for placeholder variables in the state machine definition.encryptionConfiguration(CfnStateMachinePropsMixin.EncryptionConfigurationProperty encryptionConfiguration) Encryption configuration for the state machine.encryptionConfiguration(IResolvable encryptionConfiguration) Encryption configuration for the state machine.loggingConfiguration(CfnStateMachinePropsMixin.LoggingConfigurationProperty loggingConfiguration) Defines what execution history events are logged and where they are logged.loggingConfiguration(IResolvable loggingConfiguration) Defines what execution history events are logged and where they are logged.The Amazon Resource Name (ARN) of the IAM role to use for this state machine.The Amazon Resource Name (ARN) of the IAM role to use for this state machine.stateMachineName(String stateMachineName) The name of the state machine.stateMachineType(String stateMachineType) Determines whether aSTANDARDorEXPRESSstate machine is created.tags(List<? extends CfnStateMachinePropsMixin.TagsEntryProperty> tags) The list of tags to add to a resource.tracingConfiguration(CfnStateMachinePropsMixin.TracingConfigurationProperty tracingConfiguration) Selects whether or not the state machine's AWS X-Ray tracing is enabled.tracingConfiguration(IResolvable tracingConfiguration) Selects whether or not the state machine's AWS X-Ray tracing is enabled.
-
Method Details
-
create
@Stability(Stable) public static CfnStateMachinePropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnStateMachinePropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnStateMachinePropsMixin.Builder.
-
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 CloudFormation template file. See Amazon States Language .
- Parameters:
definition- The Amazon States Language definition of the state machine. This parameter is required.- Returns:
this- See Also:
-
definitionS3Location
@Stability(Stable) public CfnStateMachinePropsMixin.Builder definitionS3Location(IResolvable 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.
- Parameters:
definitionS3Location- The name of the S3 bucket where the state machine definition is stored. This parameter is required.- Returns:
this- See Also:
-
definitionS3Location
@Stability(Stable) public CfnStateMachinePropsMixin.Builder definitionS3Location(CfnStateMachinePropsMixin.S3LocationProperty 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.
- Parameters:
definitionS3Location- The name of the S3 bucket where the state machine definition is stored. This parameter is required.- Returns:
this- See Also:
-
definitionString
@Stability(Stable) public CfnStateMachinePropsMixin.Builder definitionString(String definitionString) The Amazon States Language definition of the state machine.The state machine definition must be in JSON. See Amazon States Language .
- Parameters:
definitionString- The Amazon States Language definition of the state machine. This parameter is required.- Returns:
this- See Also:
-
definitionString
@Stability(Stable) public CfnStateMachinePropsMixin.Builder definitionString(ITableRef definitionString) The Amazon States Language definition of the state machine.The state machine definition must be in JSON. See Amazon States Language .
- Parameters:
definitionString- The Amazon States Language definition of the state machine. This parameter is required.- Returns:
this- See Also:
-
definitionString
@Stability(Stable) public CfnStateMachinePropsMixin.Builder definitionString(ITaskDefinitionRef definitionString) The Amazon States Language definition of the state machine.The state machine definition must be in JSON. See Amazon States Language .
- Parameters:
definitionString- The Amazon States Language definition of the state machine. This parameter is required.- Returns:
this- See Also:
-
definitionString
@Stability(Stable) public CfnStateMachinePropsMixin.Builder definitionString(IFunctionRef definitionString) The Amazon States Language definition of the state machine.The state machine definition must be in JSON. See Amazon States Language .
- Parameters:
definitionString- The Amazon States Language definition of the state machine. This parameter is required.- Returns:
this- See Also:
-
definitionString
@Stability(Stable) public CfnStateMachinePropsMixin.Builder definitionString(IVersionRef definitionString) The Amazon States Language definition of the state machine.The state machine definition must be in JSON. See Amazon States Language .
- Parameters:
definitionString- The Amazon States Language definition of the state machine. This parameter is required.- Returns:
this- See Also:
-
definitionString
@Stability(Stable) public CfnStateMachinePropsMixin.Builder definitionString(ITopicRef definitionString) The Amazon States Language definition of the state machine.The state machine definition must be in JSON. See Amazon States Language .
- Parameters:
definitionString- The Amazon States Language definition of the state machine. This parameter is required.- Returns:
this- See Also:
-
definitionString
@Stability(Stable) public CfnStateMachinePropsMixin.Builder definitionString(IQueueRef definitionString) The Amazon States Language definition of the state machine.The state machine definition must be in JSON. See Amazon States Language .
- Parameters:
definitionString- The Amazon States Language definition of the state machine. This parameter is required.- Returns:
this- See Also:
-
definitionSubstitutions
@Stability(Stable) public CfnStateMachinePropsMixin.Builder definitionSubstitutions(Map<String, String> 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.
Substitutions must follow the syntax:
${key_name}or${variable_1,variable_2,...}.- Parameters:
definitionSubstitutions- A map (string to string) that specifies the mappings for placeholder variables in the state machine definition. This parameter is required.- Returns:
this- See Also:
-
definitionSubstitutions
@Stability(Stable) public CfnStateMachinePropsMixin.Builder definitionSubstitutions(IResolvable 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.
Substitutions must follow the syntax:
${key_name}or${variable_1,variable_2,...}.- Parameters:
definitionSubstitutions- A map (string to string) that specifies the mappings for placeholder variables in the state machine definition. This parameter is required.- Returns:
this- See Also:
-
encryptionConfiguration
@Stability(Stable) public CfnStateMachinePropsMixin.Builder encryptionConfiguration(IResolvable encryptionConfiguration) Encryption configuration for the state machine.- Parameters:
encryptionConfiguration- Encryption configuration for the state machine. This parameter is required.- Returns:
this- See Also:
-
encryptionConfiguration
@Stability(Stable) public CfnStateMachinePropsMixin.Builder encryptionConfiguration(CfnStateMachinePropsMixin.EncryptionConfigurationProperty encryptionConfiguration) Encryption configuration for the state machine.- Parameters:
encryptionConfiguration- Encryption configuration for the state machine. This parameter is required.- Returns:
this- See Also:
-
loggingConfiguration
@Stability(Stable) public CfnStateMachinePropsMixin.Builder loggingConfiguration(IResolvable loggingConfiguration) Defines what execution history events are logged and where they are logged.By default, the
levelis set toOFF. For more information see Log Levels in the AWS Step Functions User Guide.- Parameters:
loggingConfiguration- Defines what execution history events are logged and where they are logged. This parameter is required.- Returns:
this- See Also:
-
loggingConfiguration
@Stability(Stable) public CfnStateMachinePropsMixin.Builder loggingConfiguration(CfnStateMachinePropsMixin.LoggingConfigurationProperty loggingConfiguration) Defines what execution history events are logged and where they are logged.By default, the
levelis set toOFF. For more information see Log Levels in the AWS Step Functions User Guide.- Parameters:
loggingConfiguration- Defines what execution history events are logged and where they are logged. This parameter is required.- Returns:
this- See Also:
-
roleArn
The Amazon Resource Name (ARN) of the IAM role to use for this state machine.- Parameters:
roleArn- The Amazon Resource Name (ARN) of the IAM role to use for this state machine. This parameter is required.- Returns:
this- See Also:
-
roleArn
The Amazon Resource Name (ARN) of the IAM role to use for this state machine.- Parameters:
roleArn- The Amazon Resource Name (ARN) of the IAM role to use for this state machine. This parameter is required.- Returns:
this- See Also:
-
stateMachineName
@Stability(Stable) public CfnStateMachinePropsMixin.Builder stateMachineName(String stateMachineName) The name of the state machine.A name must not contain:
- white space
- brackets
< > { } [ ] - wildcard characters
? * - special characters
" # % \ ^ | ~$ & , ; : /` - control characters (
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.
- Parameters:
stateMachineName- The name of the state machine. This parameter is required.- Returns:
this- See Also:
-
stateMachineType
@Stability(Stable) public CfnStateMachinePropsMixin.Builder stateMachineType(String stateMachineType) Determines whether aSTANDARDorEXPRESSstate machine is created.The default is
STANDARD. You cannot update thetypeof a state machine once it has been created. For more information onSTANDARDandEXPRESSworkflows, see Standard Versus Express Workflows in the AWS Step Functions Developer Guide.- Parameters:
stateMachineType- Determines whether aSTANDARDorEXPRESSstate machine is created. This parameter is required.- Returns:
this- See Also:
-
tags
@Stability(Stable) public CfnStateMachinePropsMixin.Builder tags(List<? extends CfnStateMachinePropsMixin.TagsEntryProperty> tags) The list of tags to add to a resource.Tags may only contain Unicode letters, digits, white space, or these symbols: `_ . : / = + -
- Parameters:
tags- The list of tags to add to a resource. This parameter is required.- Returns:
this- See Also:
-
tracingConfiguration
@Stability(Stable) public CfnStateMachinePropsMixin.Builder tracingConfiguration(IResolvable tracingConfiguration) Selects whether or not the state machine's AWS X-Ray tracing is enabled.- Parameters:
tracingConfiguration- Selects whether or not the state machine's AWS X-Ray tracing is enabled. This parameter is required.- Returns:
this- See Also:
-
tracingConfiguration
@Stability(Stable) public CfnStateMachinePropsMixin.Builder tracingConfiguration(CfnStateMachinePropsMixin.TracingConfigurationProperty tracingConfiguration) Selects whether or not the state machine's AWS X-Ray tracing is enabled.- Parameters:
tracingConfiguration- Selects whether or not the state machine's AWS X-Ray tracing is enabled. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnStateMachinePropsMixin>- Returns:
- a newly built instance of
CfnStateMachinePropsMixin.
-