AppStudioServiceRolePolicy

Last Modified

Mar 12, 2026

March 12, 2026 at 09:28 PM UTC

Version

v2

Total Versions

2

Created

Mar 13, 2025

Actions

19

Policy Document

View on GitHub
{
  "PolicyVersion": {
    "Document": {
      "Version": "2012-10-17",
      "Statement": [
        {
          "Sid": "AppStudioResourcePermissionsForCloudWatch",
          "Effect": "Allow",
          "Action": [
            "logs:CreateLogGroup",
            "logs:CreateLogStream",
            "logs:PutLogEvents"
          ],
          "Resource": [
            "arn:aws:logs:*:*:log-group:/aws/appstudio/*"
          ],
          "Condition": {
            "StringEquals": {
              "aws:ResourceAccount": "${aws:PrincipalAccount}"
            }
          }
        },
        {
          "Sid": "AppStudioResourcePermissionsForSecretsManager",
          "Effect": "Allow",
          "Action": [
            "secretsmanager:CreateSecret",
            "secretsmanager:DeleteSecret",
            "secretsmanager:DescribeSecret",
            "secretsmanager:GetSecretValue",
            "secretsmanager:PutSecretValue",
            "secretsmanager:UpdateSecret",
            "secretsmanager:TagResource"
          ],
          "Resource": "arn:aws:secretsmanager:*:*:secret:appstudio-*",
          "Condition": {
            "ForAllValues:StringEquals": {
              "aws:TagKeys": [
                "IsAppStudioSecret"
              ]
            },
            "StringEquals": {
              "aws:ResourceAccount": "${aws:PrincipalAccount}",
              "aws:ResourceTag/IsAppStudioSecret": "true"
            }
          }
        },
        {
          "Sid": "AppStudioResourcePermissionsForManagedSecrets",
          "Effect": "Allow",
          "Action": [
            "secretsmanager:DeleteSecret",
            "secretsmanager:DescribeSecret",
            "secretsmanager:GetSecretValue",
            "secretsmanager:PutSecretValue",
            "secretsmanager:UpdateSecret"
          ],
          "Resource": "arn:aws:secretsmanager:*:*:secret:appstudio!*",
          "Condition": {
            "StringEquals": {
              "aws:ResourceAccount": "${aws:PrincipalAccount}",
              "secretsmanager:ResourceTag/aws:secretsmanager:owningService": "appstudio"
            }
          }
        },
        {
          "Sid": "AppStudioResourceWritePermissionsForManagedSecrets",
          "Effect": "Allow",
          "Action": [
            "secretsmanager:CreateSecret"
          ],
          "Resource": "arn:aws:secretsmanager:*:*:secret:appstudio!*",
          "Condition": {
            "StringEquals": {
              "aws:ResourceAccount": "${aws:PrincipalAccount}"
            }
          }
        },
        {
          "Sid": "AppStudioResourcePermissionsForSSO",
          "Effect": "Allow",
          "Action": [
            "sso:GetManagedApplicationInstance",
            "sso-directory:DescribeUsers",
            "sso-directory:ListMembersInGroup"
          ],
          "Resource": "*",
          "Condition": {
            "StringEquals": {
              "aws:ResourceAccount": "${aws:PrincipalAccount}"
            }
          }
        }
      ]
    },
    "VersionId": "v2",
    "IsDefaultVersion": true,
    "CreateDate": "2025-03-13T20:37:07+00:00"
  }
}

Version History (4 recorded)

Raw history
v2updated

scope changed, no action added or removed

1076ff4

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Mar 13, 2025

8275023

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Sep 18, 2024

aafbae9

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Jul 10, 2024

af4de79