Amazon Elastic Container Service
API Reference (API Version 2014-11-13)
AWS services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with AWS services in China.

AwsVpcConfiguration

An object representing the networking details for a task or service.

Contents

assignPublicIp

Whether the task's elastic network interface receives a public IP address. The default value is DISABLED.

Type: String

Valid Values: ENABLED | DISABLED

Required: No

securityGroups

The security groups associated with the task or service. If you do not specify a security group, the default security group for the VPC is used. There is a limit of 5 security groups that can be specified per AwsVpcConfiguration.

Note

All specified security groups must be from the same VPC.

Type: Array of strings

Required: No

subnets

The subnets associated with the task or service. There is a limit of 16 subnets that can be specified per AwsVpcConfiguration.

Note

All specified subnets must be from the same VPC.

Type: Array of strings

Required: Yes

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

On this page: