opsworks:RebootInstance

Write

opsworks:RebootInstance is a Write access-level action in the opsworks service. Grants permission to reboot a specified instance

Resource types

ARNs that opsworks:RebootInstance can be scoped to in an IAM policy.

arn:${Partition}:opsworks:${Region}:${Account}:stack/${StackId}/
stack

Condition keys

No condition keys are documented for this action.

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowOpsworksRebootInstance",
      "Effect": "Allow",
      "Action": "opsworks:RebootInstance",
      "Resource": "*"
    }
  ]
}

Related actions in opsworks

View all opsworks actions →