class Aws::Batch::Types::NetworkConfiguration

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

@note When making an API call, you may pass NetworkConfiguration

data as a hash:

    {
      assign_public_ip: "ENABLED", # accepts ENABLED, DISABLED
    }

@!attribute [rw] assign_public_ip

Indicates whether the job should have a public IP address. For a job
that is 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][1]. The default value is "DISABLED".

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

@see docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/NetworkConfiguration AWS API Documentation

Constants

SENSITIVE