pi:GetDimensionKeyDetails

Read

pi:GetDimensionKeyDetails is a Read access-level action in the pi service. Grants permission to call GetDimensionKeyDetails API to retrieve the attributes of the specified dimension group

Resource types

ARNs that pi:GetDimensionKeyDetails can be scoped to in an IAM policy.

arn:${Partition}:pi:${Region}:${Account}:metrics/${ServiceType}/${Identifier}
metric-resource

Condition keys

Keys you can use in the Condition block of a policy that grants pi:GetDimensionKeyDetails.

aws:ResourceTag/${TagKey} String

Filters access by the tags associated with the resource

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowPiGetDimensionKeyDetails",
      "Effect": "Allow",
      "Action": "pi:GetDimensionKeyDetails",
      "Resource": "*"
    }
  ]
}

Related actions in pi

View all pi actions →