@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)",
date="2023-03-14T16:25:29.051Z")
public interface CfnStateMachineProps
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.stepfunctions.*; Object definition; Object definitionSubstitutions; CfnStateMachineProps cfnStateMachineProps = CfnStateMachineProps.builder() .roleArn("roleArn") // the properties below are optional .definition(definition) .definitionS3Location(S3LocationProperty.builder() .bucket("bucket") .key("key") // the properties below are optional .version("version") .build()) .definitionString("definitionString") .definitionSubstitutions(Map.of( "definitionSubstitutionsKey", definitionSubstitutions)) .loggingConfiguration(LoggingConfigurationProperty.builder() .destinations(List.of(LogDestinationProperty.builder() .cloudWatchLogsLogGroup(CloudWatchLogsLogGroupProperty.builder() .logGroupArn("logGroupArn") .build()) .build())) .includeExecutionData(false) .level("level") .build()) .stateMachineName("stateMachineName") .stateMachineType("stateMachineType") .tags(List.of(TagsEntryProperty.builder() .key("key") .value("value") .build())) .tracingConfiguration(TracingConfigurationProperty.builder() .enabled(false) .build()) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnStateMachineProps.Builder
A builder for
CfnStateMachineProps |
static class |
CfnStateMachineProps.Jsii$Proxy
An implementation for
CfnStateMachineProps |
Modifier and Type | Method and Description |
---|---|
static CfnStateMachineProps.Builder |
builder() |
default java.lang.Object |
getDefinition()
The Amazon States Language definition of the state machine.
|
default java.lang.Object |
getDefinitionS3Location()
The name of the S3 bucket where the state machine definition is stored.
|
default java.lang.String |
getDefinitionString()
The Amazon States Language definition of the state machine.
|
default java.lang.Object |
getDefinitionSubstitutions()
A map (string to string) that specifies the mappings for placeholder variables in the state machine definition.
|
default java.lang.Object |
getLoggingConfiguration()
Defines what execution history events are logged and where they are logged.
|
java.lang.String |
getRoleArn()
The Amazon Resource Name (ARN) of the IAM role to use for this state machine.
|
default java.lang.String |
getStateMachineName()
The name of the state machine.
|
default java.lang.String |
getStateMachineType()
Determines whether a `STANDARD` or `EXPRESS` state machine is created.
|
default java.util.List<CfnStateMachine.TagsEntryProperty> |
getTags()
The list of tags to add to a resource.
|
default java.lang.Object |
getTracingConfiguration()
Selects whether or not the state machine's AWS X-Ray tracing is enabled.
|
java.lang.String getRoleArn()
default java.lang.Object getDefinition()
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 .
default java.lang.Object getDefinitionS3Location()
The state machine definition must be a JSON or YAML file.
default java.lang.String getDefinitionString()
The state machine definition must be in JSON. See Amazon States Language .
default java.lang.Object getDefinitionSubstitutions()
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.
default java.lang.Object getLoggingConfiguration()
By default, the
level
is set toOFF
. For more information see Log Levels in the AWS Step Functions User Guide.
default java.lang.String getStateMachineName()
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.
default java.lang.String getStateMachineType()
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.
default java.util.List<CfnStateMachine.TagsEntryProperty> getTags()
Tags may only contain Unicode letters, digits, white space, or these symbols: _ . : / = + - @
.
default java.lang.Object getTracingConfiguration()
static CfnStateMachineProps.Builder builder()
CfnStateMachineProps.Builder
of CfnStateMachineProps