Class: Aws::NetworkManager::Types::NatRule
- Inherits:
-
Struct
- Object
- Struct
- Aws::NetworkManager::Types::NatRule
- Defined in:
- gems/aws-sdk-networkmanager/lib/aws-sdk-networkmanager/types.rb
Overview
Describes a NAT rule of an attachment.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#match_source_cidr ⇒ String
The source CIDR block that the rule matches for traffic from the attachment.
-
#nat_cidr ⇒ String
The CIDR block that matching source addresses are translated to.
-
#rule_number ⇒ Integer
The rule number.
-
#state ⇒ String
The state of the NAT rule.
Instance Attribute Details
#match_source_cidr ⇒ String
The source CIDR block that the rule matches for traffic from the attachment.
5102 5103 5104 5105 5106 5107 5108 5109 |
# File 'gems/aws-sdk-networkmanager/lib/aws-sdk-networkmanager/types.rb', line 5102 class NatRule < Struct.new( :rule_number, :match_source_cidr, :nat_cidr, :state) SENSITIVE = [] include Aws::Structure end |
#nat_cidr ⇒ String
The CIDR block that matching source addresses are translated to.
5102 5103 5104 5105 5106 5107 5108 5109 |
# File 'gems/aws-sdk-networkmanager/lib/aws-sdk-networkmanager/types.rb', line 5102 class NatRule < Struct.new( :rule_number, :match_source_cidr, :nat_cidr, :state) SENSITIVE = [] include Aws::Structure end |
#rule_number ⇒ Integer
The rule number. Rule numbers identify the rules of an attachment and don't set the order in which rules are evaluated.
5102 5103 5104 5105 5106 5107 5108 5109 |
# File 'gems/aws-sdk-networkmanager/lib/aws-sdk-networkmanager/types.rb', line 5102 class NatRule < Struct.new( :rule_number, :match_source_cidr, :nat_cidr, :state) SENSITIVE = [] include Aws::Structure end |
#state ⇒ String
The state of the NAT rule. The possible values are the following:
CREATING: The rule is being created.MODIFYING: The rule is being modified.DELETING: The rule is being deleted.ACTIVATING: NAT gateway support is being enabled, and the rule is being applied.ACTIVATED: NAT gateway support is enabled, and the rule is applied.DEACTIVATING: NAT gateway support is being disabled, and the rule is being removed from use.DEACTIVATED: NAT gateway support is disabled, and the rule isn't applied.FAILED: The attachment failed to be created, and the rule isn't applied.PENDING_ATTACHMENT_ACCEPTANCE: The attachment is pending acceptance. The rule is applied after the attachment is accepted.
5102 5103 5104 5105 5106 5107 5108 5109 |
# File 'gems/aws-sdk-networkmanager/lib/aws-sdk-networkmanager/types.rb', line 5102 class NatRule < Struct.new( :rule_number, :match_source_cidr, :nat_cidr, :state) SENSITIVE = [] include Aws::Structure end |