Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Documentation
data NetworkConfiguration Source #
The network configuration for jobs that are running on Fargate resources. Jobs that are running on EC2 resources must not specify this parameter.
See: newNetworkConfiguration
smart constructor.
NetworkConfiguration' | |
|
Instances
newNetworkConfiguration :: NetworkConfiguration Source #
Create a value of NetworkConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:assignPublicIp:NetworkConfiguration'
, networkConfiguration_assignPublicIp
- 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.
The default value is "DISABLED".
networkConfiguration_assignPublicIp :: Lens' NetworkConfiguration (Maybe AssignPublicIp) Source #
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. The default value is "DISABLED".