CfnStateMachineProps
- class aws_cdk.aws_sam.CfnStateMachineProps(*, definition=None, definition_substitutions=None, definition_uri=None, events=None, logging=None, name=None, permissions_boundaries=None, policies=None, role=None, tags=None, tracing=None, type=None)
Bases:
object
Properties for defining a
CfnStateMachine
.- Parameters:
definition (
Optional
[Any
]) –AWS::Serverless::StateMachine.Definition
.definition_substitutions (
Union
[IResolvable
,Mapping
[str
,str
],None
]) –AWS::Serverless::StateMachine.DefinitionSubstitutions
.definition_uri (
Union
[str
,IResolvable
,S3LocationProperty
,Dict
[str
,Any
],None
]) –AWS::Serverless::StateMachine.DefinitionUri
.events (
Union
[IResolvable
,Mapping
[str
,Union
[IResolvable
,EventSourceProperty
,Dict
[str
,Any
]]],None
]) –AWS::Serverless::StateMachine.Events
.logging (
Union
[IResolvable
,LoggingConfigurationProperty
,Dict
[str
,Any
],None
]) –AWS::Serverless::StateMachine.Logging
.name (
Optional
[str
]) –AWS::Serverless::StateMachine.Name
.permissions_boundaries (
Optional
[str
]) –AWS::Serverless::StateMachine.PermissionsBoundaries
.policies (
Union
[str
,IResolvable
,IAMPolicyDocumentProperty
,Dict
[str
,Any
],Sequence
[Union
[str
,IResolvable
,IAMPolicyDocumentProperty
,Dict
[str
,Any
],SAMPolicyTemplateProperty
]],None
]) –AWS::Serverless::StateMachine.Policies
.role (
Optional
[str
]) –AWS::Serverless::StateMachine.Role
.tags (
Optional
[Mapping
[str
,str
]]) –AWS::Serverless::StateMachine.Tags
.tracing (
Union
[IResolvable
,TracingConfigurationProperty
,Dict
[str
,Any
],None
]) –AWS::Serverless::StateMachine.Tracing
.type (
Optional
[str
]) –AWS::Serverless::StateMachine.Type
.
- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_sam as sam # definition: Any cfn_state_machine_props = sam.CfnStateMachineProps( definition=definition, definition_substitutions={ "definition_substitutions_key": "definitionSubstitutions" }, definition_uri="definitionUri", events={ "events_key": sam.CfnStateMachine.EventSourceProperty( properties=sam.CfnStateMachine.CloudWatchEventEventProperty( method="method", path="path", # the properties below are optional rest_api_id="restApiId" ), type="type" ) }, logging=sam.CfnStateMachine.LoggingConfigurationProperty( destinations=[sam.CfnStateMachine.LogDestinationProperty( cloud_watch_logs_log_group=sam.CfnStateMachine.CloudWatchLogsLogGroupProperty( log_group_arn="logGroupArn" ) )], include_execution_data=False, level="level" ), name="name", permissions_boundaries="permissionsBoundaries", policies="policies", role="role", tags={ "tags_key": "tags" }, tracing=sam.CfnStateMachine.TracingConfigurationProperty( enabled=False ), type="type" )
Attributes
- definition
AWS::Serverless::StateMachine.Definition
.
- definition_substitutions
AWS::Serverless::StateMachine.DefinitionSubstitutions
.
- definition_uri
AWS::Serverless::StateMachine.DefinitionUri
.
- events
AWS::Serverless::StateMachine.Events
.
- logging
AWS::Serverless::StateMachine.Logging
.
- name
AWS::Serverless::StateMachine.Name
.
- permissions_boundaries
AWS::Serverless::StateMachine.PermissionsBoundaries
.
- policies
AWS::Serverless::StateMachine.Policies
.
- role
AWS::Serverless::StateMachine.Role
.
- tags
AWS::Serverless::StateMachine.Tags
.
- tracing
AWS::Serverless::StateMachine.Tracing
.
- type
AWS::Serverless::StateMachine.Type
.