View a markdown version of this page

AWS::Batch::ComputeEnvironment ManagedInstancesNetworkConfiguration - AWS CloudFormation

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

AWS::Batch::ComputeEnvironment ManagedInstancesNetworkConfiguration

The network configuration for Amazon ECS Managed Instances. Specifies the VPC subnets and security groups where instances are launched.

Syntax

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

JSON

{ "SecurityGroups" : [ String, ... ], "Subnets" : [ String, ... ] }

YAML

SecurityGroups: - String Subnets: - String

Properties

SecurityGroups

The VPC security groups to associate with the managed instances.

Required: Yes

Type: Array of String

Update requires: No interruption

Subnets

The VPC subnets where managed instances are launched. If your subnets don't provide public IP addresses, they must have a NAT gateway for outbound internet access.

Required: Yes

Type: Array of String

Update requires: No interruption