Class: Aws::EC2::Types::TransitGatewayRequestPolicyRule
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2::Types::TransitGatewayRequestPolicyRule
- Defined in:
- gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb
Overview
The matching criteria for a transit gateway policy table entry.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#destination_cidr_block ⇒ String
The destination CIDR block for the policy rule.
-
#destination_port_range ⇒ String
The destination port or port range for the policy rule.
-
#meta_data ⇒ Types::TransitGatewayRequestPolicyRuleMetaData
The metadata key-value pair for the policy rule.
-
#protocol ⇒ String
The protocol for the policy rule.
-
#source_cidr_block ⇒ String
The source CIDR block for the policy rule.
-
#source_port_range ⇒ String
The source port or port range for the policy rule.
Instance Attribute Details
#destination_cidr_block ⇒ String
The destination CIDR block for the policy rule.
84670 84671 84672 84673 84674 84675 84676 84677 84678 84679 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 84670 class TransitGatewayRequestPolicyRule < Struct.new( :source_cidr_block, :source_port_range, :destination_cidr_block, :destination_port_range, :protocol, :meta_data) SENSITIVE = [] include Aws::Structure end |
#destination_port_range ⇒ String
The destination port or port range for the policy rule. You can
specify a port range only when Protocol is 6 (TCP) or 17
(UDP); for all other protocols, this value must be *.
84670 84671 84672 84673 84674 84675 84676 84677 84678 84679 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 84670 class TransitGatewayRequestPolicyRule < Struct.new( :source_cidr_block, :source_port_range, :destination_cidr_block, :destination_port_range, :protocol, :meta_data) SENSITIVE = [] include Aws::Structure end |
#meta_data ⇒ Types::TransitGatewayRequestPolicyRuleMetaData
The metadata key-value pair for the policy rule.
84670 84671 84672 84673 84674 84675 84676 84677 84678 84679 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 84670 class TransitGatewayRequestPolicyRule < Struct.new( :source_cidr_block, :source_port_range, :destination_cidr_block, :destination_port_range, :protocol, :meta_data) SENSITIVE = [] include Aws::Structure end |
#protocol ⇒ String
The protocol for the policy rule. Valid values are 1 (ICMP), 6
(TCP), 17 (UDP), 47 (GRE), or * for all protocols.
84670 84671 84672 84673 84674 84675 84676 84677 84678 84679 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 84670 class TransitGatewayRequestPolicyRule < Struct.new( :source_cidr_block, :source_port_range, :destination_cidr_block, :destination_port_range, :protocol, :meta_data) SENSITIVE = [] include Aws::Structure end |
#source_cidr_block ⇒ String
The source CIDR block for the policy rule.
84670 84671 84672 84673 84674 84675 84676 84677 84678 84679 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 84670 class TransitGatewayRequestPolicyRule < Struct.new( :source_cidr_block, :source_port_range, :destination_cidr_block, :destination_port_range, :protocol, :meta_data) SENSITIVE = [] include Aws::Structure end |
#source_port_range ⇒ String
The source port or port range for the policy rule. You can specify a
port range only when Protocol is 6 (TCP) or 17 (UDP); for all
other protocols, this value must be *.
84670 84671 84672 84673 84674 84675 84676 84677 84678 84679 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 84670 class TransitGatewayRequestPolicyRule < Struct.new( :source_cidr_block, :source_port_range, :destination_cidr_block, :destination_port_range, :protocol, :meta_data) SENSITIVE = [] include Aws::Structure end |