AWS Fundamentals Logo
AWS Fundamentals
AWS::ApiGateway::Account

ApiGateway Account

The AWS::ApiGateway::Account resource specifies the IAM role that Amazon API Gateway uses to write API logs to Amazon CloudWatch Logs. To avoid overwriting other roles, you should only have one AWS::ApiGateway::Account resource per region per account. When you delete a stack containing this resource, API Gateway can still assume the provided IAM role to write API logs to CloudWatch Logs. To deny API Gateway access to write API logs to CloudWatch logs, update the permissions policies...

Properties

1 configurable property. Click a row to see details.

Filter:
PropertyTypeFlags
CloudWatchRoleArn
string

Return Values

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

AttributeTypeDescription
Idstring-

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::ApiGateway::Account

Resources:
  MyResource:
    Type: AWS::ApiGateway::Account
    Properties:

Required IAM Permissions

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

read

apigateway:GET

create

apigateway:PATCHiam:GetRoleiam:PassRole

update

apigateway:PATCHiam:GetRoleiam:PassRole

delete

apigateway:PATCH

Get the ApiGateway Cheat Sheet

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

Download Free Infographic

Quick Facts

ServiceApiGateway
Properties2
Required0
TaggingNot supported
Primary IDId

Supported Operations

ReadCreateUpdateDelete

External Links