@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-04-27T09:48:13.888Z") @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.sam.*;
Object definition;
CfnStateMachineProps cfnStateMachineProps = CfnStateMachineProps.builder()
.definition(definition)
.definitionSubstitutions(Map.of(
"definitionSubstitutionsKey", "definitionSubstitutions"))
.definitionUri("definitionUri")
.events(Map.of(
"eventsKey", EventSourceProperty.builder()
.properties(CloudWatchEventEventProperty.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();
| 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()
`AWS::Serverless::StateMachine.Definition`.
|
default Object |
getDefinitionSubstitutions()
`AWS::Serverless::StateMachine.DefinitionSubstitutions`.
|
default Object |
getDefinitionUri()
`AWS::Serverless::StateMachine.DefinitionUri`.
|
default Object |
getEvents()
`AWS::Serverless::StateMachine.Events`.
|
default Object |
getLogging()
`AWS::Serverless::StateMachine.Logging`.
|
default String |
getName()
`AWS::Serverless::StateMachine.Name`.
|
default String |
getPermissionsBoundaries()
`AWS::Serverless::StateMachine.PermissionsBoundaries`.
|
default Object |
getPolicies()
`AWS::Serverless::StateMachine.Policies`.
|
default String |
getRole()
`AWS::Serverless::StateMachine.Role`.
|
default Map<String,String> |
getTags()
`AWS::Serverless::StateMachine.Tags`.
|
default Object |
getTracing()
`AWS::Serverless::StateMachine.Tracing`.
|
default String |
getType()
`AWS::Serverless::StateMachine.Type`.
|
@Stability(value=Stable) @Nullable default Object getDefinition()
@Stability(value=Stable) @Nullable default Object getDefinitionSubstitutions()
@Stability(value=Stable) @Nullable default Object getDefinitionUri()
@Stability(value=Stable) @Nullable default Object getEvents()
@Stability(value=Stable) @Nullable default Object getLogging()
@Stability(value=Stable) @Nullable default String getName()
@Stability(value=Stable) @Nullable default String getPermissionsBoundaries()
@Stability(value=Stable) @Nullable default Object getPolicies()
@Stability(value=Stable) @Nullable default String getRole()
@Stability(value=Stable) @Nullable default Map<String,String> getTags()
@Stability(value=Stable) @Nullable default Object getTracing()
@Stability(value=Stable) @Nullable default String getType()
@Stability(value=Stable) static CfnStateMachineProps.Builder builder()
CfnStateMachineProps.Builder of CfnStateMachinePropsCopyright © 2023. All rights reserved.