class Aws::ECS::Types::NetworkConfiguration

An object representing the network configuration for a task or service.

@note When making an API call, you may pass NetworkConfiguration

data as a hash:

    {
      awsvpc_configuration: {
        subnets: ["String"], # required
        security_groups: ["String"],
        assign_public_ip: "ENABLED", # accepts ENABLED, DISABLED
      },
    }

@!attribute [rw] awsvpc_configuration

The VPC subnets and security groups associated with a task.

<note markdown="1"> All specified subnets and security groups must be from the same VPC.

 </note>
@return [Types::AwsVpcConfiguration]

@see docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/NetworkConfiguration AWS API Documentation

Constants

SENSITIVE