Class: Aws::EC2::Types::TransitGatewayNatRuleRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2::Types::TransitGatewayNatRuleRequest
- Defined in:
- gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb
Overview
Describes a NAT gateway rule to apply to a transit gateway attachment.
A NAT gateway rule translates source addresses in the
MatchSourceCidr range to the corresponding addresses in the
NatCidr range.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#match_source_cidr ⇒ String
The IPv4 CIDR block of the source addresses to translate.
-
#nat_cidr ⇒ String
The IPv4 CIDR block to translate the source addresses to.
-
#rule_number ⇒ Integer
The rule number.
Instance Attribute Details
#match_source_cidr ⇒ String
The IPv4 CIDR block of the source addresses to translate. The CIDR
block can't overlap the multicast range (224.0.0.0/4) or the
link-local range (169.254.0.0/16).
94409 94410 94411 94412 94413 94414 94415 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 94409 class TransitGatewayNatRuleRequest < Struct.new( :rule_number, :match_source_cidr, :nat_cidr) SENSITIVE = [] include Aws::Structure end |
#nat_cidr ⇒ String
The IPv4 CIDR block to translate the source addresses to. The CIDR
block must be in a private (RFC 1918) or shared address space (RFC
6598) range, and must have the same prefix length as
MatchSourceCidr. The CIDR blocks in the rules for an attachment
can't overlap each other.
94409 94410 94411 94412 94413 94414 94415 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 94409 class TransitGatewayNatRuleRequest < Struct.new( :rule_number, :match_source_cidr, :nat_cidr) SENSITIVE = [] include Aws::Structure end |
#rule_number ⇒ Integer
The rule number. Valid values are 1 to 32766. Each rule number must be unique within the request.
94409 94410 94411 94412 94413 94414 94415 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 94409 class TransitGatewayNatRuleRequest < Struct.new( :rule_number, :match_source_cidr, :nat_cidr) SENSITIVE = [] include Aws::Structure end |