Class CfnTransitGatewayMeteringPolicyProps
Properties for defining a CfnTransitGatewayMeteringPolicy.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnTransitGatewayMeteringPolicyProps : ICfnTransitGatewayMeteringPolicyProps
Syntax (vb)
Public Class CfnTransitGatewayMeteringPolicyProps Implements ICfnTransitGatewayMeteringPolicyProps
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 cfnTransitGatewayMeteringPolicyProps = new CfnTransitGatewayMeteringPolicyProps {
TransitGatewayId = "transitGatewayId",
// the properties below are optional
MiddleboxAttachmentIds = new [] { "middleboxAttachmentIds" },
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Constructors
| CfnTransitGatewayMeteringPolicyProps() | Properties for defining a |
Properties
| MiddleboxAttachmentIds | The IDs of the middlebox attachments associated with the metering policy. |
| Tags | The tags assigned to the transit gateway metering policy. |
| TransitGatewayId | The ID of the transit gateway associated with the metering policy. |
Constructors
CfnTransitGatewayMeteringPolicyProps()
Properties for defining a CfnTransitGatewayMeteringPolicy.
public CfnTransitGatewayMeteringPolicyProps()
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 cfnTransitGatewayMeteringPolicyProps = new CfnTransitGatewayMeteringPolicyProps {
TransitGatewayId = "transitGatewayId",
// the properties below are optional
MiddleboxAttachmentIds = new [] { "middleboxAttachmentIds" },
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Properties
MiddleboxAttachmentIds
The IDs of the middlebox attachments associated with the metering policy.
public string[]? MiddleboxAttachmentIds { get; set; }
Property Value
string[]
Remarks
Tags
The tags assigned to the transit gateway metering policy.
public ICfnTag[]? Tags { get; set; }
Property Value
ICfnTag[]
Remarks
TransitGatewayId
The ID of the transit gateway associated with the metering policy.
public string TransitGatewayId { get; set; }