AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::EC2::TransitGatewayMeteringPolicyEntry

CfnTransitGatewayMeteringPolicyEntry

Creates an entry in a transit gateway metering policy to define traffic measurement rules.

Import

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

Or use the module namespace:

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

Properties

Configuration passed to the constructor as CfnTransitGatewayMeteringPolicyEntryProps.

meteredAccountRequired
string

The AWS account ID to which the metered traffic is attributed.

policyRuleNumberRequired
number

The rule number of the metering policy entry.

transitGatewayMeteringPolicyIdRequired
string

The ID of the transit gateway metering policy for which the entry is being created.

destinationCidrBlockOptional
string

Describes an IPv4 CIDR block.

destinationPortRangeOptional
string

Describes a range of ports.

destinationTransitGatewayAttachmentIdOptional
string

The ID of the source attachment through which traffic leaves a transit gateway.

destinationTransitGatewayAttachmentTypeOptional
string
protocolOptional
string

The protocol of the traffic.

sourceCidrBlockOptional
string

Describes an IPv4 CIDR block.

sourcePortRangeOptional
string

Describes a range of ports.

sourceTransitGatewayAttachmentIdOptional
string

The ID of the source attachment through which traffic enters a transit gateway.

sourceTransitGatewayAttachmentTypeOptional
string

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