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-concentrator | client-vpnUpdate 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-concentrator | client-vpnUpdate 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.
Warning Javascript is disabled or is unavailable in your browser.
To use the Amazon Web Services Documentation, Javascript must be enabled. Please refer to your browser's Help pages for instructions.