Skip to main content
IAM Policy Map

AWSThinkboxAWSPortalAdminPolicy

OperatorAWS managedActivePermissions reviewedShow on mapCompare

Summary

This policy grants AWS Thinkbox's Deadline software full access to multiple AWS services as required for AWS Portal administration. This includes access to create arbitrary tags on several EC2 resource types.

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

Identity

ARN
arn:aws:iam::aws:policy/AWSThinkboxAWSPortalAdminPolicy
Default version
v12
Created
Last edited
Services
cloudformation, dynamodb, ec2, iam, kms, logs, s3, secretsmanager

Control-plane actions (122)

By access level: 32 List, 4 Permissions management, 16 Read, 6 Tagging, 64 Write.

Control-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
CloudFormation15 of 1043 List, 4 Read, 2 Tagging, 6 Write; 12 restricted, 0 conditionalcloudformation:CreateChangeSet, cloudformation:CreateStack, cloudformation:DeleteChangeSet, cloudformation:DeleteStack, cloudformation:DescribeChangeSet, cloudformation:DescribeStackEvents, cloudformation:DescribeStackResources, cloudformation:DescribeStacks, cloudformation:EstimateTemplateCost, cloudformation:ExecuteChangeSet, cloudformation:ListStackResources, cloudformation:ListStacks and 3 more
EC268 of 83424 List, 1 Read, 2 Tagging, 41 Write; 4 restricted, 1 conditionalec2:AllocateAddress, ec2:AssociateAddress, ec2:AssociateRouteTable, ec2:AttachInternetGateway, ec2:AuthorizeSecurityGroupIngress, ec2:CancelSpotFleetRequests, ec2:CreateFleet, ec2:CreateInternetGateway, ec2:CreateLaunchTemplate, ec2:CreateNatGateway, ec2:CreatePlacementGroup, ec2:CreateRoute and 56 more
IAM9 of 1902 List, 5 Read, 2 Write; 8 restricted, 2 conditionaliam:CreateServiceLinkedRole, iam:GetInstanceProfile, iam:GetPolicy, iam:GetRole, iam:GetRolePolicy, iam:GetUser, iam:ListEntitiesForPolicy, iam:ListPolicyVersions, iam:PassRole
KMS2 of 582 Write; 2 restricted, 2 conditionalkms:Encrypt, kms:GenerateDataKey
CloudWatch Logs6 of 1332 List, 1 Read, 3 Write; 4 restricted, 0 conditionallogs:CreateLogGroup, logs:DeleteRetentionPolicy, logs:DescribeLogGroups, logs:DescribeLogStreams, logs:GetLogEvents, logs:PutRetentionPolicy
S317 of 1551 List, 4 Permissions management, 4 Read, 1 Tagging, 7 Write; 16 restricted, 0 conditionals3:CreateBucket, s3:DeleteBucket, s3:DeleteBucketPolicy, s3:GetBucketAcl, s3:GetBucketLocation, s3:GetBucketLogging, s3:GetBucketVersioning, s3:ListAllMyBuckets, s3:PutBucketAcl, s3:PutBucketCORS, s3:PutBucketLogging, s3:PutBucketOwnershipControls and 5 more
Secrets Manager5 of 271 Read, 1 Tagging, 3 Write; 5 restricted, 1 conditionalsecretsmanager:CreateSecret, secretsmanager:DeleteSecret, secretsmanager:DescribeSecret, secretsmanager:TagResource, secretsmanager:UpdateSecret
CloudFormation: 15 actions
  • cloudformation:CreateChangeSet (Write)
  • cloudformation:CreateStack (Write)
  • cloudformation:DeleteChangeSet (Write)
  • cloudformation:DeleteStack (Write)
  • cloudformation:DescribeChangeSet (Read)
  • cloudformation:DescribeStackEvents (Read)
  • cloudformation:DescribeStackResources (Read)
  • cloudformation:DescribeStacks (List)
  • cloudformation:EstimateTemplateCost (Read)
  • cloudformation:ExecuteChangeSet (Write)
  • cloudformation:ListStackResources (List)
  • cloudformation:ListStacks (List)
  • cloudformation:TagResource (Tagging)
  • cloudformation:UntagResource (Tagging)
  • cloudformation:UpdateTerminationProtection (Write)
EC2: 68 actions
  • ec2:AllocateAddress (Write)
  • ec2:AssociateAddress (Write)
  • ec2:AssociateRouteTable (Write)
  • ec2:AttachInternetGateway (Write)
  • ec2:AuthorizeSecurityGroupIngress (Write)
  • ec2:CancelSpotFleetRequests (Write)
  • ec2:CreateFleet (Write)
  • ec2:CreateInternetGateway (Write)
  • ec2:CreateLaunchTemplate (Write)
  • ec2:CreateNatGateway (Write)
  • ec2:CreatePlacementGroup (Write)
  • ec2:CreateRoute (Write)
  • ec2:CreateRouteTable (Write)
  • ec2:CreateSecurityGroup (Write)
  • ec2:CreateSubnet (Write)
  • ec2:CreateTags (Tagging)
  • ec2:CreateVpc (Write)
  • ec2:CreateVpcEndpoint (Write)
  • ec2:DeleteFleets (Write)
  • ec2:DeleteInternetGateway (Write)
  • ec2:DeleteLaunchTemplate (Write)
  • ec2:DeleteNatGateway (Write)
  • ec2:DeletePlacementGroup (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:DescribeAvailabilityZones (List)
  • ec2:DescribeFleetHistory (List)
  • ec2:DescribeFleetInstances (List)
  • ec2:DescribeFleets (List)
  • ec2:DescribeImages (List)
  • ec2:DescribeInstanceTypeOfferings (List)
  • ec2:DescribeInstances (List)
  • ec2:DescribeInternetGateways (List)
  • ec2:DescribeKeyPairs (List)
  • ec2:DescribeLaunchTemplates (List)
  • ec2:DescribeNatGateways (List)
  • ec2:DescribePlacementGroups (List)
  • ec2:DescribeRegions (List)
  • ec2:DescribeRouteTables (List)
  • ec2:DescribeSecurityGroups (List)
  • ec2:DescribeSpotFleetInstances (List)
  • ec2:DescribeSpotFleetRequestHistory (List)
  • ec2:DescribeSpotFleetRequests (List)
  • ec2:DescribeSpotPriceHistory (List)
  • ec2:DescribeSubnets (List)
  • ec2:DescribeTags (List)
  • ec2:DescribeVpcEndpoints (List)
  • ec2:DescribeVpcs (List)
  • ec2:DetachInternetGateway (Write)
  • ec2:DisassociateAddress (Write)
  • ec2:DisassociateRouteTable (Write)
  • ec2:GetConsoleOutput (Read)
  • ec2:ImportKeyPair (Write)
  • ec2:ModifyFleet (Write)
  • ec2:ModifyInstanceAttribute (Write)
  • ec2:ModifySpotFleetRequest (Write)
  • ec2:ModifyVpcAttribute (Write)
  • ec2:ReleaseAddress (Write)
  • ec2:RequestSpotFleet (Write)
  • ec2:RevokeSecurityGroupIngress (Write)
  • ec2:RunInstances (Write)
  • ec2:TerminateInstances (Write)
IAM: 9 actions
  • iam:CreateServiceLinkedRole (Write)
  • iam:GetInstanceProfile (Read)
  • iam:GetPolicy (Read)
  • iam:GetRole (Read)
  • iam:GetRolePolicy (Read)
  • iam:GetUser (Read)
  • iam:ListEntitiesForPolicy (List)
  • iam:ListPolicyVersions (List)
  • iam:PassRole (Write)
KMS: 2 actions
  • kms:Encrypt (Write)
  • kms:GenerateDataKey (Write)
CloudWatch Logs: 6 actions
  • logs:CreateLogGroup (Write)
  • logs:DeleteRetentionPolicy (Write)
  • logs:DescribeLogGroups (List)
  • logs:DescribeLogStreams (List)
  • logs:GetLogEvents (Read)
  • logs:PutRetentionPolicy (Write)
S3: 17 actions
  • s3:CreateBucket (Write)
  • s3:DeleteBucket (Write)
  • s3:DeleteBucketPolicy (Permissions management)
  • s3:GetBucketAcl (Read)
  • s3:GetBucketLocation (Read)
  • s3:GetBucketLogging (Read)
  • s3:GetBucketVersioning (Read)
  • s3:ListAllMyBuckets (List)
  • s3:PutBucketAcl (Permissions management)
  • s3:PutBucketCORS (Write)
  • s3:PutBucketLogging (Write)
  • s3:PutBucketOwnershipControls (Permissions management)
  • s3:PutBucketPolicy (Permissions management)
  • s3:PutBucketTagging (Tagging)
  • s3:PutBucketVersioning (Write)
  • s3:PutEncryptionConfiguration (Write)
  • s3:PutLifecycleConfiguration (Write)
Secrets Manager: 5 actions
  • secretsmanager:CreateSecret (Write)
  • secretsmanager:DeleteSecret (Write)
  • secretsmanager:DescribeSecret (Read)
  • secretsmanager:TagResource (Tagging)
  • secretsmanager:UpdateSecret (Write)

Data-plane actions (7)

By access level: 2 List, 2 Read, 3 Write.

Data-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
DynamoDB1 of 171 Read; 1 restricted, 0 conditionaldynamodb:Scan
S36 of 252 List, 1 Read, 3 Write; 6 restricted, 0 conditionals3:DeleteObject, s3:DeleteObjectVersion, s3:GetObject, s3:ListBucket, s3:ListBucketVersions, s3:PutObject
DynamoDB: 1 actions
  • dynamodb:Scan (Read)
S3: 6 actions
  • s3:DeleteObject (Write)
  • s3:DeleteObjectVersion (Write)
  • s3:GetObject (Read)
  • s3:ListBucket (List)
  • s3:ListBucketVersions (List)
  • s3:PutObject (Write)

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 77 write, tagging or permissions-management actions, short of full control of any service.
  • Grants data-plane write actions on a data store, but only for scoped resources or under conditions.
  • 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": [
    {
      "Sid": "AWSThinkboxAWSPortal1",
      "Effect": "Allow",
      "Action": [
        "ec2:AttachInternetGateway",
        "ec2:AssociateAddress",
        "ec2:AssociateRouteTable",
        "ec2:AllocateAddress",
        "ec2:AuthorizeSecurityGroupIngress",
        "ec2:CreateFleet",
        "ec2:CreateLaunchTemplate",
        "ec2:CreateInternetGateway",
        "ec2:CreateNatGateway",
        "ec2:CreatePlacementGroup",
        "ec2:CreateRoute",
        "ec2:CreateRouteTable",
        "ec2:CreateSecurityGroup",
        "ec2:CreateSubnet",
        "ec2:CreateVpc",
        "ec2:CreateVpcEndpoint",
        "ec2:DescribeAvailabilityZones",
        "ec2:DescribeAddresses",
        "ec2:DescribeFleets",
        "ec2:DescribeFleetHistory",
        "ec2:DescribeFleetInstances",
        "ec2:DescribeImages",
        "ec2:DescribeInstances",
        "ec2:DescribeInternetGateways",
        "ec2:DescribeLaunchTemplates",
        "ec2:DescribeRouteTables",
        "ec2:DescribeNatGateways",
        "ec2:DescribeTags",
        "ec2:DescribeKeyPairs",
        "ec2:DescribePlacementGroups",
        "ec2:DescribeInstanceTypeOfferings",
        "ec2:DescribeRegions",
        "ec2:DescribeSpotFleetRequestHistory",
        "ec2:DescribeSecurityGroups",
        "ec2:DescribeSpotFleetInstances",
        "ec2:DescribeSpotFleetRequests",
        "ec2:DescribeSpotPriceHistory",
        "ec2:DescribeSubnets",
        "ec2:DescribeVpcs",
        "ec2:DescribeVpcEndpoints",
        "ec2:GetConsoleOutput",
        "ec2:ImportKeyPair",
        "ec2:ReleaseAddress",
        "ec2:RequestSpotFleet",
        "ec2:CancelSpotFleetRequests",
        "ec2:DisassociateAddress",
        "ec2:DeleteFleets",
        "ec2:DeleteLaunchTemplate",
        "ec2:DeleteVpc",
        "ec2:DeletePlacementGroup",
        "ec2:DeleteVpcEndpoints",
        "ec2:DeleteInternetGateway",
        "ec2:DeleteSecurityGroup",
        "ec2:RevokeSecurityGroupIngress",
        "ec2:DeleteRoute",
        "ec2:DeleteRouteTable",
        "ec2:DisassociateRouteTable",
        "ec2:DeleteSubnet",
        "ec2:DeleteNatGateway",
        "ec2:DetachInternetGateway",
        "ec2:ModifyInstanceAttribute",
        "ec2:ModifyFleet",
        "ec2:ModifySpotFleetRequest",
        "ec2:ModifyVpcAttribute"
      ],
      "Resource": "*"
    },
    {
      "Sid": "AWSThinkboxAWSPortal2",
      "Effect": "Allow",
      "Action": "ec2:RunInstances",
      "Resource": [
        "arn:aws:ec2:*:*:subnet/*",
        "arn:aws:ec2:*:*:key-pair/*",
        "arn:aws:ec2:*::snapshot/*",
        "arn:aws:ec2:*:*:launch-template/*",
        "arn:aws:ec2:*:*:volume/*",
        "arn:aws:ec2:*:*:security-group/*",
        "arn:aws:ec2:*:*:placement-group/*",
        "arn:aws:ec2:*:*:network-interface/*",
        "arn:aws:ec2:*::image/*"
      ]
    },
    {
      "Sid": "AWSThinkboxAWSPortal3",
      "Effect": "Allow",
      "Action": "ec2:RunInstances",
      "Resource": "arn:aws:ec2:*:*:instance/*",
      "Condition": {
        "ArnLike": {
          "ec2:InstanceProfile": "arn:aws:iam::*:instance-profile/AWSPortal*"
        }
      }
    },
    {
      "Sid": "AWSThinkboxAWSPortal4",
      "Effect": "Allow",
      "Action": "ec2:TerminateInstances",
      "Resource": "*",
      "Condition": {
        "StringEquals": {
          "ec2:ResourceTag/aws:cloudformation:logical-id": "ReverseForwarder"
        }
      }
    },
    {
      "Sid": "AWSThinkboxAWSPortal5",
      "Effect": "Allow",
      "Action": "ec2:TerminateInstances",
      "Resource": "*",
      "Condition": {
        "Null": {
          "ec2:ResourceTag/aws:ec2spot:fleet-request-id": false
        }
      }
    },
    {
      "Sid": "AWSThinkboxAWSPortal6",
      "Effect": "Allow",
      "Action": "ec2:TerminateInstances",
      "Resource": "*",
      "Condition": {
        "ArnLike": {
          "ec2:PlacementGroup": "arn:aws:ec2:*:*:placement-group/*DeadlinePlacementGroup*"
        }
      }
    },
    {
      "Sid": "AWSThinkboxAWSPortal7",
      "Effect": "Allow",
      "Action": [
        "ec2:CreateTags"
      ],
      "Resource": "arn:aws:ec2:*:*:instance/*",
      "Condition": {
        "ArnLike": {
          "ec2:PlacementGroup": "arn:aws:ec2:*:*:placement-group/*DeadlinePlacementGroup*"
        }
      }
    },
    {
      "Sid": "AWSThinkboxAWSPortal8",
      "Effect": "Allow",
      "Action": [
        "ec2:CreateTags"
      ],
      "Resource": "*",
      "Condition": {
        "StringLike": {
          "ec2:CreateAction": "RunInstances"
        }
      }
    },
    {
      "Sid": "AWSThinkboxAWSPortal9",
      "Effect": "Allow",
      "Action": [
        "ec2:CreateTags",
        "ec2:DeleteTags"
      ],
      "Resource": [
        "arn:aws:ec2:*:*:subnet/*",
        "arn:aws:ec2:*:*:security-group/*",
        "arn:aws:ec2:*:*:internet-gateway/*",
        "arn:aws:ec2:*:*:route-table/*",
        "arn:aws:ec2:*:*:volume/*",
        "arn:aws:ec2:*:*:vpc/*",
        "arn:aws:ec2:*:*:natgateway/*",
        "arn:aws:ec2:*:*:elastic-ip/*",
        "arn:aws:ec2:*:*:vpc-endpoint/*"
      ]
    },
    {
      "Sid": "AWSThinkboxAWSPortal10",
      "Effect": "Allow",
      "Action": [
        "iam:GetUser"
      ],
      "Resource": "*"
    },
    {
      "Sid": "AWSThinkboxAWSPortal11",
      "Effect": "Allow",
      "Action": [
        "iam:GetInstanceProfile"
      ],
      "Resource": [
        "arn:aws:iam::*:instance-profile/AWSPortal*"
      ]
    },
    {
      "Sid": "AWSThinkboxAWSPortal12",
      "Effect": "Allow",
      "Action": [
        "iam:GetPolicy",
        "iam:ListEntitiesForPolicy",
        "iam:ListPolicyVersions"
      ],
      "Resource": [
        "arn:aws:iam::*:policy/AWSPortal*"
      ]
    },
    {
      "Sid": "AWSThinkboxAWSPortal13",
      "Effect": "Allow",
      "Action": [
        "iam:GetRole",
        "iam:GetRolePolicy"
      ],
      "Resource": [
        "arn:aws:iam::*:role/AWSPortal*",
        "arn:aws:iam::*:role/DeadlineSpot*"
      ]
    },
    {
      "Sid": "AWSThinkboxAWSPortal14",
      "Effect": "Allow",
      "Action": [
        "iam:PassRole"
      ],
      "Resource": [
        "arn:aws:iam::*:role/AWSPortal*",
        "arn:aws:iam::*:role/DeadlineSpot*"
      ],
      "Condition": {
        "StringEquals": {
          "iam:PassedToService": [
            "ec2.amazonaws.com",
            "ec2fleet.amazonaws.com",
            "spot.amazonaws.com",
            "spotfleet.amazonaws.com",
            "cloudformation.amazonaws.com"
          ]
        }
      }
    },
    {
      "Sid": "AWSThinkboxAWSPortal15",
      "Effect": "Allow",
      "Action": "iam:CreateServiceLinkedRole",
      "Resource": "arn:aws:iam::*:role/aws-service-role/*",
      "Condition": {
        "StringEquals": {
          "iam:AWSServiceName": [
            "ec2fleet.amazonaws.com",
            "spot.amazonaws.com",
            "spotfleet.amazonaws.com"
          ]
        }
      }
    },
    {
      "Sid": "AWSThinkboxAWSPortal16",
      "Effect": "Allow",
      "Action": [
        "s3:CreateBucket",
        "s3:GetBucketLocation",
        "s3:GetBucketLogging",
        "s3:GetBucketVersioning",
        "s3:PutBucketAcl",
        "s3:PutBucketCORS",
        "s3:PutBucketVersioning",
        "s3:GetBucketAcl",
        "s3:GetObject",
        "s3:PutBucketLogging",
        "s3:PutBucketTagging",
        "s3:PutObject",
        "s3:ListBucket",
        "s3:ListBucketVersions",
        "s3:PutEncryptionConfiguration",
        "s3:PutLifecycleConfiguration",
        "s3:DeleteBucket",
        "s3:DeleteObject",
        "s3:DeleteBucketPolicy",
        "s3:DeleteObjectVersion"
      ],
      "Resource": [
        "arn:aws:s3::*:awsportal*",
        "arn:aws:s3::*:stack*",
        "arn:aws:s3::*:aws-portal-cache*",
        "arn:aws:s3::*:logs-for-aws-portal-cache*",
        "arn:aws:s3::*:logs-for-stack*"
      ]
    },
    {
      "Sid": "AWSThinkboxAWSPortal17",
      "Effect": "Allow",
      "Action": [
        "s3:PutBucketPolicy"
      ],
      "Resource": [
        "arn:aws:s3::*:logs-for-aws-portal-cache*"
      ]
    },
    {
      "Sid": "AWSThinkboxAWSPortal18",
      "Effect": "Allow",
      "Action": [
        "s3:PutBucketOwnershipControls"
      ],
      "Resource": [
        "arn:aws:s3::*:logs-for-stack*"
      ]
    },
    {
      "Sid": "AWSThinkboxAWSPortal19",
      "Effect": "Allow",
      "Action": [
        "s3:ListAllMyBuckets"
      ],
      "Resource": "*"
    },
    {
      "Sid": "AWSThinkboxAWSPortal20",
      "Effect": "Allow",
      "Action": [
        "dynamodb:Scan"
      ],
      "Resource": "arn:aws:dynamodb:*:*:table/DeadlineFleetHealth*"
    },
    {
      "Sid": "AWSThinkboxAWSPortal21",
      "Effect": "Allow",
      "Action": [
        "cloudformation:CreateStack",
        "cloudformation:DescribeStackEvents",
        "cloudformation:DescribeStackResources",
        "cloudformation:DeleteStack",
        "cloudformation:DeleteChangeSet",
        "cloudformation:ListStackResources",
        "cloudformation:CreateChangeSet",
        "cloudformation:DescribeChangeSet",
        "cloudformation:ExecuteChangeSet",
        "cloudformation:UpdateTerminationProtection",
        "cloudformation:TagResource",
        "cloudformation:UntagResource"
      ],
      "Resource": [
        "arn:aws:cloudformation:*:*:stack/stack*/*",
        "arn:aws:cloudformation:*:*:stack/Deadline*/*"
      ]
    },
    {
      "Sid": "AWSThinkboxAWSPortal22",
      "Effect": "Allow",
      "Action": [
        "cloudformation:EstimateTemplateCost",
        "cloudformation:DescribeStacks",
        "cloudformation:ListStacks"
      ],
      "Resource": "*"
    },
    {
      "Sid": "AWSThinkboxAWSPortal23",
      "Effect": "Allow",
      "Action": [
        "logs:DescribeLogStreams",
        "logs:GetLogEvents",
        "logs:PutRetentionPolicy",
        "logs:DeleteRetentionPolicy"
      ],
      "Resource": "arn:aws:logs:*:*:log-group:/thinkbox*"
    },
    {
      "Sid": "AWSThinkboxAWSPortal24",
      "Effect": "Allow",
      "Action": [
        "logs:DescribeLogGroups",
        "logs:CreateLogGroup"
      ],
      "Resource": "*"
    },
    {
      "Sid": "AWSThinkboxAWSPortal25",
      "Effect": "Allow",
      "Action": [
        "kms:Encrypt",
        "kms:GenerateDataKey"
      ],
      "Resource": [
        "*"
      ],
      "Condition": {
        "StringLike": {
          "kms:ViaService": [
            "s3.*.amazonaws.com",
            "secretsmanager.*.amazonaws.com"
          ]
        }
      }
    },
    {
      "Sid": "AWSThinkboxAWSPortal26",
      "Effect": "Allow",
      "Action": [
        "secretsmanager:CreateSecret"
      ],
      "Resource": "*",
      "Condition": {
        "StringLike": {
          "secretsmanager:Name": [
            "rcs-tls-pw*"
          ]
        }
      }
    },
    {
      "Sid": "AWSThinkboxAWSPortal27",
      "Effect": "Allow",
      "Action": [
        "secretsmanager:DeleteSecret",
        "secretsmanager:UpdateSecret",
        "secretsmanager:DescribeSecret",
        "secretsmanager:TagResource"
      ],
      "Resource": "arn:aws:secretsmanager:*:*:secret:rcs-tls-pw*"
    }
  ]
}

Version history

Current version v12, edited by AWS on 2026-02-12. 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/AWSThinkboxAWSPortalAdminPolicy
aws iam attach-user-policy --user-name USER_NAME --policy-arn arn:aws:iam::aws:policy/AWSThinkboxAWSPortalAdminPolicy
aws iam attach-group-policy --group-name GROUP_NAME --policy-arn arn:aws:iam::aws:policy/AWSThinkboxAWSPortalAdminPolicy

CloudFormation

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

Terraform

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

CDK (TypeScript)

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

Sources

Pending editorial review. No editorial sources are listed yet.