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_blockString

The destination CIDR block for the policy rule.

Returns:

  • (String)


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_rangeString

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)


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_dataTypes::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

#protocolString

The protocol for the policy rule. Valid values are 1 (ICMP), 6 (TCP), 17 (UDP), 47 (GRE), or * for all protocols.

Returns:

  • (String)


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_blockString

The source CIDR block for the policy rule.

Returns:

  • (String)


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_rangeString

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)


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