Interface CfnStateMachineMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnStateMachineMixinProps.Jsii$Proxy
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.stepfunctions.*;
Object definition;
CfnStateMachineMixinProps cfnStateMachineMixinProps = CfnStateMachineMixinProps.builder()
.definition(definition)
.definitionS3Location(S3LocationProperty.builder()
.bucket("bucket")
.key("key")
.version("version")
.build())
.definitionString("definitionString")
.definitionSubstitutions(Map.of(
"definitionSubstitutionsKey", "definitionSubstitutions"))
.encryptionConfiguration(EncryptionConfigurationProperty.builder()
.kmsDataKeyReusePeriodSeconds(123)
.kmsKeyId("kmsKeyId")
.type("type")
.build())
.loggingConfiguration(LoggingConfigurationProperty.builder()
.destinations(List.of(LogDestinationProperty.builder()
.cloudWatchLogsLogGroup(CloudWatchLogsLogGroupProperty.builder()
.logGroupArn("logGroupArn")
.build())
.build()))
.includeExecutionData(false)
.level("level")
.build())
.roleArn("roleArn")
.stateMachineName("stateMachineName")
.stateMachineType("stateMachineType")
.tags(List.of(TagsEntryProperty.builder()
.key("key")
.value("value")
.build()))
.tracingConfiguration(TracingConfigurationProperty.builder()
.enabled(false)
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnStateMachineMixinPropsstatic final classAn implementation forCfnStateMachineMixinProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectThe Amazon States Language definition of the state machine.default ObjectThe name of the S3 bucket where the state machine definition is stored.default ObjectThe Amazon States Language definition of the state machine.default ObjectA map (string to string) that specifies the mappings for placeholder variables in the state machine definition.default ObjectEncryption configuration for the state machine.default ObjectDefines what execution history events are logged and where they are logged.default ObjectThe Amazon Resource Name (ARN) of the IAM role to use for this state machine.default StringThe name of the state machine.default StringDetermines whether aSTANDARDorEXPRESSstate machine is created.getTags()The list of tags to add to a resource.default ObjectSelects whether or not the state machine's AWS X-Ray tracing is enabled.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
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 CloudFormation template file. See Amazon States Language .
- See Also:
-
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.
Returns union: either
IResolvableorCfnStateMachinePropsMixin.S3LocationProperty- See Also:
-
getDefinitionString
The Amazon States Language definition of the state machine.The state machine definition must be in JSON. See Amazon States Language .
Returns union: either
StringorITableReforITaskDefinitionReforIFunctionReforIVersionReforITopicReforIQueueRef- See Also:
-
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.
Substitutions must follow the syntax:
${key_name}or${variable_1,variable_2,...}.Returns union: either Mapinvalid input: '<'String,
String> orIResolvable- See Also:
-
getEncryptionConfiguration
Encryption configuration for the state machine.Returns union: either
IResolvableorCfnStateMachinePropsMixin.EncryptionConfigurationProperty- See Also:
-
getLoggingConfiguration
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.Returns union: either
IResolvableorCfnStateMachinePropsMixin.LoggingConfigurationProperty- See Also:
-
getRoleArn
The Amazon Resource Name (ARN) of the IAM role to use for this state machine.- See Also:
-
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.
- See Also:
-
getStateMachineType
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.- See Also:
-
getTags
The list of tags to add to a resource.Tags may only contain Unicode letters, digits, white space, or these symbols: `_ . : / = + -
- See Also:
-
getTracingConfiguration
Selects whether or not the state machine's AWS X-Ray tracing is enabled.Returns union: either
IResolvableorCfnStateMachinePropsMixin.TracingConfigurationProperty- See Also:
-
builder
- Returns:
- a
CfnStateMachineMixinProps.BuilderofCfnStateMachineMixinProps
-