cloudshell:GetEnvironmentStatus

Read

cloudshell:GetEnvironmentStatus is a Read access-level action in the cloudshell service. Grants permission to read a CloudShell environment status

Resource types

ARNs that cloudshell:GetEnvironmentStatus 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:GetEnvironmentStatus. Replace "Resource": "*" with a specific ARN to follow least privilege.

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

Related actions in cloudshell

View all cloudshell actions →