AWS SDK Version 3 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 port range for the transit gateway policy rule. Currently this is set to * (all).

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 port range for the transit gateway policy rule. Currently this is set to * (all).

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5