Class: Aws::Batch::Types::NetworkConfiguration
- Inherits:
-
Struct
- Object
- Struct
- Aws::Batch::Types::NetworkConfiguration
- Defined in:
- gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb
Overview
Note:
When making an API call, you may pass NetworkConfiguration data as a hash:
{
assign_public_ip: "ENABLED", # accepts ENABLED, DISABLED
}
The network configuration for jobs running on Fargate resources. Jobs running on EC2 resources must not specify this parameter.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#assign_public_ip ⇒ String
Indicates whether the job should have a public IP address.
Instance Attribute Details
#assign_public_ip ⇒ String
Indicates whether the job should have a public IP address. For a job running on Fargate resources in a private subnet to send outbound traffic to the internet (for example, in order 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. The default value is "DISABLED".
3530 3531 3532 3533 3534 |
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 3530 class NetworkConfiguration < Struct.new( :assign_public_ip) SENSITIVE = [] include Aws::Structure end |