AWS Fundamentals Logo
AWS Fundamentals
AWS::Cognito::IdentityPoolRoleAttachment

Cognito IdentityPoolRoleAttachment

Resource Type definition for AWS::Cognito::IdentityPoolRoleAttachment

Properties

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

Filter:
PropertyTypeFlags
IdentityPoolId
string
RequiredCreate-only
RoleMappings
Any
Roles
Any

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::Cognito::IdentityPoolRoleAttachment

Resources:
  MyResource:
    Type: AWS::Cognito::IdentityPoolRoleAttachment
    Properties:
      IdentityPoolId: "my-identitypoolid"

Required IAM Permissions

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

create

cognito-identity:GetIdentityPoolRolescognito-identity:SetIdentityPoolRolesiam:PassRole

read

cognito-identity:GetIdentityPoolRoles

update

cognito-identity:GetIdentityPoolRolescognito-identity:SetIdentityPoolRolesiam:PassRole

delete

cognito-identity:GetIdentityPoolRolescognito-identity:SetIdentityPoolRoles

list

cognito-identity:GetIdentityPoolRoles

Get the Cognito Cheat Sheet

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

Download Free Infographic

Quick Facts

ServiceCognito
Properties4
Required1
TaggingNot supported
Primary IDId

Supported Operations

CreateReadUpdateDeleteList

Immutable After Creation

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

IdentityPoolId

External Links