Class CfnStateMachine
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.core.Construct
software.amazon.awscdk.core.CfnElement
software.amazon.awscdk.core.CfnRefElement
software.amazon.awscdk.core.CfnResource
software.amazon.awscdk.services.sam.CfnStateMachine
- All Implemented Interfaces:
IConstruct
,IDependable
,IInspectable
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:35.701Z")
@Stability(Stable)
public class CfnStateMachine
extends CfnResource
implements IInspectable
A CloudFormation
AWS::Serverless::StateMachine
.
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; CfnStateMachine cfnStateMachine = CfnStateMachine.Builder.create(this, "MyCfnStateMachine") .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();
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
Example:static final class
A fluent builder forCfnStateMachine
.static interface
Example:static interface
Example:static interface
Example:static interface
Example:static interface
Example:static interface
Example:static interface
Example:static interface
Example:static interface
Example:static interface
Example:static interface
Example:static interface
Example:static interface
Example:Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionCfnStateMachine
(Construct scope, String id) Create a newAWS::Serverless::StateMachine
.CfnStateMachine
(Construct scope, String id, CfnStateMachineProps props) Create a newAWS::Serverless::StateMachine
.protected
CfnStateMachine
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnStateMachine
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionAWS::Serverless::StateMachine.Definition
.AWS::Serverless::StateMachine.DefinitionSubstitutions
.AWS::Serverless::StateMachine.DefinitionUri
.AWS::Serverless::StateMachine.Events
.AWS::Serverless::StateMachine.Logging
.getName()
AWS::Serverless::StateMachine.Name
.AWS::Serverless::StateMachine.PermissionsBoundaries
.AWS::Serverless::StateMachine.Policies
.getRole()
AWS::Serverless::StateMachine.Role
.getTags()
AWS::Serverless::StateMachine.Tags
.AWS::Serverless::StateMachine.Tracing
.getType()
AWS::Serverless::StateMachine.Type
.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
setDefinition
(Object value) AWS::Serverless::StateMachine.Definition
.void
setDefinitionSubstitutions
(Map<String, String> value) AWS::Serverless::StateMachine.DefinitionSubstitutions
.void
AWS::Serverless::StateMachine.DefinitionSubstitutions
.void
setDefinitionUri
(String value) AWS::Serverless::StateMachine.DefinitionUri
.void
setDefinitionUri
(IResolvable value) AWS::Serverless::StateMachine.DefinitionUri
.void
AWS::Serverless::StateMachine.DefinitionUri
.void
AWS::Serverless::StateMachine.Events
.void
setEvents
(IResolvable value) AWS::Serverless::StateMachine.Events
.void
setLogging
(IResolvable value) AWS::Serverless::StateMachine.Logging
.void
AWS::Serverless::StateMachine.Logging
.void
AWS::Serverless::StateMachine.Name
.void
setPermissionsBoundaries
(String value) AWS::Serverless::StateMachine.PermissionsBoundaries
.void
setPolicies
(String value) AWS::Serverless::StateMachine.Policies
.void
setPolicies
(List<Object> value) AWS::Serverless::StateMachine.Policies
.void
setPolicies
(IResolvable value) AWS::Serverless::StateMachine.Policies
.void
AWS::Serverless::StateMachine.Policies
.void
AWS::Serverless::StateMachine.Role
.void
setTracing
(IResolvable value) AWS::Serverless::StateMachine.Tracing
.void
AWS::Serverless::StateMachine.Tracing
.void
AWS::Serverless::StateMachine.Type
.Methods inherited from class software.amazon.awscdk.core.CfnResource
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.core.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.core.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class. -
REQUIRED_TRANSFORM
TheTransform
a template must use in order to use this resource.
-
-
Constructor Details
-
CfnStateMachine
protected CfnStateMachine(software.amazon.jsii.JsiiObjectRef objRef) -
CfnStateMachine
protected CfnStateMachine(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnStateMachine
@Stability(Stable) public CfnStateMachine(@NotNull Construct scope, @NotNull String id, @Nullable CfnStateMachineProps props) Create a newAWS::Serverless::StateMachine
.- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
props
-- resource properties.
-
CfnStateMachine
Create a newAWS::Serverless::StateMachine
.- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspect
in interfaceIInspectable
- Parameters:
inspector
-- tree inspector to collect and process attributes.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderProperties
in classCfnResource
- Parameters:
props
- This parameter is required.
-
getCfnProperties
- Overrides:
getCfnProperties
in classCfnResource
-
getTags
AWS::Serverless::StateMachine.Tags
. -
getDefinition
AWS::Serverless::StateMachine.Definition
. -
setDefinition
AWS::Serverless::StateMachine.Definition
. -
getDefinitionSubstitutions
AWS::Serverless::StateMachine.DefinitionSubstitutions
. -
setDefinitionSubstitutions
AWS::Serverless::StateMachine.DefinitionSubstitutions
. -
setDefinitionSubstitutions
AWS::Serverless::StateMachine.DefinitionSubstitutions
. -
getDefinitionUri
AWS::Serverless::StateMachine.DefinitionUri
. -
setDefinitionUri
AWS::Serverless::StateMachine.DefinitionUri
. -
setDefinitionUri
AWS::Serverless::StateMachine.DefinitionUri
. -
setDefinitionUri
AWS::Serverless::StateMachine.DefinitionUri
. -
getEvents
AWS::Serverless::StateMachine.Events
. -
setEvents
AWS::Serverless::StateMachine.Events
. -
setEvents
AWS::Serverless::StateMachine.Events
. -
getLogging
AWS::Serverless::StateMachine.Logging
. -
setLogging
AWS::Serverless::StateMachine.Logging
. -
setLogging
@Stability(Stable) public void setLogging(@Nullable CfnStateMachine.LoggingConfigurationProperty value) AWS::Serverless::StateMachine.Logging
. -
getName
AWS::Serverless::StateMachine.Name
. -
setName
AWS::Serverless::StateMachine.Name
. -
getPermissionsBoundaries
AWS::Serverless::StateMachine.PermissionsBoundaries
. -
setPermissionsBoundaries
AWS::Serverless::StateMachine.PermissionsBoundaries
. -
getPolicies
AWS::Serverless::StateMachine.Policies
. -
setPolicies
AWS::Serverless::StateMachine.Policies
. -
setPolicies
AWS::Serverless::StateMachine.Policies
. -
setPolicies
@Stability(Stable) public void setPolicies(@Nullable CfnStateMachine.IAMPolicyDocumentProperty value) AWS::Serverless::StateMachine.Policies
. -
setPolicies
AWS::Serverless::StateMachine.Policies
. -
getRole
AWS::Serverless::StateMachine.Role
. -
setRole
AWS::Serverless::StateMachine.Role
. -
getTracing
AWS::Serverless::StateMachine.Tracing
. -
setTracing
AWS::Serverless::StateMachine.Tracing
. -
setTracing
@Stability(Stable) public void setTracing(@Nullable CfnStateMachine.TracingConfigurationProperty value) AWS::Serverless::StateMachine.Tracing
. -
getType
AWS::Serverless::StateMachine.Type
. -
setType
AWS::Serverless::StateMachine.Type
.
-