Skip to main content
IAM Policy Map

AmplifyBackendDeployFullAccess

OperatorService roleActivePermissions reviewedShow on mapCompare

Summary

Provides Amplify full access permissions to deploy Amplify backend resources (AWS AppSync, Amazon Cognito, Amazon S3 and other related services) via the AWS Cloud Development Kit (AWS CDK)

Permissions imported from the AWS Managed Policy Reference Guide; other sections pending editorial review.

Identity

ARN
arn:aws:iam::aws:policy/service-role/AmplifyBackendDeployFullAccess
Default version
v9
Created
Last edited
Services
amplify, appsync, cloudformation, ec2, lambda, logs, rds, s3, ssm, sts

Control-plane actions (34)

By access level: 11 List, 12 Read, 11 Write.

Control-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
Amplify2 of 411 List, 1 Read; 0 restricted, 0 conditionalamplify:GetBackendEnvironment, amplify:ListApps
AppSync7 of 871 List, 2 Read, 4 Write; 0 restricted, 0 conditionalappsync:GetIntrospectionSchema, appsync:GetSchemaCreationStatus, appsync:ListFunctions, appsync:StartSchemaCreation, appsync:UpdateApiKey, appsync:UpdateFunction, appsync:UpdateResolver
CloudFormation7 of 1043 List, 3 Read, 1 Write; 6 restricted, 6 conditionalcloudformation:DeleteStack, cloudformation:DescribeStackEvents, cloudformation:DescribeStacks, cloudformation:GetTemplate, cloudformation:GetTemplateSummary, cloudformation:ListStackResources, cloudformation:ListStacks
EC21 of 8341 List; 1 restricted, 1 conditionalec2:DescribeSubnets
Lambda4 of 1212 Read, 2 Write; 4 restricted, 3 conditionallambda:GetFunction, lambda:ListTags, lambda:UpdateFunctionCode, lambda:UpdateFunctionConfiguration
CloudWatch Logs1 of 1331 Read; 1 restricted, 0 conditionallogs:FilterLogEvents
RDS4 of 1734 List; 4 restricted, 4 conditionalrds:DescribeDBClusters, rds:DescribeDBInstances, rds:DescribeDBProxies, rds:DescribeDBSubnetGroups
Systems Manager7 of 1641 List, 3 Read, 3 Write; 6 restricted, 6 conditionalssm:DeleteParameter, ssm:DeleteParameters, ssm:DescribeParameters, ssm:GetParameter, ssm:GetParameters, ssm:GetParametersByPath, ssm:PutParameter
STS1 of 161 Write; 1 restricted, 1 conditionalsts:AssumeRole
Amplify: 2 actions
  • amplify:GetBackendEnvironment (Read)
  • amplify:ListApps (List)
AppSync: 7 actions
  • appsync:GetIntrospectionSchema (Read)
  • appsync:GetSchemaCreationStatus (Read)
  • appsync:ListFunctions (List)
  • appsync:StartSchemaCreation (Write)
  • appsync:UpdateApiKey (Write)
  • appsync:UpdateFunction (Write)
  • appsync:UpdateResolver (Write)
CloudFormation: 7 actions
  • cloudformation:DeleteStack (Write)
  • cloudformation:DescribeStackEvents (Read)
  • cloudformation:DescribeStacks (List)
  • cloudformation:GetTemplate (Read)
  • cloudformation:GetTemplateSummary (Read)
  • cloudformation:ListStackResources (List)
  • cloudformation:ListStacks (List)
EC2: 1 actions
  • ec2:DescribeSubnets (List)
Lambda: 4 actions
  • lambda:GetFunction (Read)
  • lambda:ListTags (Read)
  • lambda:UpdateFunctionCode (Write)
  • lambda:UpdateFunctionConfiguration (Write)
CloudWatch Logs: 1 actions
  • logs:FilterLogEvents (Read)
RDS: 4 actions
  • rds:DescribeDBClusters (List)
  • rds:DescribeDBInstances (List)
  • rds:DescribeDBProxies (List)
  • rds:DescribeDBSubnetGroups (List)
Systems Manager: 7 actions
  • ssm:DeleteParameter (Write)
  • ssm:DeleteParameters (Write)
  • ssm:DescribeParameters (List)
  • ssm:GetParameter (Read)
  • ssm:GetParameters (Read)
  • ssm:GetParametersByPath (Read)
  • ssm:PutParameter (Write)
STS: 1 actions
  • sts:AssumeRole (Write)

Data-plane actions (2)

By access level: 1 Read, 1 Write.

Data-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
Lambda1 of 141 Write; 1 restricted, 1 conditionallambda:InvokeFunction
S31 of 251 Read; 1 restricted, 1 conditionals3:GetObject
Lambda: 1 actions
  • lambda:InvokeFunction (Write)
S3: 1 actions
  • s3:GetObject (Read)

Excluded and conditional actions

No patterns are excluded by NotAction or Deny statements.

Resource scope and attachment

Resource scope across granted actions: mixed.

Can be attached: Yes, to users, groups and roles.

Why this tier

  • Grants 12 write, tagging or permissions-management actions, short of full control of any service.

Guidance

Pending editorial review. The permission data on this page comes straight from AWS; this section will be filled in once a reviewed guide exists.

Same service

Same domain

Frequently asked questions

Pending editorial review. The permission data on this page comes straight from AWS; this section will be filled in once a reviewed guide exists.

Policy JSON

Download policy.json

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "CDKPreDeploy",
      "Effect": "Allow",
      "Action": [
        "cloudformation:DescribeStacks",
        "cloudformation:DescribeStackEvents",
        "cloudformation:GetTemplate",
        "cloudformation:ListStackResources",
        "cloudformation:GetTemplateSummary",
        "cloudformation:DeleteStack"
      ],
      "Resource": [
        "arn:aws:cloudformation:*:*:stack/amplify-*",
        "arn:aws:cloudformation:*:*:stack/CDKToolkit/*"
      ],
      "Condition": {
        "StringEquals": {
          "aws:ResourceAccount": "${aws:PrincipalAccount}"
        }
      }
    },
    {
      "Sid": "AmplifyMetadata",
      "Effect": "Allow",
      "Action": [
        "amplify:ListApps",
        "cloudformation:ListStacks",
        "ssm:DescribeParameters",
        "appsync:GetIntrospectionSchema",
        "amplify:GetBackendEnvironment"
      ],
      "Resource": [
        "*"
      ]
    },
    {
      "Sid": "AmplifyHotSwappableResources",
      "Effect": "Allow",
      "Action": [
        "appsync:GetSchemaCreationStatus",
        "appsync:StartSchemaCreation",
        "appsync:UpdateResolver",
        "appsync:ListFunctions",
        "appsync:UpdateFunction",
        "appsync:UpdateApiKey"
      ],
      "Resource": [
        "*"
      ]
    },
    {
      "Sid": "AmplifyHotSwappableFunctionResource",
      "Effect": "Allow",
      "Action": [
        "lambda:InvokeFunction",
        "lambda:UpdateFunctionCode",
        "lambda:GetFunction",
        "lambda:UpdateFunctionConfiguration"
      ],
      "Resource": [
        "arn:aws:lambda:*:*:function:amplify-*"
      ],
      "Condition": {
        "StringEquals": {
          "aws:ResourceAccount": "${aws:PrincipalAccount}"
        }
      }
    },
    {
      "Sid": "AmplifySandboxLambdaLogsStreamingListTags",
      "Effect": "Allow",
      "Action": [
        "lambda:ListTags"
      ],
      "Resource": [
        "arn:aws:lambda:*:*:function:amplify-*"
      ]
    },
    {
      "Sid": "AmplifySandboxLambdaLogsStreamingFilterLogEvents",
      "Effect": "Allow",
      "Action": [
        "logs:FilterLogEvents"
      ],
      "Resource": [
        "arn:aws:logs:*:*:log-group:/aws/lambda/amplify-*:*",
        "arn:aws:logs:*:*:log-group:amplify-*:*"
      ]
    },
    {
      "Sid": "AmplifySchema",
      "Effect": "Allow",
      "Action": [
        "s3:GetObject"
      ],
      "Resource": [
        "arn:aws:s3:::*amplify*",
        "arn:aws:s3:::cdk-*-assets-*-*"
      ],
      "Condition": {
        "StringEquals": {
          "aws:ResourceAccount": "${aws:PrincipalAccount}"
        }
      }
    },
    {
      "Sid": "CDKDeploy",
      "Effect": "Allow",
      "Action": [
        "sts:AssumeRole"
      ],
      "Resource": [
        "arn:aws:iam::*:role/cdk-*-deploy-role-*-*",
        "arn:aws:iam::*:role/cdk-*-file-publishing-role-*-*",
        "arn:aws:iam::*:role/cdk-*-image-publishing-role-*-*",
        "arn:aws:iam::*:role/cdk-*-lookup-role-*-*"
      ],
      "Condition": {
        "StringEquals": {
          "aws:ResourceAccount": "${aws:PrincipalAccount}"
        }
      }
    },
    {
      "Sid": "AmplifySSM",
      "Effect": "Allow",
      "Action": [
        "ssm:GetParametersByPath",
        "ssm:GetParameters",
        "ssm:GetParameter"
      ],
      "Resource": [
        "arn:aws:ssm:*:*:parameter/amplify/*",
        "arn:aws:ssm:*:*:parameter/cdk-bootstrap/*"
      ],
      "Condition": {
        "StringEquals": {
          "aws:ResourceAccount": "${aws:PrincipalAccount}"
        }
      }
    },
    {
      "Sid": "AmplifyModifySSMParam",
      "Effect": "Allow",
      "Action": [
        "ssm:PutParameter",
        "ssm:DeleteParameter",
        "ssm:DeleteParameters"
      ],
      "Resource": "arn:aws:ssm:*:*:parameter/amplify/*",
      "Condition": {
        "StringEquals": {
          "aws:ResourceAccount": "${aws:PrincipalAccount}"
        }
      }
    },
    {
      "Sid": "AmplifyDiscoverRDSVpcConfig",
      "Effect": "Allow",
      "Action": [
        "rds:DescribeDBProxies",
        "rds:DescribeDBInstances",
        "rds:DescribeDBClusters",
        "ec2:DescribeSubnets",
        "rds:DescribeDBSubnetGroups"
      ],
      "Resource": [
        "arn:aws:rds:*:*:db:*",
        "arn:aws:rds:*:*:cluster:*",
        "arn:aws:rds:*:*:db-proxy:*",
        "arn:aws:rds:*:*:subgrp:*",
        "arn:aws:ec2:*:*:subnet/*"
      ],
      "Condition": {
        "StringEquals": {
          "aws:ResourceAccount": "${aws:PrincipalAccount}"
        }
      }
    }
  ]
}

Version history

Current version v9, edited by AWS on 2024-11-14. Version history is recorded from 2026-11-11. Earlier versions are in the IAM console under Policy versions.

Attach snippets

AWS CLI

aws iam attach-role-policy --role-name ROLE_NAME --policy-arn arn:aws:iam::aws:policy/service-role/AmplifyBackendDeployFullAccess
aws iam attach-user-policy --user-name USER_NAME --policy-arn arn:aws:iam::aws:policy/service-role/AmplifyBackendDeployFullAccess
aws iam attach-group-policy --group-name GROUP_NAME --policy-arn arn:aws:iam::aws:policy/service-role/AmplifyBackendDeployFullAccess

CloudFormation

Resources:
  ExampleRole:
    Type: AWS::IAM::Role
    Properties:
      AssumeRolePolicyDocument: {}  # replace with your trust policy
      ManagedPolicyArns:
        - arn:aws:iam::aws:policy/service-role/AmplifyBackendDeployFullAccess

Terraform

resource "aws_iam_role_policy_attachment" "service_role_amplifybackenddeployfullaccess" {
  role       = aws_iam_role.example.name
  policy_arn = "arn:aws:iam::aws:policy/service-role/AmplifyBackendDeployFullAccess"
}

CDK (TypeScript)

role.addManagedPolicy(
  iam.ManagedPolicy.fromAwsManagedPolicyName("service-role/AmplifyBackendDeployFullAccess"),
);

Sources

Pending editorial review. No editorial sources are listed yet.