View a markdown version of this page

CloudFormation resources generated when AWS::Serverless::NetworkConnector is specified - AWS Serverless Application Model

CloudFormation resources generated when AWS::Serverless::NetworkConnector is specified

When you specify an AWS::Serverless::NetworkConnector, AWS Serverless Application Model (AWS SAM) generates an AWS::Lambda::NetworkConnector base CloudFormation resource.

AWS::Lambda::NetworkConnector

LogicalId: <networkconnector‑LogicalId>

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

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

OperatorRole property is not specified

When you don't specify the OperatorRole property of an AWS::Serverless::NetworkConnector, AWS SAM generates an AWS::IAM::Role CloudFormation resource with the AWSLambdaNetworkConnectorOperatorPolicy AWS managed policy attached.

The role trust policy allows the lambda.amazonaws.com service principal to assume the role.

AWS::IAM::Role

LogicalId: <networkconnector‑LogicalId>OperatorRole