AWS::EC2::TransitGatewayMeteringPolicyEntry - AWS CloudFormation

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 } }

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

DestinationTransitGatewayAttachmentId

Property description not available.

Required: No

Type: String

Update requires: Replacement

DestinationTransitGatewayAttachmentType

Property description not available.

Required: No

Type: String

Allowed values: vpc | vpn | direct-connect-gateway | peering | network-function | vpn-concentrator

Update 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-owner

Update requires: Replacement

PolicyRuleNumber

The rule number of the metering policy entry.

Required: Yes

Type: Integer

Update requires: Replacement

Protocol

Property 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

SourceTransitGatewayAttachmentId

Property description not available.

Required: No

Type: String

Update requires: Replacement

SourceTransitGatewayAttachmentType

Property description not available.

Required: No

Type: String

Allowed values: vpc | vpn | direct-connect-gateway | peering | network-function | vpn-concentrator

Update requires: Replacement

TransitGatewayMeteringPolicyId

Property 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.