AmazonOpenSearchServiceCognitoAccess
Summary
Provides access to the Amazon Cognito configuration service.
Permissions imported from the AWS Managed Policy Reference Guide; other sections pending editorial review.
Identity
- ARN
arn:aws:iam::aws:policy/AmazonOpenSearchServiceCognitoAccess- Default version
- v2
- Created
- Last edited
- Services
- cognito-identity, cognito-idp, iam
Control-plane actions (13)
By access level: 1 List, 4 Read, 8 Write.
| Service | Granted | Access levels and limits | Granted by |
|---|---|---|---|
| Cognito Identity | 4 of 21 | 2 Read, 2 Write; 3 restricted, 0 conditional | cognito-identity:DescribeIdentityPool, cognito-identity:GetIdentityPoolRoles, cognito-identity:SetIdentityPoolRoles, cognito-identity:UpdateIdentityPool |
| Cognito User Pools | 8 of 139 | 1 List, 2 Read, 5 Write; 8 restricted, 0 conditional | cognito-idp:AdminInitiateAuth, cognito-idp:AdminUserGlobalSignOut, cognito-idp:CreateUserPoolClient, cognito-idp:DeleteUserPoolClient, cognito-idp:DescribeUserPool, cognito-idp:DescribeUserPoolClient, cognito-idp:ListUserPoolClients, cognito-idp:UpdateUserPoolClient |
| IAM | 1 of 190 | 1 Write; 1 restricted, 1 conditional | iam:PassRole |
Cognito Identity: 4 actions
- cognito-identity:DescribeIdentityPool (Read)
- cognito-identity:GetIdentityPoolRoles (Read)
- cognito-identity:SetIdentityPoolRoles (Write)
- cognito-identity:UpdateIdentityPool (Write)
Cognito User Pools: 8 actions
- cognito-idp:AdminInitiateAuth (Write)
- cognito-idp:AdminUserGlobalSignOut (Write)
- cognito-idp:CreateUserPoolClient (Write)
- cognito-idp:DeleteUserPoolClient (Write)
- cognito-idp:DescribeUserPool (Read)
- cognito-idp:DescribeUserPoolClient (Read)
- cognito-idp:ListUserPoolClients (List)
- cognito-idp:UpdateUserPoolClient (Write)
IAM: 1 actions
- iam:PassRole (Write)
Data-plane actions (0)
By access level: none.
This policy grants no actions in this plane.
Excluded and conditional actions
No patterns are excluded by NotAction or Deny statements.
Resource scope and attachment
Resource scope across granted actions: mixed.
Can be attached: Yes, to users, groups and roles.
Why this tier
- Grants 8 write, tagging or permissions-management actions, short of full control of any service.
- Grants iam:PassRole, but only for scoped roles or under conditions (for example iam:PassedToService).
Guidance
Pending editorial review. The permission data on this page comes straight from AWS; this section will be filled in once a reviewed guide exists.
Related policies
Same service
- AmazonCloudWatchRUMFullAccess
- AmazonCognitoDeveloperAuthenticatedIdentities
- AmazonCognitoIdpServiceRolePolicy
- AmazonCognitoPowerUser
- AmazonCognitoReadOnly
- AmazonESCognitoAccess
Same domain
Frequently asked questions
Pending editorial review. The permission data on this page comes straight from AWS; this section will be filled in once a reviewed guide exists.
Policy JSON
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"cognito-idp:DescribeUserPool",
"cognito-idp:CreateUserPoolClient",
"cognito-idp:DeleteUserPoolClient",
"cognito-idp:UpdateUserPoolClient",
"cognito-idp:DescribeUserPoolClient",
"cognito-idp:AdminInitiateAuth",
"cognito-idp:AdminUserGlobalSignOut",
"cognito-idp:ListUserPoolClients",
"cognito-identity:DescribeIdentityPool",
"cognito-identity:UpdateIdentityPool",
"cognito-identity:GetIdentityPoolRoles"
],
"Resource": [
"arn:aws:cognito-identity:*:*:identitypool/*",
"arn:aws:cognito-idp:*:*:userpool/*"
]
},
{
"Effect": "Allow",
"Action": "iam:PassRole",
"Resource": "arn:aws:iam::*:role/*",
"Condition": {
"StringLike": {
"iam:PassedToService": [
"cognito-identity.amazonaws.com",
"cognito-identity-us-gov.amazonaws.com"
]
}
}
},
{
"Effect": "Allow",
"Action": "cognito-identity:SetIdentityPoolRoles",
"Resource": "*"
}
]
}
Version history
Current version v2, edited by AWS on 2021-12-20. Version history is recorded from 2026-11-11. Earlier versions are in the IAM console under Policy versions.
Attach snippets
AWS CLI
aws iam attach-role-policy --role-name ROLE_NAME --policy-arn arn:aws:iam::aws:policy/AmazonOpenSearchServiceCognitoAccess
aws iam attach-user-policy --user-name USER_NAME --policy-arn arn:aws:iam::aws:policy/AmazonOpenSearchServiceCognitoAccess
aws iam attach-group-policy --group-name GROUP_NAME --policy-arn arn:aws:iam::aws:policy/AmazonOpenSearchServiceCognitoAccessCloudFormation
Resources:
ExampleRole:
Type: AWS::IAM::Role
Properties:
AssumeRolePolicyDocument: {} # replace with your trust policy
ManagedPolicyArns:
- arn:aws:iam::aws:policy/AmazonOpenSearchServiceCognitoAccessTerraform
resource "aws_iam_role_policy_attachment" "amazonopensearchservicecognitoaccess" {
role = aws_iam_role.example.name
policy_arn = "arn:aws:iam::aws:policy/AmazonOpenSearchServiceCognitoAccess"
}CDK (TypeScript)
role.addManagedPolicy(
iam.ManagedPolicy.fromAwsManagedPolicyName("AmazonOpenSearchServiceCognitoAccess"),
);Sources
Pending editorial review. No editorial sources are listed yet.