Interface CfnStateMachineProps

All Superinterfaces:
All Known Implementing Classes:

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:39.872Z") @Stability(Stable) public interface CfnStateMachineProps extends
Properties for defining a CfnStateMachine.


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 Object definition;
 Object definitionSubstitutions;
 CfnStateMachineProps cfnStateMachineProps = CfnStateMachineProps.builder()
         // the properties below are optional
                 // the properties below are optional
                 "definitionSubstitutionsKey", definitionSubstitutions))
  • Method Details

    • getRoleArn

      @Stability(Stable) @NotNull String getRoleArn()
      The Amazon Resource Name (ARN) of the IAM role to use for this state machine.
    • getDefinition

      @Stability(Stable) @Nullable default Object getDefinition()
      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 .

    • getDefinitionS3Location

      @Stability(Stable) @Nullable default Object getDefinitionS3Location()
      The name of the S3 bucket where the state machine definition is stored.

      The state machine definition must be a JSON or YAML file.

    • getDefinitionString

      @Stability(Stable) @Nullable default String getDefinitionString()
      The Amazon States Language definition of the state machine.

      The state machine definition must be in JSON. See Amazon States Language .

    • getDefinitionSubstitutions

      @Stability(Stable) @Nullable default Object getDefinitionSubstitutions()
      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.

    • getLoggingConfiguration

      @Stability(Stable) @Nullable default Object getLoggingConfiguration()
      Defines what execution history events are logged and where they are logged.

      By default, the level is set to OFF . For more information see Log Levels in the AWS Step Functions User Guide.

    • getStateMachineName

      @Stability(Stable) @Nullable default String getStateMachineName()
      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.

    • getStateMachineType

      @Stability(Stable) @Nullable default String getStateMachineType()
      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.

    • getTags

      @Stability(Stable) @Nullable default List<CfnStateMachine.TagsEntryProperty> getTags()
      The list of tags to add to a resource.

      Tags may only contain Unicode letters, digits, white space, or these symbols: _ . : / = + - @ .

    • getTracingConfiguration

      @Stability(Stable) @Nullable default Object getTracingConfiguration()
      Selects whether or not the state machine's AWS X-Ray tracing is enabled.
    • builder

      @Stability(Stable) static CfnStateMachineProps.Builder builder()
      a CfnStateMachineProps.Builder of CfnStateMachineProps