| 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.TransitGatewayPolicyRule
Description
Synopsis
- data TransitGatewayPolicyRule = TransitGatewayPolicyRule' {}
- newTransitGatewayPolicyRule :: TransitGatewayPolicyRule
- transitGatewayPolicyRule_destinationCidrBlock :: Lens' TransitGatewayPolicyRule (Maybe Text)
- transitGatewayPolicyRule_destinationPortRange :: Lens' TransitGatewayPolicyRule (Maybe Text)
- transitGatewayPolicyRule_metaData :: Lens' TransitGatewayPolicyRule (Maybe TransitGatewayPolicyRuleMetaData)
- transitGatewayPolicyRule_protocol :: Lens' TransitGatewayPolicyRule (Maybe Text)
- transitGatewayPolicyRule_sourceCidrBlock :: Lens' TransitGatewayPolicyRule (Maybe Text)
- transitGatewayPolicyRule_sourcePortRange :: Lens' TransitGatewayPolicyRule (Maybe Text)
Documentation
data TransitGatewayPolicyRule Source #
Describes a rule associated with a transit gateway policy.
See: newTransitGatewayPolicyRule smart constructor.
Constructors
| TransitGatewayPolicyRule' | |
Fields
| |
Instances
newTransitGatewayPolicyRule :: TransitGatewayPolicyRule Source #
Create a value of TransitGatewayPolicyRule 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:destinationCidrBlock:TransitGatewayPolicyRule', transitGatewayPolicyRule_destinationCidrBlock - The destination CIDR block for the transit gateway policy rule.
$sel:destinationPortRange:TransitGatewayPolicyRule', transitGatewayPolicyRule_destinationPortRange - The port range for the transit gateway policy rule. Currently this is
set to * (all).
$sel:metaData:TransitGatewayPolicyRule', transitGatewayPolicyRule_metaData - The meta data tags used for the transit gateway policy rule.
$sel:protocol:TransitGatewayPolicyRule', transitGatewayPolicyRule_protocol - The protocol used by the transit gateway policy rule.
$sel:sourceCidrBlock:TransitGatewayPolicyRule', transitGatewayPolicyRule_sourceCidrBlock - The source CIDR block for the transit gateway policy rule.
$sel:sourcePortRange:TransitGatewayPolicyRule', transitGatewayPolicyRule_sourcePortRange - The port range for the transit gateway policy rule. Currently this is
set to * (all).
transitGatewayPolicyRule_destinationCidrBlock :: Lens' TransitGatewayPolicyRule (Maybe Text) Source #
The destination CIDR block for the transit gateway policy rule.
transitGatewayPolicyRule_destinationPortRange :: Lens' TransitGatewayPolicyRule (Maybe Text) Source #
The port range for the transit gateway policy rule. Currently this is set to * (all).
transitGatewayPolicyRule_metaData :: Lens' TransitGatewayPolicyRule (Maybe TransitGatewayPolicyRuleMetaData) Source #
The meta data tags used for the transit gateway policy rule.
transitGatewayPolicyRule_protocol :: Lens' TransitGatewayPolicyRule (Maybe Text) Source #
The protocol used by the transit gateway policy rule.
transitGatewayPolicyRule_sourceCidrBlock :: Lens' TransitGatewayPolicyRule (Maybe Text) Source #
The source CIDR block for the transit gateway policy rule.
transitGatewayPolicyRule_sourcePortRange :: Lens' TransitGatewayPolicyRule (Maybe Text) Source #
The port range for the transit gateway policy rule. Currently this is set to * (all).