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.
Describes a rule associated with a transit gateway policy.
Namespace: Amazon.EC2.Model
Assembly: AWSSDK.EC2.dll
Version: 3.x.y.z
public class TransitGatewayPolicyRule
The TransitGatewayPolicyRule type exposes the following members
Name | Description | |
---|---|---|
TransitGatewayPolicyRule() |
Name | Type | Description | |
---|---|---|---|
DestinationCidrBlock | System.String |
Gets and sets the property DestinationCidrBlock. The destination CIDR block for the transit gateway policy rule. |
|
DestinationPortRange | System.String |
Gets and sets the property DestinationPortRange. The port range for the transit gateway policy rule. Currently this is set to * (all). |
|
MetaData | Amazon.EC2.Model.TransitGatewayPolicyRuleMetaData |
Gets and sets the property MetaData. The meta data tags used for the transit gateway policy rule. |
|
Protocol | System.String |
Gets and sets the property Protocol. The protocol used by the transit gateway policy rule. |
|
SourceCidrBlock | System.String |
Gets and sets the property SourceCidrBlock. The source CIDR block for the transit gateway policy rule. |
|
SourcePortRange | System.String |
Gets and sets the property SourcePortRange. The port range for the transit gateway policy rule. Currently this is set to * (all). |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5