# CfnTransitGatewayMeteringPolicyProps

Properties for defining a `CfnTransitGatewayMeteringPolicy`.

Extends: CfnTransitGatewayMeteringPolicyProps
Used as props by: CfnTransitGatewayMeteringPolicy

- Source: Generated code
- Type last changed: v2.230.0 · 26 Nov 2025

## Example

```ts
// 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

- `middleboxAttachmentIds`: string[] — The IDs of the middlebox attachments associated with the metering policy.

- `tags`: [CfnTag](/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — The tags assigned to the transit gateway metering policy.

- `transitGatewayId`: string (required) — The ID of the transit gateway associated with the metering policy.
