Class: Aws::Batch::Types::NetworkConfiguration

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

Overview

The network configuration for jobs that are running on Fargate resources. Jobs that are running on Amazon EC2 resources must not specify this parameter.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#assign_public_ipString

Indicates whether the job has a public IP address. For a job that’s running on Fargate resources in a private subnet to send outbound traffic to the internet (for example, to pull container images), the private subnet requires a NAT gateway be attached to route requests to the internet. For more information, see [Amazon ECS task networking] in the *Amazon Elastic Container Service Developer Guide*. The default value is “‘DISABLED`”.

[1]: docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html

Returns:

  • (String)


5911
5912
5913
5914
5915
# File 'lib/aws-sdk-batch/types.rb', line 5911

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