AWS Fundamentals Logo
AWS Fundamentals
L1 Construct

CfnStateMachine

https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-resource-statemachine.html.

Import

import { CfnStateMachine } from 'aws-cdk-lib/aws-sam';

Or use the module namespace:

import * as sam from 'aws-cdk-lib/aws-sam';
// sam.CfnStateMachine

Properties

Configuration passed to the constructor as CfnStateMachineProps.

definitionOptional
any
definitionSubstitutionsOptional
{ [key: string]: string } | IResolvable
definitionUriOptional
string | IResolvable | S3LocationProperty
eventsOptional
IResolvable | { [key: string]: IResolvable | EventSourceProperty }
loggingOptional
IResolvable | LoggingConfigurationProperty
nameOptional
string
permissionsBoundariesOptional
string
policiesOptional
string | IResolvable | IAMPolicyDocumentProperty | string | IResolvable | IAMPolicyDocumentProperty | SAMPolicyTemplateProperty[]
roleOptional
string
tagsOptional
{ [key: string]: string }
tracingOptional
IResolvable | TracingConfigurationProperty
typeOptional
string

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

LevelL1 (CloudFormation)
Moduleaws-sam
Properties12

External Links