amazonka-ec2-2.0: Amazon Elastic Compute Cloud 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.EC2.Types.PeeringConnectionOptions

Description

 
Synopsis

Documentation

data PeeringConnectionOptions Source #

We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see Migrate from EC2-Classic to a VPC in the Amazon Elastic Compute Cloud User Guide.

Describes the VPC peering connection options.

See: newPeeringConnectionOptions smart constructor.

Constructors

PeeringConnectionOptions' 

Fields

Instances

Instances details
FromXML PeeringConnectionOptions Source # 
Instance details

Defined in Amazonka.EC2.Types.PeeringConnectionOptions

Generic PeeringConnectionOptions Source # 
Instance details

Defined in Amazonka.EC2.Types.PeeringConnectionOptions

Associated Types

type Rep PeeringConnectionOptions :: Type -> Type #

Read PeeringConnectionOptions Source # 
Instance details

Defined in Amazonka.EC2.Types.PeeringConnectionOptions

Show PeeringConnectionOptions Source # 
Instance details

Defined in Amazonka.EC2.Types.PeeringConnectionOptions

NFData PeeringConnectionOptions Source # 
Instance details

Defined in Amazonka.EC2.Types.PeeringConnectionOptions

Eq PeeringConnectionOptions Source # 
Instance details

Defined in Amazonka.EC2.Types.PeeringConnectionOptions

Hashable PeeringConnectionOptions Source # 
Instance details

Defined in Amazonka.EC2.Types.PeeringConnectionOptions

type Rep PeeringConnectionOptions Source # 
Instance details

Defined in Amazonka.EC2.Types.PeeringConnectionOptions

type Rep PeeringConnectionOptions = D1 ('MetaData "PeeringConnectionOptions" "Amazonka.EC2.Types.PeeringConnectionOptions" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "PeeringConnectionOptions'" 'PrefixI 'True) (S1 ('MetaSel ('Just "allowDnsResolutionFromRemoteVpc") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "allowEgressFromLocalClassicLinkToRemoteVpc") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "allowEgressFromLocalVpcToRemoteClassicLink") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))))

newPeeringConnectionOptions :: PeeringConnectionOptions Source #

Create a value of PeeringConnectionOptions 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:allowDnsResolutionFromRemoteVpc:PeeringConnectionOptions', peeringConnectionOptions_allowDnsResolutionFromRemoteVpc - If true, the public DNS hostnames of instances in the specified VPC resolve to private IP addresses when queried from instances in the peer VPC.

$sel:allowEgressFromLocalClassicLinkToRemoteVpc:PeeringConnectionOptions', peeringConnectionOptions_allowEgressFromLocalClassicLinkToRemoteVpc - If true, enables outbound communication from an EC2-Classic instance that's linked to a local VPC using ClassicLink to instances in a peer VPC.

$sel:allowEgressFromLocalVpcToRemoteClassicLink:PeeringConnectionOptions', peeringConnectionOptions_allowEgressFromLocalVpcToRemoteClassicLink - If true, enables outbound communication from instances in a local VPC to an EC2-Classic instance that's linked to a peer VPC using ClassicLink.

peeringConnectionOptions_allowDnsResolutionFromRemoteVpc :: Lens' PeeringConnectionOptions (Maybe Bool) Source #

If true, the public DNS hostnames of instances in the specified VPC resolve to private IP addresses when queried from instances in the peer VPC.

peeringConnectionOptions_allowEgressFromLocalClassicLinkToRemoteVpc :: Lens' PeeringConnectionOptions (Maybe Bool) Source #

If true, enables outbound communication from an EC2-Classic instance that's linked to a local VPC using ClassicLink to instances in a peer VPC.

peeringConnectionOptions_allowEgressFromLocalVpcToRemoteClassicLink :: Lens' PeeringConnectionOptions (Maybe Bool) Source #

If true, enables outbound communication from instances in a local VPC to an EC2-Classic instance that's linked to a peer VPC using ClassicLink.