AmazonCognitoUnauthenticatedIdentities
Summary
This policy defines the set of permissions allowed for unauthenticated identities for Cognito Identity Pools. This does not need to be attached to your unauth role, as Cognito Identity Service will automatically include it as a scoped down policy when creating credentials. The privileges to temporarily access other AWS resources through the enhanced flow will now be defined by the intersection of the role associated with the identity of the unauthenticated user provided by a service, and the privileges given in this managed policy that is owned by Cognito.
Permissions imported from the AWS Managed Policy Reference Guide; other sections pending editorial review.
Identity
- ARN
arn:aws:iam::aws:policy/AmazonCognitoUnauthenticatedIdentities- Default version
- v1
- Created
- Last edited
- Services
- rum
Control-plane actions (0)
By access level: none.
This policy grants no actions in this plane.
Data-plane actions (1)
By access level: 1 Write.
| Service | Granted | Access levels and limits | Granted by |
|---|---|---|---|
| CloudWatch RUM | All 1 actions (see the CloudWatch RUM page) | 1 Write; 0 restricted, 0 conditional | rum:PutRumEvents |
Excluded and conditional actions
No patterns are excluded by NotAction or Deny statements.
Resource scope and attachment
Resource scope across granted actions: all-resources.
Can be attached: Yes, to users, groups and roles.
Why this tier
- Grants 1 write, tagging or permissions-management action, short of full control of any service.
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
- AmazonCloudWatchRUMReadOnlyAccess
- CloudWatchApplicationSignalsFullAccess
- CloudWatchFullAccessV2
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": "rum:PutRumEvents",
"Resource": "*"
}
]
}
Version history
Current version v1, edited by AWS on 2023-02-01. 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/AmazonCognitoUnauthenticatedIdentities
aws iam attach-user-policy --user-name USER_NAME --policy-arn arn:aws:iam::aws:policy/AmazonCognitoUnauthenticatedIdentities
aws iam attach-group-policy --group-name GROUP_NAME --policy-arn arn:aws:iam::aws:policy/AmazonCognitoUnauthenticatedIdentitiesCloudFormation
Resources:
ExampleRole:
Type: AWS::IAM::Role
Properties:
AssumeRolePolicyDocument: {} # replace with your trust policy
ManagedPolicyArns:
- arn:aws:iam::aws:policy/AmazonCognitoUnauthenticatedIdentitiesTerraform
resource "aws_iam_role_policy_attachment" "amazoncognitounauthenticatedidentities" {
role = aws_iam_role.example.name
policy_arn = "arn:aws:iam::aws:policy/AmazonCognitoUnauthenticatedIdentities"
}CDK (TypeScript)
role.addManagedPolicy(
iam.ManagedPolicy.fromAwsManagedPolicyName("AmazonCognitoUnauthenticatedIdentities"),
);Sources
Pending editorial review. No editorial sources are listed yet.