cloudshell:StopEnvironment is a Write access-level action in the cloudshell service. Grants permission to stop a running CloudShell environment
ARNs that cloudshell:StopEnvironment can be scoped to in an IAM policy.
No condition keys are documented for this action.
A minimal policy that allows cloudshell:StopEnvironment. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowCloudshellStopEnvironment",
"Effect": "Allow",
"Action": "cloudshell:StopEnvironment",
"Resource": "*"
}
]
}