Skip to main content
IAM Policy Map

AWSDeepRacerCloudFormationAccessPolicy

AdminAWS managedActivePermissions reviewedShow on mapCompare

Summary

Allows CloudFormation to create and manage AWS stacks and resources on your behalf.

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

Identity

ARN
arn:aws:iam::aws:policy/AWSDeepRacerCloudFormationAccessPolicy
Default version
v2
Created
Last edited
Services
cloudformation, ec2, iam, lambda, robomaker, s3

Control-plane actions (166)

By access level: 34 List, 2 Permissions management, 37 Read, 6 Tagging, 87 Write.

Control-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
CloudFormationAll 104 actions (see the CloudFormation page)23 List, 1 Permissions management, 34 Read, 2 Tagging, 44 Write; 0 restricted, 0 conditionalcloudformation:*
EC245 of 83410 List, 2 Tagging, 33 Write; 0 restricted, 0 conditionalec2:AllocateAddress, ec2:AssociateRouteTable, ec2:AttachInternetGateway, ec2:AuthorizeSecurityGroupEgress, ec2:AuthorizeSecurityGroupIngress, ec2:CreateInternetGateway, ec2:CreateNatGateway, ec2:CreateNetworkAcl, ec2:CreateNetworkAclEntry, ec2:CreateRoute, ec2:CreateRouteTable, ec2:CreateSecurityGroup and 33 more
IAM1 of 1901 Write; 1 restricted, 1 conditionaliam:PassRole
Lambda5 of 1211 Read, 1 Tagging, 3 Write; 5 restricted, 0 conditionallambda:CreateFunction, lambda:DeleteFunction, lambda:GetFunction, lambda:TagResource, lambda:UpdateFunctionCode
RoboMaker7 of 591 List, 1 Read, 1 Tagging, 4 Write; 7 restricted, 0 conditionalrobomaker:CreateSimulationApplication, robomaker:CreateSimulationApplicationVersion, robomaker:DeleteSimulationApplication, robomaker:DescribeSimulationApplication, robomaker:ListSimulationApplications, robomaker:TagResource, robomaker:UpdateSimulationApplication
S34 of 1551 Permissions management, 1 Read, 2 Write; 4 restricted, 0 conditionals3:CreateBucket, s3:DeleteBucket, s3:GetBucketAcl, s3:PutBucketPolicy
EC2: 45 actions
  • ec2:AllocateAddress (Write)
  • ec2:AssociateRouteTable (Write)
  • ec2:AttachInternetGateway (Write)
  • ec2:AuthorizeSecurityGroupEgress (Write)
  • ec2:AuthorizeSecurityGroupIngress (Write)
  • ec2:CreateInternetGateway (Write)
  • ec2:CreateNatGateway (Write)
  • ec2:CreateNetworkAcl (Write)
  • ec2:CreateNetworkAclEntry (Write)
  • ec2:CreateRoute (Write)
  • ec2:CreateRouteTable (Write)
  • ec2:CreateSecurityGroup (Write)
  • ec2:CreateSubnet (Write)
  • ec2:CreateTags (Tagging)
  • ec2:CreateVpc (Write)
  • ec2:CreateVpcEndpoint (Write)
  • ec2:DeleteInternetGateway (Write)
  • ec2:DeleteNatGateway (Write)
  • ec2:DeleteNetworkAcl (Write)
  • ec2:DeleteNetworkAclEntry (Write)
  • ec2:DeleteRoute (Write)
  • ec2:DeleteRouteTable (Write)
  • ec2:DeleteSecurityGroup (Write)
  • ec2:DeleteSubnet (Write)
  • ec2:DeleteTags (Tagging)
  • ec2:DeleteVpc (Write)
  • ec2:DeleteVpcEndpoints (Write)
  • ec2:DescribeAddresses (List)
  • ec2:DescribeInternetGateways (List)
  • ec2:DescribeNatGateways (List)
  • ec2:DescribeNetworkAcls (List)
  • ec2:DescribeRouteTables (List)
  • ec2:DescribeSecurityGroups (List)
  • ec2:DescribeSubnets (List)
  • ec2:DescribeTags (List)
  • ec2:DescribeVpcEndpoints (List)
  • ec2:DescribeVpcs (List)
  • ec2:DetachInternetGateway (Write)
  • ec2:DisassociateRouteTable (Write)
  • ec2:ModifySubnetAttribute (Write)
  • ec2:ModifyVpcAttribute (Write)
  • ec2:ReleaseAddress (Write)
  • ec2:ReplaceNetworkAclAssociation (Write)
  • ec2:RevokeSecurityGroupEgress (Write)
  • ec2:RevokeSecurityGroupIngress (Write)
IAM: 1 actions
  • iam:PassRole (Write)
Lambda: 5 actions
  • lambda:CreateFunction (Write)
  • lambda:DeleteFunction (Write)
  • lambda:GetFunction (Read)
  • lambda:TagResource (Tagging)
  • lambda:UpdateFunctionCode (Write)
RoboMaker: 7 actions
  • robomaker:CreateSimulationApplication (Write)
  • robomaker:CreateSimulationApplicationVersion (Write)
  • robomaker:DeleteSimulationApplication (Write)
  • robomaker:DescribeSimulationApplication (Read)
  • robomaker:ListSimulationApplications (List)
  • robomaker:TagResource (Tagging)
  • robomaker:UpdateSimulationApplication (Write)
S3: 4 actions
  • s3:CreateBucket (Write)
  • s3:DeleteBucket (Write)
  • s3:GetBucketAcl (Read)
  • s3:PutBucketPolicy (Permissions management)

Data-plane actions (1)

By access level: 1 List.

Data-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
S31 of 251 List; 1 restricted, 0 conditionals3:ListBucket
S3: 1 actions
  • s3:ListBucket (List)

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 at least 80% of the write and permissions-management actions of: cloudformation (45 of 45).
  • Grants iam:PassRole, but only for scoped roles or under conditions (for example iam:PassedToService).

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": [
    {
      "Effect": "Allow",
      "Action": [
        "cloudformation:*"
      ],
      "Resource": "*"
    },
    {
      "Effect": "Allow",
      "Action": [
        "ec2:AllocateAddress",
        "ec2:AttachInternetGateway",
        "ec2:AssociateRouteTable",
        "ec2:AuthorizeSecurityGroupEgress",
        "ec2:AuthorizeSecurityGroupIngress",
        "ec2:CreateInternetGateway",
        "ec2:CreateNatGateway",
        "ec2:CreateNetworkAcl",
        "ec2:CreateNetworkAclEntry",
        "ec2:CreateRoute",
        "ec2:CreateRouteTable",
        "ec2:CreateSecurityGroup",
        "ec2:CreateSubnet",
        "ec2:CreateTags",
        "ec2:CreateVpc",
        "ec2:CreateVpcEndpoint",
        "ec2:DeleteInternetGateway",
        "ec2:DeleteNatGateway",
        "ec2:DeleteNetworkAcl",
        "ec2:DeleteNetworkAclEntry",
        "ec2:DeleteRoute",
        "ec2:DeleteRouteTable",
        "ec2:DeleteSecurityGroup",
        "ec2:DeleteSubnet",
        "ec2:DeleteTags",
        "ec2:DeleteVpc",
        "ec2:DeleteVpcEndpoints",
        "ec2:DescribeAddresses",
        "ec2:DescribeInternetGateways",
        "ec2:DescribeNatGateways",
        "ec2:DescribeNetworkAcls",
        "ec2:DescribeRouteTables",
        "ec2:DescribeSecurityGroups",
        "ec2:DescribeSubnets",
        "ec2:DescribeTags",
        "ec2:DescribeVpcEndpoints",
        "ec2:DescribeVpcs",
        "ec2:DetachInternetGateway",
        "ec2:DisassociateRouteTable",
        "ec2:ModifySubnetAttribute",
        "ec2:ModifyVpcAttribute",
        "ec2:ReleaseAddress",
        "ec2:ReplaceNetworkAclAssociation",
        "ec2:RevokeSecurityGroupEgress",
        "ec2:RevokeSecurityGroupIngress"
      ],
      "Resource": "*"
    },
    {
      "Effect": "Allow",
      "Action": [
        "iam:PassRole"
      ],
      "Resource": "arn:aws:iam::*:role/service-role/AWSDeepRacerLambdaAccessRole",
      "Condition": {
        "StringLikeIfExists": {
          "iam:PassedToService": "lambda.amazonaws.com"
        }
      }
    },
    {
      "Effect": "Allow",
      "Action": [
        "lambda:CreateFunction",
        "lambda:GetFunction",
        "lambda:DeleteFunction",
        "lambda:TagResource",
        "lambda:UpdateFunctionCode"
      ],
      "Resource": [
        "arn:aws:lambda:*:*:function:*DeepRacer*",
        "arn:aws:lambda:*:*:function:*Deepracer*",
        "arn:aws:lambda:*:*:function:*deepracer*"
      ]
    },
    {
      "Effect": "Allow",
      "Action": [
        "s3:PutBucketPolicy",
        "s3:CreateBucket",
        "s3:ListBucket",
        "s3:GetBucketAcl",
        "s3:DeleteBucket"
      ],
      "Resource": [
        "arn:aws:s3:::*DeepRacer*",
        "arn:aws:s3:::*Deepracer*",
        "arn:aws:s3:::*deepracer*"
      ]
    },
    {
      "Effect": "Allow",
      "Action": [
        "robomaker:CreateSimulationApplication",
        "robomaker:CreateSimulationApplicationVersion",
        "robomaker:DeleteSimulationApplication",
        "robomaker:DescribeSimulationApplication",
        "robomaker:ListSimulationApplications",
        "robomaker:TagResource",
        "robomaker:UpdateSimulationApplication"
      ],
      "Resource": [
        "arn:aws:robomaker:*:*:/createSimulationApplication",
        "arn:aws:robomaker:*:*:simulation-application/deepracer*"
      ]
    }
  ]
}

Version history

Current version v2, edited by AWS on 2019-06-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/AWSDeepRacerCloudFormationAccessPolicy
aws iam attach-user-policy --user-name USER_NAME --policy-arn arn:aws:iam::aws:policy/AWSDeepRacerCloudFormationAccessPolicy
aws iam attach-group-policy --group-name GROUP_NAME --policy-arn arn:aws:iam::aws:policy/AWSDeepRacerCloudFormationAccessPolicy

CloudFormation

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

Terraform

resource "aws_iam_role_policy_attachment" "awsdeepracercloudformationaccesspolicy" {
  role       = aws_iam_role.example.name
  policy_arn = "arn:aws:iam::aws:policy/AWSDeepRacerCloudFormationAccessPolicy"
}

CDK (TypeScript)

role.addManagedPolicy(
  iam.ManagedPolicy.fromAwsManagedPolicyName("AWSDeepRacerCloudFormationAccessPolicy"),
);

Sources

Pending editorial review. No editorial sources are listed yet.