This is the new AWS CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
AWS::ECS::TaskSet AwsVpcConfiguration
An object representing the networking details for a task or service. For example
				awsVpcConfiguration={subnets=["subnet-12344321"],securityGroups=["sg-12344321"]}.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "AssignPublicIp" :String, "SecurityGroups" :[ String, ... ], "Subnets" :[ String, ... ]}
YAML
AssignPublicIp:StringSecurityGroups:- StringSubnets:- String
Properties
- AssignPublicIp
- 
                    Whether the task's elastic network interface receives a public IP address. Consider the following when you set this value: - 
                            When you use create-serviceorupdate-service, the default isDISABLED.
- 
                            When the service deploymentControllerisECS, the value must beDISABLED.
 Required: No Type: String Allowed values: DISABLED | ENABLEDUpdate requires: Replacement 
- 
                            
- SecurityGroups
- 
                    The IDs of the security groups associated with the task or service. If you don't specify a security group, the default security group for the VPC is used. There's a limit of 5 security groups that can be specified. NoteAll specified security groups must be from the same VPC. Required: No Type: Array of String Maximum: 5Update requires: Replacement 
- Subnets
- 
                    The IDs of the subnets associated with the task or service. There's a limit of 16 subnets that can be specified. NoteAll specified subnets must be from the same VPC. Required: Yes Type: Array of String Maximum: 16Update requires: Replacement