Class: Aws::ECS::Types::NetworkConfiguration

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-ecs/types.rb

Overview

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
  },
}

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

Instance Attribute Summary collapse

Instance Attribute Details

#awsvpc_configurationTypes::AwsVpcConfiguration

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>


4189
4190
4191
4192
# File 'lib/aws-sdk-ecs/types.rb', line 4189

class NetworkConfiguration < Struct.new(
  :awsvpc_configuration)
  include Aws::Structure
end