AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
The matching criteria for a transit gateway policy table entry.
Namespace: Amazon.EC2.Model
Assembly: AWSSDK.EC2.dll
Version: 3.x.y.z
public class TransitGatewayRequestPolicyRule
The TransitGatewayRequestPolicyRule type exposes the following members
| Name | Description | |
|---|---|---|
|
TransitGatewayRequestPolicyRule() |
| Name | Type | Description | |
|---|---|---|---|
|
DestinationCidrBlock | System.String |
Gets and sets the property DestinationCidrBlock. The destination CIDR block for the policy rule. |
|
DestinationPortRange | System.String |
Gets and sets the property DestinationPortRange.
The destination port or port range for the policy rule. You can specify a port range
only when |
|
MetaData | Amazon.EC2.Model.TransitGatewayRequestPolicyRuleMetaData |
Gets and sets the property MetaData. The metadata key-value pair for the policy rule. |
|
Protocol | System.String |
Gets and sets the property Protocol.
The protocol for the policy rule. Valid values are |
|
SourceCidrBlock | System.String |
Gets and sets the property SourceCidrBlock. The source CIDR block for the policy rule. |
|
SourcePortRange | System.String |
Gets and sets the property SourcePortRange.
The source port or port range for the policy rule. You can specify a port range only
when |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.7.2 and newer