SageMakerStudioDomainExecutionRolePolicy

Last Modified

Aug 12, 2026

August 12, 2026 at 06:03 PM UTC

Version

v23

Total Versions

12

Created

Aug 12, 2026

Actions

171

Risk

Medium

The same capabilities in a scoped form, resource policy writes, reads across all data, or full access to a whole service. Read from this policy document alone: trust policies, boundaries and SCPs in your account still decide what actually succeeds. How this is assessed

  • Medium

    Can rewrite resource policies and sharing

    Grants 2 permissions management actions across 1 service (datazone) on any resource, enough to share resources outside the account.

    datazone:addpolicygrantdatazone:removepolicygrant

    Use with caution: Turn on IAM Access Analyzer external access findings, and keep account-level guards like S3 Block Public Access enabled.

Policy Document

View on GitHub
{
  "PolicyVersion": {
    "Document": {
      "Version": "2012-10-17",
      "Statement": [
        {
          "Sid": "DataZonePermissions",
          "Effect": "Allow",
          "Action": [
            "datazone:AcceptPredictions",
            "datazone:AcceptSubscriptionRequest",
            "datazone:AddEntityOwner",
            "datazone:AddPolicyGrant",
            "datazone:AssociateGovernedTerms",
            "datazone:BatchGetAttributesMetadata",
            "datazone:BatchPutAttributesMetadata",
            "datazone:BatchUpdateNotifications",
            "datazone:CancelMetadataGenerationRun",
            "datazone:CancelSubscription",
            "datazone:CreateAsset",
            "datazone:CreateAssetFilter",
            "datazone:CreateAssetRevision",
            "datazone:CreateAssetType",
            "datazone:CreateConnection",
            "datazone:CreateDataProduct",
            "datazone:CreateDataProductRevision",
            "datazone:CreateDataSource",
            "datazone:CreateDomainUnit",
            "datazone:CreateEnvironment",
            "datazone:CreateEnvironmentProfile",
            "datazone:CreateFormType",
            "datazone:CreateGlossary",
            "datazone:CreateGlossaryTerm",
            "datazone:CreateListingChangeSet",
            "datazone:CreateProject",
            "datazone:CreateProjectMembership",
            "datazone:CreateRule",
            "datazone:CreateSubscriptionGrant",
            "datazone:CreateSubscriptionRequest",
            "datazone:DeleteAsset",
            "datazone:DeleteAssetFilter",
            "datazone:DeleteAssetType",
            "datazone:DeleteConnection",
            "datazone:DeleteDataProduct",
            "datazone:DeleteDataSource",
            "datazone:DeleteDomainUnit",
            "datazone:DeleteEnvironment",
            "datazone:DeleteEnvironmentProfile",
            "datazone:DeleteFormType",
            "datazone:DeleteGlossary",
            "datazone:DeleteGlossaryTerm",
            "datazone:DeleteListing",
            "datazone:DeleteProject",
            "datazone:DeleteProjectMembership",
            "datazone:DeleteRule",
            "datazone:DeleteSubscriptionGrant",
            "datazone:DeleteSubscriptionRequest",
            "datazone:DeleteSubscriptionTarget",
            "datazone:DeleteTimeSeriesDataPoints",
            "datazone:DisassociateGovernedTerms",
            "datazone:GetAsset",
            "datazone:GetAssetFilter",
            "datazone:GetAssetType",
            "datazone:GetConnection",
            "datazone:GetCurrentEffectivePolicy",
            "datazone:GetDataProduct",
            "datazone:GetDataSource",
            "datazone:GetDataSourceRun",
            "datazone:GetDesignation",
            "datazone:GetDomain",
            "datazone:GetDomainUnit",
            "datazone:GetEnvironment",
            "datazone:GetEnvironmentAction",
            "datazone:GetEnvironmentActionLink",
            "datazone:GetEnvironmentBlueprint",
            "datazone:GetEnvironmentBlueprintConfiguration",
            "datazone:GetEnvironmentCredentials",
            "datazone:GetEnvironmentProfile",
            "datazone:GetFormType",
            "datazone:GetGlossary",
            "datazone:GetGlossaryTerm",
            "datazone:GetGroupProfile",
            "datazone:GetLineageNode",
            "datazone:GetListing",
            "datazone:GetMetadataGenerationRun",
            "datazone:GetProject",
            "datazone:GetRule",
            "datazone:GetSubscription",
            "datazone:GetSubscriptionEligibility",
            "datazone:GetSubscriptionGrant",
            "datazone:GetSubscriptionRequestDetails",
            "datazone:GetSubscriptionTarget",
            "datazone:GetTimeSeriesDataPoint",
            "datazone:GetUpdateEligibility",
            "datazone:GetUserProfile",
            "datazone:ListAccountEnvironments",
            "datazone:ListAssetFilters",
            "datazone:ListAssetRevisions",
            "datazone:ListConnections",
            "datazone:ListDataProductRevisions",
            "datazone:ListDataSourceRunActivities",
            "datazone:ListDataSourceRuns",
            "datazone:ListDataSources",
            "datazone:ListDesignations",
            "datazone:ListDomainUnitsForParent",
            "datazone:ListEntityOwners",
            "datazone:ListEnvironmentActions",
            "datazone:ListEnvironmentBlueprintConfigurationSummaries",
            "datazone:ListEnvironmentBlueprintConfigurations",
            "datazone:ListEnvironmentBlueprints",
            "datazone:ListEnvironmentProfiles",
            "datazone:ListEnvironments",
            "datazone:ListGroupsForUser",
            "datazone:ListLineageNodeHistory",
            "datazone:ListMetadataGenerationRuns",
            "datazone:ListNotifications",
            "datazone:ListPolicyGrants",
            "datazone:ListProjectMemberships",
            "datazone:ListProjects",
            "datazone:ListRules",
            "datazone:ListSubscriptionGrants",
            "datazone:ListSubscriptionRequests",
            "datazone:ListSubscriptionTargets",
            "datazone:ListSubscriptions",
            "datazone:ListTimeSeriesDataPoints",
            "datazone:ListWarehouseMetadata",
            "datazone:QueryGraph",
            "datazone:RejectPredictions",
            "datazone:RejectSubscriptionRequest",
            "datazone:RemoveEntityOwner",
            "datazone:RemovePolicyGrant",
            "datazone:RevokeSubscription",
            "datazone:Search",
            "datazone:SearchGroupProfiles",
            "datazone:SearchListings",
            "datazone:SearchRules",
            "datazone:SearchTypes",
            "datazone:SearchUserProfiles",
            "datazone:StartDataSourceRun",
            "datazone:StartMetadataGenerationRun",
            "datazone:UpdateAssetFilter",
            "datazone:UpdateConnection",
            "datazone:UpdateDataSource",
            "datazone:UpdateDomainUnit",
            "datazone:UpdateEnvironment",
            "datazone:UpdateEnvironmentDeploymentStatus",
            "datazone:UpdateEnvironmentProfile",
            "datazone:UpdateGlossary",
            "datazone:UpdateGlossaryTerm",
            "datazone:UpdateProject",
            "datazone:UpdateRule",
            "datazone:UpdateSubscriptionGrantStatus",
            "datazone:UpdateSubscriptionRequest"
          ],
          "Resource": "*"
        },
        {
          "Sid": "RAMResourceShareStatement",
          "Effect": "Allow",
          "Action": [
            "ram:GetResourceShareAssociations",
            "ram:GetResourceShares"
          ],
          "Resource": "*"
        },
        {
          "Sid": "AmazonQPermissionsStatement",
          "Effect": "Allow",
          "Action": [
            "q:StartConversation",
            "q:SendMessage",
            "q:ListConversations",
            "q:GetConversation",
            "q:PassRequest",
            "q:GetIdentityMetadata",
            "glue:StartCompletion",
            "glue:GetCompletion"
          ],
          "Resource": "*"
        },
        {
          "Sid": "AllowSetTrustedIdentity",
          "Effect": "Allow",
          "Action": [
            "sts:SetContext"
          ],
          "Resource": "arn:aws:sts::*:self"
        },
        {
          "Sid": "SSMGetParameterStatement",
          "Effect": "Allow",
          "Action": [
            "ssm:GetParameter"
          ],
          "Resource": [
            "arn:aws:ssm:*:*:parameter/amazon/datazone/q/${aws:PrincipalTag/datazone-domainId}*",
            "arn:aws:ssm:*:*:parameter/amazon/datazone/genAI/${aws:PrincipalTag/datazone-domainId}/*"
          ],
          "Condition": {
            "StringEquals": {
              "aws:ResourceAccount": "${aws:PrincipalAccount}"
            }
          }
        },
        {
          "Sid": "GetCodeConnectionsPermissionsStatement",
          "Effect": "Allow",
          "Action": [
            "codeconnections:GetConnection",
            "codeconnections:GetHost",
            "codestar-connections:GetConnection",
            "codestar-connections:GetHost"
          ],
          "Resource": "*",
          "Condition": {
            "Null": {
              "aws:ResourceTag/for-use-with-all-datazone-projects": "false"
            },
            "StringEquals": {
              "aws:ResourceTag/for-use-with-all-datazone-projects": "true"
            }
          }
        },
        {
          "Sid": "ListCodeConnectionsPermissionsStatement",
          "Effect": "Allow",
          "Action": [
            "codeconnections:ListConnections",
            "codeconnections:ListTagsForResource",
            "codestar-connections:ListConnections",
            "codestar-connections:ListTagsForResource"
          ],
          "Resource": "*"
        },
        {
          "Sid": "UseCodeConnectionsPermissionsStatement",
          "Effect": "Allow",
          "Action": [
            "codeconnections:UseConnection",
            "codestar-connections:UseConnection"
          ],
          "Resource": "*",
          "Condition": {
            "Null": {
              "aws:ResourceTag/for-use-with-all-datazone-projects": "false"
            },
            "StringEquals": {
              "aws:ResourceTag/for-use-with-all-datazone-projects": "true"
            }
          }
        },
        {
          "Sid": "ProjectProfilePermissionsStatement",
          "Effect": "Allow",
          "Action": [
            "datazone:GetProjectProfile",
            "datazone:ListProjectProfiles"
          ],
          "Resource": "arn:aws:datazone:*:*:domain/*"
        },
        {
          "Sid": "AccountPoolPermissionsStatement",
          "Effect": "Allow",
          "Action": [
            "datazone:GetAccountPool",
            "datazone:ListAccountPools",
            "datazone:ListAccountsInAccountPool"
          ],
          "Resource": "arn:aws:datazone:*:*:domain/*"
        }
      ]
    },
    "VersionId": "v23",
    "IsDefaultVersion": true,
    "CreateDate": "2026-08-12T17:27:19+00:00"
  }
}

Version History (15 recorded)

Raw history
v23updated

1 action added

4c84ec4
1 never-before-seen action: datazone:BatchUpdateNotifications
v22updated

1 action added

6789cd7
1 never-before-seen action: datazone:GetDesignation
v21updated

2 actions added

5647741
v20updated

scope changed, no action added or removed

42760a5

SageMakerStudioDomainExecutionRolePolicy - Policy Version v20

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

Feb 26, 2026

bf81e1c

SageMakerStudioDomainExecutionRolePolicy - Policy Version v19

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

Feb 26, 2026

cdca7da

SageMakerStudioDomainExecutionRolePolicy - Policy Version v19

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

Feb 12, 2026

4b53d08

SageMakerStudioDomainExecutionRolePolicy - Policy Version v13

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

Feb 12, 2026

eef8a50

SageMakerStudioDomainExecutionRolePolicy - Policy Version v7

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

Nov 19, 2025

d7c6416

SageMakerStudioDomainExecutionRolePolicy - Policy Version v6

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

Aug 20, 2025

1ef3d8c

SageMakerStudioDomainExecutionRolePolicy - Policy Version v5

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

Aug 7, 2025

2c9f233

Update detected

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

Jun 17, 2025

e3a9850

Update detected

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

Mar 26, 2025

a4c38d8

Update detected

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

Jan 14, 2025

c484fbe

Update detected

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

Nov 20, 2024

2b5cd6e