AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::EC2::TransitGatewayMeteringPolicy

CfnTransitGatewayMeteringPolicy

Describes a transit gateway metering policy.

Import

import { CfnTransitGatewayMeteringPolicy } from 'aws-cdk-lib/aws-ec2';

Or use the module namespace:

import * as ec2 from 'aws-cdk-lib/aws-ec2';
// ec2.CfnTransitGatewayMeteringPolicy

Properties

Configuration passed to the constructor as CfnTransitGatewayMeteringPolicyProps.

transitGatewayIdRequired
string

The ID of the transit gateway associated with the metering policy.

middleboxAttachmentIdsOptional
string[]

The IDs of the middlebox attachments associated with the metering policy.

tagsOptional
CfnTag[]

The tags assigned to the transit gateway metering policy.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Get the Amazon EC2 Cheat Sheet

Everything you need to know about Amazon EC2 on one page. HD quality, print-friendly.

Download Free Infographic