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

Description

 
Synopsis

Documentation

data TargetNetwork Source #

Describes a target network associated with a Client VPN endpoint.

See: newTargetNetwork smart constructor.

Constructors

TargetNetwork' 

Fields

Instances

Instances details
FromXML TargetNetwork Source # 
Instance details

Defined in Amazonka.EC2.Types.TargetNetwork

Generic TargetNetwork Source # 
Instance details

Defined in Amazonka.EC2.Types.TargetNetwork

Associated Types

type Rep TargetNetwork :: Type -> Type #

Read TargetNetwork Source # 
Instance details

Defined in Amazonka.EC2.Types.TargetNetwork

Show TargetNetwork Source # 
Instance details

Defined in Amazonka.EC2.Types.TargetNetwork

NFData TargetNetwork Source # 
Instance details

Defined in Amazonka.EC2.Types.TargetNetwork

Methods

rnf :: TargetNetwork -> () #

Eq TargetNetwork Source # 
Instance details

Defined in Amazonka.EC2.Types.TargetNetwork

Hashable TargetNetwork Source # 
Instance details

Defined in Amazonka.EC2.Types.TargetNetwork

type Rep TargetNetwork Source # 
Instance details

Defined in Amazonka.EC2.Types.TargetNetwork

type Rep TargetNetwork = D1 ('MetaData "TargetNetwork" "Amazonka.EC2.Types.TargetNetwork" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "TargetNetwork'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "associationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "clientVpnEndpointId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "securityGroups") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))) :*: (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AssociationStatus)) :*: (S1 ('MetaSel ('Just "targetNetworkId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "vpcId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newTargetNetwork :: TargetNetwork Source #

Create a value of TargetNetwork 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:associationId:TargetNetwork', targetNetwork_associationId - The ID of the association.

$sel:clientVpnEndpointId:TargetNetwork', targetNetwork_clientVpnEndpointId - The ID of the Client VPN endpoint with which the target network is associated.

$sel:securityGroups:TargetNetwork', targetNetwork_securityGroups - The IDs of the security groups applied to the target network association.

$sel:status:TargetNetwork', targetNetwork_status - The current state of the target network association.

$sel:targetNetworkId:TargetNetwork', targetNetwork_targetNetworkId - The ID of the subnet specified as the target network.

$sel:vpcId:TargetNetwork', targetNetwork_vpcId - The ID of the VPC in which the target network (subnet) is located.

targetNetwork_clientVpnEndpointId :: Lens' TargetNetwork (Maybe Text) Source #

The ID of the Client VPN endpoint with which the target network is associated.

targetNetwork_securityGroups :: Lens' TargetNetwork (Maybe [Text]) Source #

The IDs of the security groups applied to the target network association.

targetNetwork_status :: Lens' TargetNetwork (Maybe AssociationStatus) Source #

The current state of the target network association.

targetNetwork_targetNetworkId :: Lens' TargetNetwork (Maybe Text) Source #

The ID of the subnet specified as the target network.

targetNetwork_vpcId :: Lens' TargetNetwork (Maybe Text) Source #

The ID of the VPC in which the target network (subnet) is located.