| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.EC2.Types.AuthorizationRule
Description
Synopsis
- data AuthorizationRule = AuthorizationRule' {}
- newAuthorizationRule :: AuthorizationRule
- authorizationRule_accessAll :: Lens' AuthorizationRule (Maybe Bool)
- authorizationRule_clientVpnEndpointId :: Lens' AuthorizationRule (Maybe Text)
- authorizationRule_description :: Lens' AuthorizationRule (Maybe Text)
- authorizationRule_destinationCidr :: Lens' AuthorizationRule (Maybe Text)
- authorizationRule_groupId :: Lens' AuthorizationRule (Maybe Text)
- authorizationRule_status :: Lens' AuthorizationRule (Maybe ClientVpnAuthorizationRuleStatus)
Documentation
data AuthorizationRule Source #
Information about an authorization rule.
See: newAuthorizationRule smart constructor.
Constructors
| AuthorizationRule' | |
Fields
| |
Instances
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.
authorizationRule_status :: Lens' AuthorizationRule (Maybe ClientVpnAuthorizationRuleStatus) Source #
The current state of the authorization rule.