Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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 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
".
networkConfiguration_assignPublicIp :: Lens' NetworkConfiguration (Maybe AssignPublicIp) Source #
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
".