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 (
Any
) –definition_substitutions (
Union
[IResolvable
,Mapping
[str
,str
],None
]) –definition_uri (
Union
[str
,IResolvable
,S3LocationProperty
,Dict
[str
,Any
],None
]) –events (
Union
[IResolvable
,Mapping
[str
,Union
[IResolvable
,EventSourceProperty
,Dict
[str
,Any
]]],None
]) –logging (
Union
[IResolvable
,LoggingConfigurationProperty
,Dict
[str
,Any
],None
]) –name (
Optional
[str
]) –permissions_boundaries (
Optional
[str
]) –policies (
Union
[str
,IResolvable
,IAMPolicyDocumentProperty
,Dict
[str
,Any
],Sequence
[Union
[str
,IResolvable
,IAMPolicyDocumentProperty
,Dict
[str
,Any
],SAMPolicyTemplateProperty
]],None
]) –role (
Optional
[str
]) –tags (
Optional
[Mapping
[str
,str
]]) –tracing (
Union
[IResolvable
,TracingConfigurationProperty
,Dict
[str
,Any
],None
]) –type (
Optional
[str
]) –
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import 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.ApiEventProperty( 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
-
- Type:
see
- definition_substitutions
-
- Type:
see
- definition_uri
-
- Type:
see
- events
-
- Type:
see
- logging
-
- Type:
see
- name
-
- Type:
see
- permissions_boundaries
-
- Type:
see
- policies
-
- Type:
see
- role
-
- Type:
see
- tags
-
- Type:
see
- tracing
-
- Type:
see