AWSContinuumForAgentsServiceRolePolicy

Last Modified

Nov 25, 2026

November 25, 2026 at 10:02 PM UTC

Version

v1

Total Versions

1

Created

Nov 25, 2026

Actions

134

Policy Document

View on GitHub
{
  "PolicyVersion": {
    "Document": {
      "Version": "2012-10-17",
      "Statement": [
        {
          "Sid": "ComputeEnumeration",
          "Effect": "Allow",
          "Action": [
            "ec2:DescribeInstances",
            "ec2:DescribeImages",
            "ec2:DescribeVolumes",
            "ec2:DescribeSnapshots",
            "ec2:DescribeInstanceAttribute",
            "ec2:DescribeLaunchTemplates",
            "ec2:DescribeLaunchTemplateVersions",
            "autoscaling:DescribeAutoScalingGroups",
            "ecs:ListClusters",
            "ecs:ListServices",
            "ecs:DescribeServices",
            "ecs:ListTasks",
            "ecs:DescribeTasks",
            "ecs:DescribeTaskDefinition",
            "eks:ListClusters",
            "eks:DescribeCluster",
            "eks:ListNodegroups",
            "eks:DescribeNodegroup",
            "eks:ListPodIdentityAssociations",
            "eks:DescribePodIdentityAssociation",
            "batch:DescribeJobQueues",
            "batch:DescribeComputeEnvironments",
            "batch:DescribeJobDefinitions",
            "emr-serverless:ListApplications"
          ],
          "Resource": "*"
        },
        {
          "Sid": "ServerlessAndEdge",
          "Effect": "Allow",
          "Action": [
            "lambda:ListFunctions",
            "lambda:GetFunction",
            "lambda:ListTags",
            "lambda:GetFunctionUrlConfig",
            "elasticloadbalancing:DescribeLoadBalancers",
            "ecr:DescribeRepositories",
            "ecr:DescribeImages"
          ],
          "Resource": "*"
        },
        {
          "Sid": "ApiGatewayRead",
          "Effect": "Allow",
          "Action": "apigateway:GET",
          "Resource": [
            "arn:aws:apigateway:*::/restapis",
            "arn:aws:apigateway:*::/apis"
          ]
        },
        {
          "Sid": "AiAgentEnumeration",
          "Effect": "Allow",
          "Action": [
            "bedrock:ListAgents",
            "bedrock:ListAgentAliases",
            "bedrock:ListAgentCollaborators",
            "bedrock:ListPrompts",
            "bedrock:ListFoundationModels",
            "bedrock:ListInferenceProfiles",
            "bedrock:GetAgent",
            "bedrock:ListAgentActionGroups",
            "bedrock:GetAgentActionGroup",
            "bedrock:ListAgentKnowledgeBases",
            "bedrock:ListKnowledgeBases",
            "bedrock:GetKnowledgeBase",
            "bedrock:ListDataSources",
            "bedrock:GetDataSource",
            "bedrock:ListFlows",
            "bedrock:GetFlow",
            "bedrock:ListFlowVersions",
            "bedrock:GetFlowVersion",
            "bedrock:ListGuardrails",
            "bedrock:GetGuardrail",
            "bedrock:ListCustomModels",
            "bedrock:ListImportedModels",
            "bedrock:ListModelInvocationJobs",
            "bedrock-agentcore:ListAgentRuntimes",
            "bedrock-agentcore:ListAgentRuntimeEndpoints",
            "bedrock-agentcore:GetAgentRuntime",
            "bedrock-agentcore:GetAgentRuntimeEndpoint",
            "bedrock-agentcore:ListGateways",
            "bedrock-agentcore:ListGatewayTargets",
            "bedrock-agentcore:GetGateway",
            "bedrock-agentcore:GetGatewayTarget",
            "bedrock-agentcore:ListHarnesses",
            "bedrock-agentcore:ListHarnessEndpoints",
            "bedrock-agentcore:GetHarness",
            "bedrock-agentcore:ListMemories",
            "bedrock-agentcore:ListBrowsers",
            "bedrock-agentcore:ListCodeInterpreters",
            "bedrock-agentcore:ListEvaluators",
            "bedrock-agentcore:ListPolicyEngines",
            "bedrock-agentcore:ListPolicies",
            "bedrock-agentcore:ListWorkloadIdentities",
            "bedrock-agentcore:GetWorkloadIdentity",
            "bedrock-agentcore:ListApiKeyCredentialProviders",
            "bedrock-agentcore:ListOauth2CredentialProviders",
            "sagemaker:ListEndpoints",
            "sagemaker:DescribeEndpoint",
            "sagemaker:DescribeEndpointConfig",
            "sagemaker:ListModels",
            "sagemaker:DescribeModel",
            "sagemaker:ListNotebookInstances",
            "sagemaker:DescribeNotebookInstance",
            "sagemaker:ListProcessingJobs",
            "sagemaker:DescribeProcessingJob",
            "sagemaker:ListTrainingJobs",
            "sagemaker:DescribeTrainingJob",
            "lex:ListBots",
            "qbusiness:ListApplications",
            "qbusiness:GetApplication",
            "qbusiness:ListPlugins",
            "qbusiness:GetPlugin",
            "qbusiness:ListIndices",
            "qbusiness:ListDataSources",
            "qbusiness:ListRetrievers",
            "qbusiness:GetChatControlsConfiguration",
            "quicksight:ListAgents",
            "quicksight:DescribeAgent",
            "quicksight:ListActionConnectors",
            "quicksight:DescribeActionConnector",
            "quicksight:ListSpaces",
            "quicksight:DescribeSpace",
            "quicksight:ListKnowledgeBases"
          ],
          "Resource": "*"
        },
        {
          "Sid": "IdentityReads",
          "Effect": "Allow",
          "Action": [
            "iam:ListRoles",
            "iam:ListRolePolicies",
            "iam:GetRolePolicy",
            "iam:ListAttachedRolePolicies",
            "iam:GetPolicy",
            "iam:GetPolicyVersion",
            "iam:ListInstanceProfiles",
            "resource-explorer-2:Search",
            "tag:GetResources"
          ],
          "Resource": "*"
        },
        {
          "Sid": "ContainerImagePull",
          "Effect": "Allow",
          "Action": [
            "ecr:GetAuthorizationToken",
            "ecr:BatchCheckLayerAvailability",
            "ecr:GetDownloadUrlForLayer",
            "ecr:BatchGetImage"
          ],
          "Resource": "*"
        },
        {
          "Sid": "CreateSnapshotsAnyInstanceOrVolume",
          "Effect": "Allow",
          "Action": "ec2:CreateSnapshots",
          "Resource": [
            "arn:aws:ec2:*:*:instance/*",
            "arn:aws:ec2:*:*:volume/*"
          ]
        },
        {
          "Sid": "DenyCreateSnapshotsOnExcludedInstances",
          "Effect": "Deny",
          "Action": "ec2:CreateSnapshots",
          "Resource": "arn:aws:ec2:*:*:instance/*",
          "Condition": {
            "StringEquals": {
              "ec2:ResourceTag/ContinuumForAgentsExcluded": "true"
            }
          }
        },
        {
          "Sid": "CreateSnapshotsOnAnySnapshotOnlyWithTag",
          "Effect": "Allow",
          "Action": "ec2:CreateSnapshots",
          "Resource": "arn:aws:ec2:*:*:snapshot/*",
          "Condition": {
            "Null": {
              "aws:TagKeys": "false"
            },
            "ForAllValues:StringEquals": {
              "aws:TagKeys": "ContinuumForAgentsPurpose"
            }
          }
        },
        {
          "Sid": "CreateOnlyScanTagOnlyUsingCreateSnapshots",
          "Effect": "Allow",
          "Action": "ec2:CreateTags",
          "Resource": "arn:aws:ec2:*:*:snapshot/*",
          "Condition": {
            "StringLike": {
              "ec2:CreateAction": "CreateSnapshots"
            },
            "Null": {
              "aws:TagKeys": "false"
            },
            "ForAllValues:StringEquals": {
              "aws:TagKeys": "ContinuumForAgentsPurpose"
            }
          }
        },
        {
          "Sid": "ReadSnapshotBlocks",
          "Effect": "Allow",
          "Action": [
            "ebs:ListSnapshotBlocks",
            "ebs:GetSnapshotBlock"
          ],
          "Resource": "arn:aws:ec2:*:*:snapshot/*"
        },
        {
          "Sid": "DenyReadBlocksOnExcludedSnapshots",
          "Effect": "Deny",
          "Action": [
            "ebs:ListSnapshotBlocks",
            "ebs:GetSnapshotBlock"
          ],
          "Resource": "arn:aws:ec2:*:*:snapshot/*",
          "Condition": {
            "StringEquals": {
              "aws:ResourceTag/ContinuumForAgentsExcluded": "true"
            }
          }
        },
        {
          "Sid": "DeleteOnlyOwnScanSnapshots",
          "Effect": "Allow",
          "Action": "ec2:DeleteSnapshot",
          "Resource": "arn:aws:ec2:*:*:snapshot/*",
          "Condition": {
            "Null": {
              "ec2:ResourceTag/ContinuumForAgentsPurpose": "false"
            }
          }
        },
        {
          "Sid": "ListKeyResourceTags",
          "Effect": "Allow",
          "Action": "kms:ListResourceTags",
          "Resource": "arn:aws:kms:*:*:key/*"
        },
        {
          "Sid": "DenyKmsDecryptForExcludedKeys",
          "Effect": "Deny",
          "Action": "kms:Decrypt",
          "Resource": "arn:aws:kms:*:*:key/*",
          "Condition": {
            "StringEquals": {
              "aws:ResourceTag/ContinuumForAgentsExcluded": "true"
            }
          }
        },
        {
          "Sid": "DescribeVolumeKeysSameAccount",
          "Effect": "Allow",
          "Action": "kms:DescribeKey",
          "Resource": "arn:aws:kms:*:*:key/*",
          "Condition": {
            "StringEquals": {
              "aws:ResourceAccount": "${aws:PrincipalAccount}"
            }
          }
        },
        {
          "Sid": "DescribeVolumeKeysSameOrg",
          "Effect": "Allow",
          "Action": "kms:DescribeKey",
          "Resource": "arn:aws:kms:*:*:key/*",
          "Condition": {
            "StringEquals": {
              "aws:ResourceOrgID": "${aws:PrincipalOrgID}"
            }
          }
        },
        {
          "Sid": "DecryptEbsVolumeContext",
          "Effect": "Allow",
          "Action": "kms:Decrypt",
          "Resource": "arn:aws:kms:*:*:key/*",
          "Condition": {
            "StringEquals": {
              "aws:ResourceAccount": "${aws:PrincipalAccount}"
            },
            "StringLike": {
              "kms:ViaService": "ec2.*.amazonaws.com",
              "kms:EncryptionContext:aws:ebs:id": "vol-*"
            }
          }
        },
        {
          "Sid": "DecryptEbsSnapshotContext",
          "Effect": "Allow",
          "Action": "kms:Decrypt",
          "Resource": "arn:aws:kms:*:*:key/*",
          "Condition": {
            "StringEquals": {
              "aws:ResourceAccount": "${aws:PrincipalAccount}"
            },
            "StringLike": {
              "kms:ViaService": "ec2.*.amazonaws.com",
              "kms:EncryptionContext:aws:ebs:id": "snap-*"
            }
          }
        },
        {
          "Sid": "DecryptEbsVolumeContextSameOrg",
          "Effect": "Allow",
          "Action": "kms:Decrypt",
          "Resource": "arn:aws:kms:*:*:key/*",
          "Condition": {
            "StringEquals": {
              "aws:ResourceOrgID": "${aws:PrincipalOrgID}"
            },
            "StringLike": {
              "kms:ViaService": "ec2.*.amazonaws.com",
              "kms:EncryptionContext:aws:ebs:id": "vol-*"
            }
          }
        },
        {
          "Sid": "DecryptEbsSnapshotContextSameOrg",
          "Effect": "Allow",
          "Action": "kms:Decrypt",
          "Resource": "arn:aws:kms:*:*:key/*",
          "Condition": {
            "StringEquals": {
              "aws:ResourceOrgID": "${aws:PrincipalOrgID}"
            },
            "StringLike": {
              "kms:ViaService": "ec2.*.amazonaws.com",
              "kms:EncryptionContext:aws:ebs:id": "snap-*"
            }
          }
        },
        {
          "Sid": "ReadLambdaLayerCode",
          "Effect": "Allow",
          "Action": "lambda:GetLayerVersion",
          "Resource": "*"
        }
      ]
    },
    "VersionId": "v1",
    "IsDefaultVersion": true,
    "CreateDate": "2026-11-25T21:27:08+00:00"
  }
}

Version History (1 recorded)

Raw history
v1new policy

125 actions added

55f0031