osis:GetResourcePolicy

Read

osis:GetResourcePolicy is a Read access-level action in the osis service. Grants permission to get a resource policy for an OpenSearch Ingestion resource

Resource types

ARNs that osis:GetResourcePolicy can be scoped to in an IAM policy.

arn:${Partition}:osis:${Region}:${Account}:pipeline/${PipelineName}
pipeline

Condition keys

Keys you can use in the Condition block of a policy that grants osis:GetResourcePolicy.

aws:ResourceTag/${TagKey} String

Filters access by the tags associated with the resource

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowOsisGetResourcePolicy",
      "Effect": "Allow",
      "Action": "osis:GetResourcePolicy",
      "Resource": "*"
    }
  ]
}

Related actions in osis

View all osis actions →