Skip to content

NetworkConfiguration

Source code in docs_src/capo_batch/types/network_configuration.py
class NetworkConfiguration(TypedDict, closed=True):
    assign_public_ip: NotRequired["capo_batch.types.assign_public_ip.AssignPublicIp"]
    """<p>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 <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html">Amazon ECS task networking</a> in the <i>Amazon Elastic Container Service Developer Guide</i>. The default value is "<code>DISABLED</code>".</p>"""

assign_public_ip instance-attribute

assign_public_ip: NotRequired[AssignPublicIp]

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