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

Description

 
Synopsis

Documentation

data TransitGatewayPolicyRule Source #

Describes a rule associated with a transit gateway policy.

See: newTransitGatewayPolicyRule smart constructor.

Constructors

TransitGatewayPolicyRule' 

Fields

Instances

Instances details
FromXML TransitGatewayPolicyRule Source # 
Instance details

Defined in Amazonka.EC2.Types.TransitGatewayPolicyRule

Generic TransitGatewayPolicyRule Source # 
Instance details

Defined in Amazonka.EC2.Types.TransitGatewayPolicyRule

Associated Types

type Rep TransitGatewayPolicyRule :: Type -> Type #

Read TransitGatewayPolicyRule Source # 
Instance details

Defined in Amazonka.EC2.Types.TransitGatewayPolicyRule

Show TransitGatewayPolicyRule Source # 
Instance details

Defined in Amazonka.EC2.Types.TransitGatewayPolicyRule

NFData TransitGatewayPolicyRule Source # 
Instance details

Defined in Amazonka.EC2.Types.TransitGatewayPolicyRule

Eq TransitGatewayPolicyRule Source # 
Instance details

Defined in Amazonka.EC2.Types.TransitGatewayPolicyRule

Hashable TransitGatewayPolicyRule Source # 
Instance details

Defined in Amazonka.EC2.Types.TransitGatewayPolicyRule

type Rep TransitGatewayPolicyRule Source # 
Instance details

Defined in Amazonka.EC2.Types.TransitGatewayPolicyRule

type Rep TransitGatewayPolicyRule = D1 ('MetaData "TransitGatewayPolicyRule" "Amazonka.EC2.Types.TransitGatewayPolicyRule" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "TransitGatewayPolicyRule'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "destinationCidrBlock") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "destinationPortRange") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "metaData") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TransitGatewayPolicyRuleMetaData)))) :*: (S1 ('MetaSel ('Just "protocol") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "sourceCidrBlock") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "sourcePortRange") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

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