AWS SDK Version 4 for .NET
API Reference

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.

Inheritance Hierarchy

System.Object
  Amazon.EC2.Model.TransitGatewayPolicyRule

Namespace: Amazon.EC2.Model
Assembly: AWSSDK.EC2.dll
Version: 3.x.y.z

Syntax

C#
public class TransitGatewayPolicyRule

The TransitGatewayPolicyRule type exposes the following members

Constructors

NameDescription
Public Method TransitGatewayPolicyRule()

Properties

NameTypeDescription
Public Property DestinationCidrBlock System.String

Gets and sets the property DestinationCidrBlock.

The destination CIDR block for the transit gateway policy rule.

Public Property DestinationPortRange System.String

Gets and sets the property DestinationPortRange.

The destination port or port range for the transit gateway policy rule.

Public Property MetaData Amazon.EC2.Model.TransitGatewayPolicyRuleMetaData

Gets and sets the property MetaData.

The meta data tags used for the transit gateway policy rule.

Public Property Protocol System.String

Gets and sets the property Protocol.

The protocol used by the transit gateway policy rule.

Public Property SourceCidrBlock System.String

Gets and sets the property SourceCidrBlock.

The source CIDR block for the transit gateway policy rule.

Public Property SourcePortRange System.String

Gets and sets the property SourcePortRange.

The source port or port range for the transit gateway policy rule.

Version Information

.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