View a markdown version of this page

AWS::Lambda::NetworkConnector VpcEgressConfiguration - Amazon CloudFormation
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).

This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon CloudFormation User Guide.

AWS::Lambda::NetworkConnector VpcEgressConfiguration

The VPC egress configuration for the network connector. Specifies the subnets, security groups, and network protocol for routing outbound traffic through your VPC.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "AssociatedComputeResourceTypes" : [ String, ... ], "NetworkProtocol" : String, "SecurityGroupIds" : [ String, ... ], "SubnetIds" : [ String, ... ] }

YAML

AssociatedComputeResourceTypes: - String NetworkProtocol: String SecurityGroupIds: - String SubnetIds: - String

Properties

AssociatedComputeResourceTypes

The types of Lambda compute resources that can use this connector. Supported value: MicroVm.

Required: Yes

Type: Array of String

Allowed values: MicroVm

Minimum: 1

Maximum: 1

Update requires: No interruption

NetworkProtocol

The network protocol for the connector. Specify IPv4 for IPv4-only networking, or DualStack for both IPv4 and IPv6.

Valid Values: IPv4 | DualStack

Required: No

Type: String

Allowed values: IPv4 | DualStack

Update requires: No interruption

SecurityGroupIds

The IDs of the VPC security groups to attach to the ENIs. Specify 0 to 5 security groups. All security groups must be in the same VPC as the subnets.

Required: No

Type: Array of String

Minimum: 0 | 0

Maximum: 1024 | 5

Update requires: No interruption

SubnetIds

The IDs of the VPC subnets where Lambda provisions elastic network interfaces (ENIs). Specify 1 to 16 subnets. All subnets must be in the same VPC.

Required: Yes

Type: Array of String

Minimum: 0 | 1

Maximum: 1024 | 16

Update requires: No interruption