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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ecs/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.

All specified subnets and security groups must be from the same VPC.



6326
6327
6328
6329
6330
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 6326

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