AWS cognito documentation change
Summary
Added PowerShell V5 example for SetIdentityPoolRoles
Security assessment
Demonstrates role assignment without discussing least privilege or security implications. Standard feature usage example.
Diff
diff --git a/cognito/latest/developerguide/cognito-identity_example_cognito-identity_SetIdentityPoolRoles_section.md b/cognito/latest/developerguide/cognito-identity_example_cognito-identity_SetIdentityPoolRoles_section.md index 91fd3f02d..aaa79617b 100644 --- a//cognito/latest/developerguide/cognito-identity_example_cognito-identity_SetIdentityPoolRoles_section.md +++ b//cognito/latest/developerguide/cognito-identity_example_cognito-identity_SetIdentityPoolRoles_section.md @@ -46,0 +47,14 @@ PowerShell +**Tools for PowerShell V5** + + +**Example 1: Configures the specific Identity Pool to have an unauthenticated IAM role.** + + + Set-CGIIdentityPoolRole -IdentityPoolId us-east-1:0de2af35-2988-4d0b-b22d-EXAMPLEGUID1 -Role @{ "unauthenticated" = "arn:aws:iam::123456789012:role/CommonTests1Role" } + + + * For API details, see [SetIdentityPoolRoles](https://docs.aws.amazon.com/powershell/v5/reference) in _AWS Tools for PowerShell Cmdlet Reference (V5)_. + + + +