AWS::EC2::TransitGatewayMeteringPolicyEntryAWS::EC2::TransitGatewayMeteringPolicyEntry Resource Definition
12 configurable properties. 3 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
MeteredAccount | string | RequiredCreate-only |
PolicyRuleNumber | integer | RequiredCreate-only |
TransitGatewayMeteringPolicyId | string | RequiredCreate-only |
DestinationCidrBlock | string | Create-only |
DestinationPortRange | string | Create-only |
DestinationTransitGatewayAttachmentId | string | Create-only |
DestinationTransitGatewayAttachmentType | string | Create-only |
Protocol | string | Create-only |
SourceCidrBlock | string | Create-only |
SourcePortRange | string | Create-only |
SourceTransitGatewayAttachmentId | string | Create-only |
SourceTransitGatewayAttachmentType | string | Create-only |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
State | string | State of the transit gateway metering policy |
UpdateEffectiveAt | string | The timestamp at which the latest action performed on the metering policy entry will become effective |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::EC2::TransitGatewayMeteringPolicyEntry
Resources:
MyResource:
Type: AWS::EC2::TransitGatewayMeteringPolicyEntry
Properties:
TransitGatewayMeteringPolicyId: "my-transitgatewaymeteringpolicyid"
PolicyRuleNumber: 1
MeteredAccount: "value"Permissions CloudFormation needs in your IAM role to manage this resource.
ec2:GetTransitGatewayMeteringPolicyEntriesec2:GetTransitGatewayMeteringPolicyEntriesec2:CreateTransitGatewayMeteringPolicyEntryec2:GetTransitGatewayMeteringPolicyEntriesec2:GetTransitGatewayMeteringPolicyEntriesec2:DeleteTransitGatewayMeteringPolicyEntryEverything you need to know about EC2 on one page. HD quality, print-friendly.
Download Free InfographicTransitGatewayMeteringPolicyIdThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
TransitGatewayMeteringPolicyIdPolicyRuleNumberMeteredAccountSourceTransitGatewayAttachmentIdSourceTransitGatewayAttachmentTypeSourceCidrBlockSourcePortRangeDestinationTransitGatewayAttachmentIdDestinationTransitGatewayAttachmentTypeDestinationCidrBlockDestinationPortRangeProtocol