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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing NetworkConfiguration as input to an Aws::Client method, you can use a vanilla 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.

Returned by:

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.

Returns: