amazonka-ecs-2.0: Amazon EC2 Container Service 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.ECS.Types.NetworkConfiguration

Description

 
Synopsis

Documentation

data NetworkConfiguration Source #

An object representing the network configuration for a task or service.

See: newNetworkConfiguration smart constructor.

Constructors

NetworkConfiguration' 

Fields

Instances

Instances details
FromJSON NetworkConfiguration Source # 
Instance details

Defined in Amazonka.ECS.Types.NetworkConfiguration

ToJSON NetworkConfiguration Source # 
Instance details

Defined in Amazonka.ECS.Types.NetworkConfiguration

Generic NetworkConfiguration Source # 
Instance details

Defined in Amazonka.ECS.Types.NetworkConfiguration

Associated Types

type Rep NetworkConfiguration :: Type -> Type #

Read NetworkConfiguration Source # 
Instance details

Defined in Amazonka.ECS.Types.NetworkConfiguration

Show NetworkConfiguration Source # 
Instance details

Defined in Amazonka.ECS.Types.NetworkConfiguration

NFData NetworkConfiguration Source # 
Instance details

Defined in Amazonka.ECS.Types.NetworkConfiguration

Methods

rnf :: NetworkConfiguration -> () #

Eq NetworkConfiguration Source # 
Instance details

Defined in Amazonka.ECS.Types.NetworkConfiguration

Hashable NetworkConfiguration Source # 
Instance details

Defined in Amazonka.ECS.Types.NetworkConfiguration

type Rep NetworkConfiguration Source # 
Instance details

Defined in Amazonka.ECS.Types.NetworkConfiguration

type Rep NetworkConfiguration = D1 ('MetaData "NetworkConfiguration" "Amazonka.ECS.Types.NetworkConfiguration" "amazonka-ecs-2.0-3xFxVqi9x5nBZ44jBEC5G8" 'False) (C1 ('MetaCons "NetworkConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "awsvpcConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AwsVpcConfiguration))))

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:awsvpcConfiguration:NetworkConfiguration', networkConfiguration_awsvpcConfiguration - The VPC subnets and security groups that are associated with a task.

All specified subnets and security groups must be from the same VPC.

networkConfiguration_awsvpcConfiguration :: Lens' NetworkConfiguration (Maybe AwsVpcConfiguration) Source #

The VPC subnets and security groups that are associated with a task.

All specified subnets and security groups must be from the same VPC.