TransitGatewayRequestPolicyRule - Amazon Elastic Compute Cloud
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

TransitGatewayRequestPolicyRule

The matching criteria for a transit gateway policy table entry.

Contents

DestinationCidrBlock

The destination CIDR block for the policy rule.

Type: String

Required: No

DestinationPortRange

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

Type: String

Required: No

MetaData

The metadata key-value pair for the policy rule.

Type: TransitGatewayRequestPolicyRuleMetaData object

Required: No

Protocol

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

Type: String

Required: No

SourceCidrBlock

The source CIDR block for the policy rule.

Type: String

Required: No

SourcePortRange

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

Type: String

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: