class Aws::ECS::Types::AwsVpcConfiguration
An object representing the networking details for a task or service.
@note When making an API call, you may pass AwsVpcConfiguration
data as a hash: { subnets: ["String"], # required security_groups: ["String"], assign_public_ip: "ENABLED", # accepts ENABLED, DISABLED }
@!attribute [rw] subnets
The IDs of the subnets associated with the task or service. There is a limit of 16 subnets that can be specified per `AwsVpcConfiguration`. <note markdown="1"> All specified subnets must be from the same VPC. </note> @return [Array<String>]
@!attribute [rw] security_groups
The IDs of 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 markdown="1"> All specified security groups must be from the same VPC. </note> @return [Array<String>]
@!attribute [rw] assign_public_ip
Whether the task's elastic network interface receives a public IP address. The default value is `DISABLED`. @return [String]
@see docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/AwsVpcConfiguration AWS API Documentation
Constants
- SENSITIVE