interface CfnTransitGatewayMeteringPolicyProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.EC2.CfnTransitGatewayMeteringPolicyProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsec2#CfnTransitGatewayMeteringPolicyProps |
Java | software.amazon.awscdk.services.ec2.CfnTransitGatewayMeteringPolicyProps |
Python | aws_cdk.aws_ec2.CfnTransitGatewayMeteringPolicyProps |
TypeScript | aws-cdk-lib » aws_ec2 » CfnTransitGatewayMeteringPolicyProps |
Properties for defining a CfnTransitGatewayMeteringPolicy.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as ec2 } from 'aws-cdk-lib';
const cfnTransitGatewayMeteringPolicyProps: ec2.CfnTransitGatewayMeteringPolicyProps = {
transitGatewayId: 'transitGatewayId',
// the properties below are optional
middleboxAttachmentIds: ['middleboxAttachmentIds'],
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| transit | string | The ID of the transit gateway associated with the metering policy. |
| middlebox | string[] | The IDs of the middlebox attachments associated with the metering policy. |
| tags? | Cfn[] | The tags assigned to the transit gateway metering policy. |
transitGatewayId
Type:
string
The ID of the transit gateway associated with the metering policy.
middleboxAttachmentIds?
Type:
string[]
(optional)
The IDs of the middlebox attachments associated with the metering policy.
tags?
Type:
Cfn[]
(optional)
The tags assigned to the transit gateway metering policy.

.NET
Go
Java
Python
TypeScript