This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
AWS::EC2::TransitGatewayMeteringPolicyEntry
Creates an entry in a transit gateway metering policy to define traffic measurement rules.
Syntax
To declare this entity in your CloudFormation template, use the following syntax:
JSON
{ "Type" : "AWS::EC2::TransitGatewayMeteringPolicyEntry", "Properties" : { "DestinationCidrBlock" :String, "DestinationPortRange" :String, "DestinationTransitGatewayAttachmentId" :String, "DestinationTransitGatewayAttachmentType" :String, "MeteredAccount" :String, "PolicyRuleNumber" :Integer, "Protocol" :String, "SourceCidrBlock" :String, "SourcePortRange" :String, "SourceTransitGatewayAttachmentId" :String, "SourceTransitGatewayAttachmentType" :String, "TransitGatewayMeteringPolicyId" :String} }
YAML
Type: AWS::EC2::TransitGatewayMeteringPolicyEntry Properties: DestinationCidrBlock:StringDestinationPortRange:StringDestinationTransitGatewayAttachmentId:StringDestinationTransitGatewayAttachmentType:StringMeteredAccount:StringPolicyRuleNumber:IntegerProtocol:StringSourceCidrBlock:StringSourcePortRange:StringSourceTransitGatewayAttachmentId:StringSourceTransitGatewayAttachmentType:StringTransitGatewayMeteringPolicyId:String
Properties
DestinationCidrBlock-
Describes an IPv4 CIDR block.
Required: No
Type: String
Update requires: Replacement
DestinationPortRange-
Describes a range of ports.
Required: No
Type: String
Update requires: Replacement
DestinationTransitGatewayAttachmentIdProperty description not available.
Required: No
Type: String
Update requires: Replacement
DestinationTransitGatewayAttachmentTypeProperty description not available.
Required: No
Type: String
Allowed values:
vpc | vpn | direct-connect-gateway | peering | network-function | vpn-concentratorUpdate requires: Replacement
MeteredAccount-
The AWS account ID to which the metered traffic is attributed.
Required: Yes
Type: String
Allowed values:
source-attachment-owner | destination-attachment-owner | transit-gateway-ownerUpdate requires: Replacement
PolicyRuleNumber-
The rule number of the metering policy entry.
Required: Yes
Type: Integer
Update requires: Replacement
ProtocolProperty description not available.
Required: No
Type: String
Update requires: Replacement
SourceCidrBlock-
Describes an IPv4 CIDR block.
Required: No
Type: String
Update requires: Replacement
SourcePortRange-
Describes a range of ports.
Required: No
Type: String
Update requires: Replacement
SourceTransitGatewayAttachmentIdProperty description not available.
Required: No
Type: String
Update requires: Replacement
SourceTransitGatewayAttachmentTypeProperty description not available.
Required: No
Type: String
Allowed values:
vpc | vpn | direct-connect-gateway | peering | network-function | vpn-concentratorUpdate requires: Replacement
TransitGatewayMeteringPolicyIdProperty description not available.
Required: Yes
Type: String
Update requires: Replacement
Return values
Ref
Fn::GetAtt
State-
The state of the metering policy entry.
UpdateEffectiveAt-
The date and time when the metering policy entry update becomes effective.