@Generated(value="jsii-pacmak/1.60.0 (build ebcefe6)", date="2022-07-13T22:11:54.673Z") @Stability(value=Stable) public interface CfnStateMachineProps extends software.amazon.jsii.JsiiSerializable
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;
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 Object |
getDefinition()
The Amazon States Language definition of the state machine.
|
default Object |
getDefinitionS3Location()
The name of the S3 bucket where the state machine definition is stored.
|
default String |
getDefinitionString()
The Amazon States Language definition of the state machine.
|
default Object |
getDefinitionSubstitutions()
A map (string to string) that specifies the mappings for placeholder variables in the state machine definition.
|
default Object |
getLoggingConfiguration()
Defines what execution history events are logged and where they are logged.
|
String |
getRoleArn()
The Amazon Resource Name (ARN) of the IAM role to use for this state machine.
|
default String |
getStateMachineName()
The name of the state machine.
|
default String |
getStateMachineType()
Determines whether a `STANDARD` or `EXPRESS` state machine is created.
|
default List<CfnStateMachine.TagsEntryProperty> |
getTags()
The list of tags to add to a resource.
|
default Object |
getTracingConfiguration()
Selects whether or not the state machine's AWS X-Ray tracing is enabled.
|
@Stability(value=Stable) @NotNull String getRoleArn()
@Stability(value=Stable) @Nullable default 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 .
@Stability(value=Stable) @Nullable default Object getDefinitionS3Location()
The state machine definition must be a JSON or YAML file.
@Stability(value=Stable) @Nullable default String getDefinitionString()
The state machine definition must be in JSON. See Amazon States Language .
@Stability(value=Stable) @Nullable default 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.
@Stability(value=Stable) @Nullable default Object getLoggingConfiguration()
By default, the
levelis set toOFF. For more information see Log Levels in the AWS Step Functions User Guide.
@Stability(value=Stable) @Nullable default 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.
@Stability(value=Stable) @Nullable default 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.
@Stability(value=Stable) @Nullable default List<CfnStateMachine.TagsEntryProperty> getTags()
Tags may only contain Unicode letters, digits, white space, or these symbols: _ . : / = + - @ .
@Stability(value=Stable) @Nullable default Object getTracingConfiguration()
@Stability(value=Stable) static CfnStateMachineProps.Builder builder()
CfnStateMachineProps.Builder of CfnStateMachinePropsCopyright © 2022. All rights reserved.