AmazonCognitoUnAuthedIdentitiesSessionPolicy - AWS 托管策略

本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。

AmazonCognitoUnAuthedIdentitiesSessionPolicy

描述:此策略定义了 Cognito 身份池中允许未经验证的身份使用的一组权限。本策略不用作独立的权限策略。它用作一种防护机制,防止对身份池中的角色附加过度宽松的策略。请勿将此策略附加至任何角色,因为 Cognito Identity Service 在创建凭证时会自动将其包含为限定范围的策略。现在,通过增强型流程临时访问其他 AWS 资源的权限将由与服务提供的未经身份验证的用户的身份关联的角色与 Cognito 拥有的此托管策略中赋予的权限的交集来定义。

AmazonCognitoUnAuthedIdentitiesSessionPolicy 是一项 AWS 托管式策略

使用此策略

您可以将 AmazonCognitoUnAuthedIdentitiesSessionPolicy 附加到您的用户、组和角色。

策略详细信息

  • 类型: AWS 托管策略

  • 创建时间:2023 年 7 月 19 日 23:04 UTC

  • 编辑时间:世界标准时间 2024 年 11 月 1 日 18:12

  • ARN: arn:aws:iam::aws:policy/AmazonCognitoUnAuthedIdentitiesSessionPolicy

策略版本

策略版本:v3 (默认值)

此策略的默认版本是定义策略权限的版本。当使用该策略的用户或角色请求访问 AWS 资源时, AWS 会检查策略的默认版本以确定是否允许该请求。

JSON 策略文档

{ "Version" : "2012-10-17", "Statement" : [ { "Sid" : "CognitoUnAuthedIdentitiesSessionPolicy", "Effect" : "Allow", "Action" : [ "rum:PutRumEvents", "sagemaker:InvokeEndpoint", "polly:*", "comprehend:*", "translate:*", "transcribe:*", "rekognition:*", "mobiletargeting:*", "firehose:*", "personalize:*", "geo:GetMap*", "geo:SearchPlaceIndex*", "geo:GetPlace", "geo:CalculateRoute*", "geo:*Geofence", "geo:*Geofences", "geo:*DevicePosition*", "kms:Encrypt", "kms:Decrypt", "kms:ReEncryptTo", "kms:ReEncryptFrom", "kms:GenerateDataKey", "kms:GenerateDataKeyPair", "kms:GenerateDataKeyPairWithoutPlaintext", "kms:GenerateDataKeyWithoutPlaintext" ], "Resource" : "*" } ] }

了解更多信息