AWS::EC2::TransitGatewayPolicyTableEntry

EC2 TransitGatewayPolicyTableEntry

AWS::EC2::TransitGatewayPolicyTableEntry Resource Definition

Properties

4 configurable properties. 4 required. Click a row to see details.

Filter:
PropertyTypeFlags
PolicyRule
TransitGatewayPolicyRule
Required
PolicyRuleNumber
string
RequiredCreate-only
TargetRouteTableId
string
Required
TransitGatewayPolicyTableId
string
RequiredCreate-only

Return Values

Values returned after the resource is created. Access these with Fn::GetAtt.

AttributeTypeDescription
StatestringThe state of the policy table entry.

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::EC2::TransitGatewayPolicyTableEntry

Resources:
  MyResource:
    Type: AWS::EC2::TransitGatewayPolicyTableEntry
    Properties:
      TransitGatewayPolicyTableId: "my-transitgatewaypolicytableid"
      PolicyRuleNumber: "value"
      PolicyRule: "value"
      TargetRouteTableId: "my-targetroutetableid"

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

create

ec2:CreateTransitGatewayPolicyTableEntryec2:GetTransitGatewayPolicyTableEntries

read

ec2:GetTransitGatewayPolicyTableEntries

update

ec2:ModifyTransitGatewayPolicyTableEntryec2:GetTransitGatewayPolicyTableEntries

delete

ec2:DeleteTransitGatewayPolicyTableEntryec2:GetTransitGatewayPolicyTableEntries

list

ec2:GetTransitGatewayPolicyTableEntries

Get the EC2 Cheat Sheet

Everything you need to know about EC2 on one page. HD quality, print-friendly.

Download Free Infographic

Quick Facts

ServiceEC2
Properties5
Required4
TaggingNot supported
Primary IDTransitGatewayPolicyTableId

Supported Operations

CreateReadUpdateDeleteList

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

TransitGatewayPolicyTableIdPolicyRuleNumber

External Links