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

Description

 
Synopsis

Documentation

data AuthorizationRule Source #

Information about an authorization rule.

See: newAuthorizationRule smart constructor.

Constructors

AuthorizationRule' 

Fields

Instances

Instances details
FromXML AuthorizationRule Source # 
Instance details

Defined in Amazonka.EC2.Types.AuthorizationRule

Generic AuthorizationRule Source # 
Instance details

Defined in Amazonka.EC2.Types.AuthorizationRule

Associated Types

type Rep AuthorizationRule :: Type -> Type #

Read AuthorizationRule Source # 
Instance details

Defined in Amazonka.EC2.Types.AuthorizationRule

Show AuthorizationRule Source # 
Instance details

Defined in Amazonka.EC2.Types.AuthorizationRule

NFData AuthorizationRule Source # 
Instance details

Defined in Amazonka.EC2.Types.AuthorizationRule

Methods

rnf :: AuthorizationRule -> () #

Eq AuthorizationRule Source # 
Instance details

Defined in Amazonka.EC2.Types.AuthorizationRule

Hashable AuthorizationRule Source # 
Instance details

Defined in Amazonka.EC2.Types.AuthorizationRule

type Rep AuthorizationRule Source # 
Instance details

Defined in Amazonka.EC2.Types.AuthorizationRule

type Rep AuthorizationRule = D1 ('MetaData "AuthorizationRule" "Amazonka.EC2.Types.AuthorizationRule" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "AuthorizationRule'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "accessAll") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "clientVpnEndpointId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "destinationCidr") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "groupId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ClientVpnAuthorizationRuleStatus))))))

newAuthorizationRule :: AuthorizationRule Source #

Create a value of AuthorizationRule 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:accessAll:AuthorizationRule', authorizationRule_accessAll - Indicates whether the authorization rule grants access to all clients.

$sel:clientVpnEndpointId:AuthorizationRule', authorizationRule_clientVpnEndpointId - The ID of the Client VPN endpoint with which the authorization rule is associated.

$sel:description:AuthorizationRule', authorizationRule_description - A brief description of the authorization rule.

$sel:destinationCidr:AuthorizationRule', authorizationRule_destinationCidr - The IPv4 address range, in CIDR notation, of the network to which the authorization rule applies.

$sel:groupId:AuthorizationRule', authorizationRule_groupId - The ID of the Active Directory group to which the authorization rule grants access.

$sel:status:AuthorizationRule', authorizationRule_status - The current state of the authorization rule.

authorizationRule_accessAll :: Lens' AuthorizationRule (Maybe Bool) Source #

Indicates whether the authorization rule grants access to all clients.

authorizationRule_clientVpnEndpointId :: Lens' AuthorizationRule (Maybe Text) Source #

The ID of the Client VPN endpoint with which the authorization rule is associated.

authorizationRule_description :: Lens' AuthorizationRule (Maybe Text) Source #

A brief description of the authorization rule.

authorizationRule_destinationCidr :: Lens' AuthorizationRule (Maybe Text) Source #

The IPv4 address range, in CIDR notation, of the network to which the authorization rule applies.

authorizationRule_groupId :: Lens' AuthorizationRule (Maybe Text) Source #

The ID of the Active Directory group to which the authorization rule grants access.