libZSservicesZSamazonka-batchZSamazonka-batch
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Batch.Types.NetworkConfiguration

Description

 
Synopsis

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.

Constructors

NetworkConfiguration' 

Fields

  • assignPublicIp :: Maybe 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".

Instances

Instances details
Eq NetworkConfiguration Source # 
Instance details

Defined in Amazonka.Batch.Types.NetworkConfiguration

Read NetworkConfiguration Source # 
Instance details

Defined in Amazonka.Batch.Types.NetworkConfiguration

Show NetworkConfiguration Source # 
Instance details

Defined in Amazonka.Batch.Types.NetworkConfiguration

Generic NetworkConfiguration Source # 
Instance details

Defined in Amazonka.Batch.Types.NetworkConfiguration

Associated Types

type Rep NetworkConfiguration :: Type -> Type #

NFData NetworkConfiguration Source # 
Instance details

Defined in Amazonka.Batch.Types.NetworkConfiguration

Methods

rnf :: NetworkConfiguration -> () #

Hashable NetworkConfiguration Source # 
Instance details

Defined in Amazonka.Batch.Types.NetworkConfiguration

ToJSON NetworkConfiguration Source # 
Instance details

Defined in Amazonka.Batch.Types.NetworkConfiguration

FromJSON NetworkConfiguration Source # 
Instance details

Defined in Amazonka.Batch.Types.NetworkConfiguration

type Rep NetworkConfiguration Source # 
Instance details

Defined in Amazonka.Batch.Types.NetworkConfiguration

type Rep NetworkConfiguration = D1 ('MetaData "NetworkConfiguration" "Amazonka.Batch.Types.NetworkConfiguration" "libZSservicesZSamazonka-batchZSamazonka-batch" 'False) (C1 ('MetaCons "NetworkConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "assignPublicIp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AssignPublicIp))))

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