Class: Aws::EC2::Types::TransitGatewayRequestPolicyRule

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#destination_cidr_block ⇒ String

The destination CIDR block for the policy rule.

Returns:

  • (String)


88624
88625
88626
88627
88628
88629
88630
88631
88632
88633
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 88624

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

Returns:

  • (String)


88624
88625
88626
88627
88628
88629
88630
88631
88632
88633
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 88624

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.



88624
88625
88626
88627
88628
88629
88630
88631
88632
88633
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 88624

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.

Returns:

  • (String)


88624
88625
88626
88627
88628
88629
88630
88631
88632
88633
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 88624

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.

Returns:

  • (String)


88624
88625
88626
88627
88628
88629
88630
88631
88632
88633
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 88624

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

Returns:

  • (String)


88624
88625
88626
88627
88628
88629
88630
88631
88632
88633
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 88624

class TransitGatewayRequestPolicyRule < Struct.new(
  :source_cidr_block,
  :source_port_range,
  :destination_cidr_block,
  :destination_port_range,
  :protocol,
  :meta_data)
  SENSITIVE = []
  include Aws::Structure
end