Amazon CloudFormation resources generated when AWS::Serverless::CapacityProvider is specified - Amazon Serverless Application Model
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Amazon CloudFormation resources generated when AWS::Serverless::CapacityProvider is specified

When an AWS::Serverless::CapacityProvider is specified, Amazon Serverless Application Model (Amazon SAM) generates an AWS::Lambda::CapacityProvider base Amazon CloudFormation resource.

AWS::Lambda::CapacityProvider

LogicalId: <capacityprovider‑LogicalId>

Referenceable property: N/A (you must use the LogicalId to reference this Amazon CloudFormation resource)

In addition to this Amazon CloudFormation resource, when AWS::Serverless::CapacityProvider is specified, Amazon SAM also generates Amazon CloudFormation resources for the following scenarios:

OperatorRole property is not specified

When the OperatorRole property of an AWS::Serverless::CapacityProvider is not specified, Amazon SAM generates an AWS::IAM::Role Amazon CloudFormation resource with the AWSLambdaManagedEC2ResourceOperator managed policy attached.

AWS::IAM::Role

LogicalId: <capacityprovider‑LogicalId>OperatorRole

Referenceable property: N/A (you must use the LogicalId to reference this Amazon CloudFormation resource)