Class CfnTransitGatewayMeteringPolicyEntryProps
Properties for defining a CfnTransitGatewayMeteringPolicyEntry.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnTransitGatewayMeteringPolicyEntryProps : ICfnTransitGatewayMeteringPolicyEntryProps
Syntax (vb)
Public Class CfnTransitGatewayMeteringPolicyEntryProps Implements ICfnTransitGatewayMeteringPolicyEntryProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EC2;
var cfnTransitGatewayMeteringPolicyEntryProps = new CfnTransitGatewayMeteringPolicyEntryProps {
MeteredAccount = "meteredAccount",
PolicyRuleNumber = 123,
TransitGatewayMeteringPolicyId = "transitGatewayMeteringPolicyId",
// the properties below are optional
DestinationCidrBlock = "destinationCidrBlock",
DestinationPortRange = "destinationPortRange",
DestinationTransitGatewayAttachmentId = "destinationTransitGatewayAttachmentId",
DestinationTransitGatewayAttachmentType = "destinationTransitGatewayAttachmentType",
Protocol = "protocol",
SourceCidrBlock = "sourceCidrBlock",
SourcePortRange = "sourcePortRange",
SourceTransitGatewayAttachmentId = "sourceTransitGatewayAttachmentId",
SourceTransitGatewayAttachmentType = "sourceTransitGatewayAttachmentType"
};
Synopsis
Constructors
| CfnTransitGatewayMeteringPolicyEntryProps() | Properties for defining a |
Properties
| DestinationCidrBlock | Describes an IPv4 CIDR block. |
| DestinationPortRange | Describes a range of ports. |
| DestinationTransitGatewayAttachmentId | The ID of the source attachment through which traffic leaves a transit gateway. |
| DestinationTransitGatewayAttachmentType | Properties for defining a |
| MeteredAccount | The AWS account ID to which the metered traffic is attributed. |
| PolicyRuleNumber | The rule number of the metering policy entry. |
| Protocol | The protocol of the traffic. |
| SourceCidrBlock | Describes an IPv4 CIDR block. |
| SourcePortRange | Describes a range of ports. |
| SourceTransitGatewayAttachmentId | The ID of the source attachment through which traffic enters a transit gateway. |
| SourceTransitGatewayAttachmentType | Properties for defining a |
| TransitGatewayMeteringPolicyId | The ID of the transit gateway metering policy for which the entry is being created. |
Constructors
CfnTransitGatewayMeteringPolicyEntryProps()
Properties for defining a CfnTransitGatewayMeteringPolicyEntry.
public CfnTransitGatewayMeteringPolicyEntryProps()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EC2;
var cfnTransitGatewayMeteringPolicyEntryProps = new CfnTransitGatewayMeteringPolicyEntryProps {
MeteredAccount = "meteredAccount",
PolicyRuleNumber = 123,
TransitGatewayMeteringPolicyId = "transitGatewayMeteringPolicyId",
// the properties below are optional
DestinationCidrBlock = "destinationCidrBlock",
DestinationPortRange = "destinationPortRange",
DestinationTransitGatewayAttachmentId = "destinationTransitGatewayAttachmentId",
DestinationTransitGatewayAttachmentType = "destinationTransitGatewayAttachmentType",
Protocol = "protocol",
SourceCidrBlock = "sourceCidrBlock",
SourcePortRange = "sourcePortRange",
SourceTransitGatewayAttachmentId = "sourceTransitGatewayAttachmentId",
SourceTransitGatewayAttachmentType = "sourceTransitGatewayAttachmentType"
};
Properties
DestinationCidrBlock
Describes an IPv4 CIDR block.
public string? DestinationCidrBlock { get; set; }
Property Value
Remarks
DestinationPortRange
Describes a range of ports.
public string? DestinationPortRange { get; set; }
Property Value
Remarks
DestinationTransitGatewayAttachmentId
The ID of the source attachment through which traffic leaves a transit gateway.
public string? DestinationTransitGatewayAttachmentId { get; set; }
Property Value
Remarks
DestinationTransitGatewayAttachmentType
Properties for defining a CfnTransitGatewayMeteringPolicyEntry.
public string? DestinationTransitGatewayAttachmentType { get; set; }
Property Value
Remarks
MeteredAccount
The AWS account ID to which the metered traffic is attributed.
public string MeteredAccount { get; set; }
Property Value
Remarks
PolicyRuleNumber
The rule number of the metering policy entry.
public double PolicyRuleNumber { get; set; }
Property Value
Remarks
Protocol
The protocol of the traffic.
public string? Protocol { get; set; }
Property Value
Remarks
SourceCidrBlock
Describes an IPv4 CIDR block.
public string? SourceCidrBlock { get; set; }
Property Value
Remarks
SourcePortRange
Describes a range of ports.
public string? SourcePortRange { get; set; }
Property Value
Remarks
SourceTransitGatewayAttachmentId
The ID of the source attachment through which traffic enters a transit gateway.
public string? SourceTransitGatewayAttachmentId { get; set; }
Property Value
Remarks
SourceTransitGatewayAttachmentType
Properties for defining a CfnTransitGatewayMeteringPolicyEntry.
public string? SourceTransitGatewayAttachmentType { get; set; }
Property Value
Remarks
TransitGatewayMeteringPolicyId
The ID of the transit gateway metering policy for which the entry is being created.
public string TransitGatewayMeteringPolicyId { get; set; }