AWS::Batch::JobDefinition NetworkConfiguration - AWS CloudFormation

AWS::Batch::JobDefinition NetworkConfiguration

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


To declare this entity in your AWS CloudFormation template, use the following syntax:


{ "AssignPublicIp" : String }


AssignPublicIp: String



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".

Required: No

Type: String

Allowed values: ENABLED | DISABLED

Update requires: No interruption