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.

Container for the parameters to the CreateTransitGatewayMeteringPolicyEntry operation. Creates an entry in a transit gateway metering policy to define traffic measurement rules.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.EC2.AmazonEC2Request
      Amazon.EC2.Model.CreateTransitGatewayMeteringPolicyEntryRequest

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

Syntax

C#
public class CreateTransitGatewayMeteringPolicyEntryRequest : AmazonEC2Request
         IAmazonWebServiceRequest

The CreateTransitGatewayMeteringPolicyEntryRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property DestinationCidrBlock System.String

Gets and sets the property DestinationCidrBlock.

The destination CIDR block for traffic matching.

Public Property DestinationPortRange System.String

Gets and sets the property DestinationPortRange.

The destination port range for traffic matching.

Public Property DestinationTransitGatewayAttachmentId System.String

Gets and sets the property DestinationTransitGatewayAttachmentId.

The ID of the destination transit gateway attachment for traffic matching.

Public Property DestinationTransitGatewayAttachmentType Amazon.EC2.TransitGatewayAttachmentResourceType

Gets and sets the property DestinationTransitGatewayAttachmentType.

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

Public Property MeteredAccount Amazon.EC2.TransitGatewayMeteringPayerType

Gets and sets the property MeteredAccount.

The Amazon Web Services account ID to which the metered traffic should be attributed.

Public Property PolicyRuleNumber System.Int32

Gets and sets the property PolicyRuleNumber.

The rule number for the metering policy entry. Rules are processed in order from lowest to highest number.

Public Property Protocol System.String

Gets and sets the property Protocol.

The protocol for traffic matching (1, 6, 17, etc.).

Public Property SourceCidrBlock System.String

Gets and sets the property SourceCidrBlock.

The source CIDR block for traffic matching.

Public Property SourcePortRange System.String

Gets and sets the property SourcePortRange.

The source port range for traffic matching.

Public Property SourceTransitGatewayAttachmentId System.String

Gets and sets the property SourceTransitGatewayAttachmentId.

The ID of the source transit gateway attachment for traffic matching.

Public Property SourceTransitGatewayAttachmentType Amazon.EC2.TransitGatewayAttachmentResourceType

Gets and sets the property SourceTransitGatewayAttachmentType.

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

Public Property TransitGatewayMeteringPolicyId System.String

Gets and sets the property TransitGatewayMeteringPolicyId.

The ID of the transit gateway metering policy to add the entry to.

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