---
type: resource-type
title: TransitGatewayMeteringPolicyEntry
description: aws resource type AWS::EC2::TransitGatewayMeteringPolicyEntry
name: TransitGatewayMeteringPolicyEntry
lexicon: aws
resource_type: AWS::EC2::TransitGatewayMeteringPolicyEntry
---
`AWS::EC2::TransitGatewayMeteringPolicyEntry`, a resource type of the aws lexicon.

## Properties

- `MeteredAccount` (`TransitGatewayMeteringPolicyEntry_TransitGatewayMeteringPayerType`, required): The resource owner information responsible for paying default billable charges for the traffic flow
- `PolicyRuleNumber` (`number`, required): The rule number of the metering policy entry
- `TransitGatewayMeteringPolicyId` (`string`, required): The ID of the transit gateway metering policy for which the entry is being created
- `DestinationCidrBlock` (`string`, optional): The list of IP addresses of the instances receiving traffic from the transit gateway
- `DestinationPortRange` (`string`, optional): The list of ports on destination instances receiving traffic from the transit gateway
- `DestinationTransitGatewayAttachmentId` (`string`, optional): The ID of the source attachment through which traffic leaves a transit gateway
- `DestinationTransitGatewayAttachmentType` (`TransitGatewayMeteringPolicyEntry_TransitGatewayAttachmentResourceType`, optional): The type of the attachment through which traffic leaves a transit gateway
- `Protocol` (`string`, optional): The protocol of the traffic
- `SourceCidrBlock` (`string`, optional): The list of IP addresses of the instances sending traffic to the transit gateway for which the metering policy entry is applicable
- `SourcePortRange` (`string`, optional): The list of ports on source instances sending traffic to the transit gateway
- `SourceTransitGatewayAttachmentId` (`string`, optional): The ID of the source attachment through which traffic enters a transit gateway
- `SourceTransitGatewayAttachmentType` (`TransitGatewayMeteringPolicyEntry_TransitGatewayAttachmentResourceType`, optional): The type of the attachment through which traffic enters a transit gateway
- `State` (`string`, optional): State of the transit gateway metering policy
- `UpdateEffectiveAt` (`string`, optional): The timestamp at which the latest action performed on the metering policy entry will become effective

## Attributes

- `State`
- `UpdateEffectiveAt`
