cloudshell:ApproveCommand

Read

cloudshell:ApproveCommand is a Read access-level action in the cloudshell service. Grants permission to approve a command sent by another AWS service

Resource types

ARNs that cloudshell:ApproveCommand can be scoped to in an IAM policy.

arn:${Partition}:cloudshell:${Region}:${Account}:environment/${EnvironmentId}
Environment

Condition keys

No condition keys are documented for this action.

Example IAM policy

A minimal policy that allows cloudshell:ApproveCommand. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowCloudshellApproveCommand",
      "Effect": "Allow",
      "Action": "cloudshell:ApproveCommand",
      "Resource": "*"
    }
  ]
}

Related actions in cloudshell

View all cloudshell actions →