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.
Namespace: Amazon.EC2.Model
Assembly: AWSSDK.EC2.dll
Version: 3.x.y.z
public class CreateTransitGatewayMeteringPolicyEntryRequest : AmazonEC2Request IAmazonWebServiceRequest
The CreateTransitGatewayMeteringPolicyEntryRequest type exposes the following members
| Name | Description | |
|---|---|---|
|
CreateTransitGatewayMeteringPolicyEntryRequest() |
| Name | Type | Description | |
|---|---|---|---|
|
DestinationCidrBlock | System.String |
Gets and sets the property DestinationCidrBlock. The destination CIDR block for traffic matching. |
|
DestinationPortRange | System.String |
Gets and sets the property DestinationPortRange. The destination port range for traffic matching. |
|
DestinationTransitGatewayAttachmentId | System.String |
Gets and sets the property DestinationTransitGatewayAttachmentId. The ID of the destination transit gateway attachment for traffic matching. |
|
DestinationTransitGatewayAttachmentType | Amazon.EC2.TransitGatewayAttachmentResourceType |
Gets and sets the property DestinationTransitGatewayAttachmentType.
The type of the destination transit gateway attachment for traffic matching. Note
that the |
|
DryRun | System.Nullable<System.Boolean> |
Gets and sets the property DryRun.
Checks whether you have the required permissions for the action, without actually
making the request, and provides an error response. If you have the required permissions,
the error response is |
|
MeteredAccount | Amazon.EC2.TransitGatewayMeteringPayerType |
Gets and sets the property MeteredAccount. The Amazon Web Services account ID to which the metered traffic should be attributed. |
|
PolicyRuleNumber | System.Nullable<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. |
|
Protocol | System.String |
Gets and sets the property Protocol. The protocol for traffic matching (1, 6, 17, etc.). |
|
SourceCidrBlock | System.String |
Gets and sets the property SourceCidrBlock. The source CIDR block for traffic matching. |
|
SourcePortRange | System.String |
Gets and sets the property SourcePortRange. The source port range for traffic matching. |
|
SourceTransitGatewayAttachmentId | System.String |
Gets and sets the property SourceTransitGatewayAttachmentId. The ID of the source transit gateway attachment for traffic matching. |
|
SourceTransitGatewayAttachmentType | Amazon.EC2.TransitGatewayAttachmentResourceType |
Gets and sets the property SourceTransitGatewayAttachmentType.
The type of the source transit gateway attachment for traffic matching. Note that
the |
|
TransitGatewayMeteringPolicyId | System.String |
Gets and sets the property TransitGatewayMeteringPolicyId. The ID of the transit gateway metering policy to add the entry to. |
.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