opsworks:RegisterVolume

Write

opsworks:RegisterVolume is a Write access-level action in the opsworks service. Grants permission to register an Amazon EBS volume with a specified stack

Resource types

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

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

Related actions in opsworks

View all opsworks actions →