You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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.

Instance Attribute Summary collapse

Instance Attribute Details

#awsvpc_configurationTypes::AwsVpcConfiguration

The VPC subnets and security groups associated with a task.



3196
3197
3198
3199
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 3196

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