Interface CfnStateMachineProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnStateMachineProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-20T23:37:29.971Z")
@Stability(Stable)
public interface CfnStateMachineProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnStateMachine.
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.sam.*;
Object definition;
CfnStateMachineProps cfnStateMachineProps = CfnStateMachineProps.builder()
.definition(definition)
.definitionSubstitutions(Map.of(
"definitionSubstitutionsKey", "definitionSubstitutions"))
.definitionUri("definitionUri")
.events(Map.of(
"eventsKey", EventSourceProperty.builder()
.properties(ApiEventProperty.builder()
.method("method")
.path("path")
// the properties below are optional
.restApiId("restApiId")
.build())
.type("type")
.build()))
.logging(LoggingConfigurationProperty.builder()
.destinations(List.of(LogDestinationProperty.builder()
.cloudWatchLogsLogGroup(CloudWatchLogsLogGroupProperty.builder()
.logGroupArn("logGroupArn")
.build())
.build()))
.includeExecutionData(false)
.level("level")
.build())
.name("name")
.permissionsBoundaries("permissionsBoundaries")
.policies("policies")
.role("role")
.tags(Map.of(
"tagsKey", "tags"))
.tracing(TracingConfigurationProperty.builder()
.enabled(false)
.build())
.type("type")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnStateMachinePropsstatic final classAn implementation forCfnStateMachineProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnStateMachineProps.Builderbuilder()default Objectdefault Objectdefault Objectdefault ObjectReturns union: eitherIResolvableor Mapinvalid input: '<'String, eitherIResolvableorCfnStateMachine.EventSourceProperty>default ObjectReturns union: eitherIResolvableorCfnStateMachine.LoggingConfigurationPropertydefault StringgetName()default Stringdefault ObjectReturns union: eitherStringorIResolvableorCfnStateMachine.IAMPolicyDocumentPropertyor Listinvalid input: '<'eitherStringorIResolvableorCfnStateMachine.IAMPolicyDocumentPropertyorCfnStateMachine.SAMPolicyTemplateProperty>default StringgetRole()getTags()default ObjectReturns union: eitherIResolvableorCfnStateMachine.TracingConfigurationPropertydefault StringgetType()Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDefinition
- See Also:
-
getDefinitionSubstitutions
- See Also:
-
getDefinitionUri
- See Also:
-
getEvents
Returns union: eitherIResolvableor Mapinvalid input: '<'String, eitherIResolvableorCfnStateMachine.EventSourceProperty>- See Also:
-
getLogging
Returns union: eitherIResolvableorCfnStateMachine.LoggingConfigurationProperty- See Also:
-
getName
- See Also:
-
getPermissionsBoundaries
- See Also:
-
getPolicies
Returns union: eitherStringorIResolvableorCfnStateMachine.IAMPolicyDocumentPropertyor Listinvalid input: '<'eitherStringorIResolvableorCfnStateMachine.IAMPolicyDocumentPropertyorCfnStateMachine.SAMPolicyTemplateProperty>- See Also:
-
getRole
- See Also:
-
getTags
- See Also:
-
getTracing
Returns union: eitherIResolvableorCfnStateMachine.TracingConfigurationProperty- See Also:
-
getType
- See Also:
-
builder
- Returns:
- a
CfnStateMachineProps.BuilderofCfnStateMachineProps
-