libZSservicesZSamazonka-cloudwatch-eventsZSamazonka-cloudwatch-events
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.CloudWatchEvents.Types.NetworkConfiguration

Description

 
Synopsis

Documentation

data NetworkConfiguration Source #

This structure specifies the network configuration for an ECS task.

See: newNetworkConfiguration smart constructor.

Constructors

NetworkConfiguration' 

Fields

  • awsvpcConfiguration :: Maybe AwsVpcConfiguration

    Use this structure to specify the VPC subnets and security groups for the task, and whether a public IP address is to be used. This structure is relevant only for ECS tasks that use the awsvpc network mode.

Instances

Instances details
Eq NetworkConfiguration Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.NetworkConfiguration

Read NetworkConfiguration Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.NetworkConfiguration

Show NetworkConfiguration Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.NetworkConfiguration

Generic NetworkConfiguration Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.NetworkConfiguration

Associated Types

type Rep NetworkConfiguration :: Type -> Type #

NFData NetworkConfiguration Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.NetworkConfiguration

Methods

rnf :: NetworkConfiguration -> () #

Hashable NetworkConfiguration Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.NetworkConfiguration

ToJSON NetworkConfiguration Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.NetworkConfiguration

FromJSON NetworkConfiguration Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.NetworkConfiguration

type Rep NetworkConfiguration Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.NetworkConfiguration

type Rep NetworkConfiguration = D1 ('MetaData "NetworkConfiguration" "Amazonka.CloudWatchEvents.Types.NetworkConfiguration" "libZSservicesZSamazonka-cloudwatch-eventsZSamazonka-cloudwatch-events" '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 - Use this structure to specify the VPC subnets and security groups for the task, and whether a public IP address is to be used. This structure is relevant only for ECS tasks that use the awsvpc network mode.

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

Use this structure to specify the VPC subnets and security groups for the task, and whether a public IP address is to be used. This structure is relevant only for ECS tasks that use the awsvpc network mode.