AWS Fundamentals Logo
AWS Fundamentals
AWS::EC2::TransitGatewayPolicyTable

EC2 TransitGatewayPolicyTable

AWS::EC2::TransitGatewayPolicyTable Resource Definition

Properties

2 configurable properties. 1 required. Click a row to see details.

Filter:
PropertyTypeFlags
TransitGatewayId
string
RequiredCreate-only
Tags
Array<Tag>

Return Values

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

AttributeTypeDescription
CreationTimestringCreation time of the transit gateway policy table
StatestringState of the transit gateway policy table
TransitGatewayPolicyTableIdstringThe Id of transit gateway policy table.

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::TransitGatewayPolicyTable

Resources:
  MyResource:
    Type: AWS::EC2::TransitGatewayPolicyTable
    Properties:
      TransitGatewayId: "my-transitgatewayid"
      Tags:
        - Key: Environment
          Value: Production

Required IAM Permissions

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

create

ec2:DescribeTransitGatewayPolicyTablesec2:CreateTransitGatewayPolicyTableec2:CreateTags

read

ec2:DescribeTransitGatewayPolicyTables

update

ec2:DescribeTransitGatewayPolicyTablesec2:DeleteTagsec2:CreateTags

delete

ec2:DescribeTransitGatewayPolicyTablesec2:DeleteTransitGatewayPolicyTableec2:DeleteTags

list

ec2:DescribeTransitGatewayPolicyTables

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
Required1
TaggingSupported
Primary IDTransitGatewayPolicyTableId

Supported Operations

CreateReadUpdateDeleteList

Immutable After Creation

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

TransitGatewayId

External Links