amazonka-batch-2.0: Amazon Batch SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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

Instances

Instances details
FromJSON NetworkConfiguration Source # 
Instance details

Defined in Amazonka.Batch.Types.NetworkConfiguration

ToJSON 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 #

Read NetworkConfiguration Source # 
Instance details

Defined in Amazonka.Batch.Types.NetworkConfiguration

Show NetworkConfiguration Source # 
Instance details

Defined in Amazonka.Batch.Types.NetworkConfiguration

NFData NetworkConfiguration Source # 
Instance details

Defined in Amazonka.Batch.Types.NetworkConfiguration

Methods

rnf :: NetworkConfiguration -> () #

Eq NetworkConfiguration Source # 
Instance details

Defined in Amazonka.Batch.Types.NetworkConfiguration

Hashable 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" "amazonka-batch-2.0-Ey2VZ5obnq65VwmlrJ2r2K" '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 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".