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.

Constant Summary collapse

SENSITIVE =
[]

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>

7023
7024
7025
7026
7027
# File 'lib/aws-sdk-ecs/types.rb', line 7023

class NetworkConfiguration < Struct.new(
  :awsvpc_configuration)
  SENSITIVE = []
  include Aws::Structure
end