storagegateway:CreateTapes

Write

storagegateway:CreateTapes is a Write access-level action in the storagegateway service. Grants permission to create one or more virtual tapes. You write data to the virtual tapes and then archive the tapes

Resource types

ARNs that storagegateway:CreateTapes can be scoped to in an IAM policy.

arn:${Partition}:storagegateway:${Region}:${Account}:gateway/${GatewayId} required
gateway
arn:${Partition}:storagegateway:${Region}:${Account}:tapepool/${PoolId} required
tapepool

Condition keys

Keys you can use in the Condition block of a policy that grants storagegateway:CreateTapes.

aws:RequestTag/${TagKey} String

Filters access by the allowed set of values for each of the tags

aws:TagKeys ArrayOfString

Filters access by the presence of mandatory tags in the request

aws:ResourceTag/${TagKey} String

Filters access by tag-value associated with the resource

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowStoragegatewayCreateTapes",
      "Effect": "Allow",
      "Action": "storagegateway:CreateTapes",
      "Resource": "*"
    }
  ]
}

Related actions in storagegateway

View all storagegateway actions →