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 the traffic matching criteria for a transit gateway metering policy rule.

Inheritance Hierarchy

System.Object
  Amazon.EC2.Model.TransitGatewayMeteringPolicyRule

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

Syntax

C#
public class TransitGatewayMeteringPolicyRule

The TransitGatewayMeteringPolicyRule type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property DestinationCidrBlock System.String

Gets and sets the property DestinationCidrBlock.

The destination CIDR block for the rule.

Public Property DestinationPortRange System.String

Gets and sets the property DestinationPortRange.

The destination port range for the rule.

Public Property DestinationTransitGatewayAttachmentId System.String

Gets and sets the property DestinationTransitGatewayAttachmentId.

The ID of the destination transit gateway attachment.

Public Property DestinationTransitGatewayAttachmentType Amazon.EC2.TransitGatewayAttachmentResourceType

Gets and sets the property DestinationTransitGatewayAttachmentType.

The type of the destination transit gateway attachment. Note that the tgw-peering resource type has been deprecated. To configure metering policies for Connect, use the transport attachment type.

Public Property Protocol System.String

Gets and sets the property Protocol.

The protocol for the rule (1, 6, 17, etc.).

Public Property SourceCidrBlock System.String

Gets and sets the property SourceCidrBlock.

The source CIDR block for the rule.

Public Property SourcePortRange System.String

Gets and sets the property SourcePortRange.

The source port range for the rule.

Public Property SourceTransitGatewayAttachmentId System.String

Gets and sets the property SourceTransitGatewayAttachmentId.

The ID of the source transit gateway attachment.

Public Property SourceTransitGatewayAttachmentType Amazon.EC2.TransitGatewayAttachmentResourceType

Gets and sets the property SourceTransitGatewayAttachmentType.

The type of the source transit gateway attachment. Note that the tgw-peering resource type has been deprecated. To configure metering policies for Connect, use the transport attachment type.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5