apigateway:GetPortalProductSharingPolicy

Read

apigateway:GetPortalProductSharingPolicy is a Read access-level action in the apigateway service. Grants permission to read a Portal Product Sharing Policy

Resource types

ARNs that apigateway:GetPortalProductSharingPolicy can be scoped to in an IAM policy.

arn:${Partition}:apigateway:${Region}:${Account}:/portalproducts/${PortalProductId}
PortalProduct

Condition keys

Keys you can use in the Condition block of a policy that grants apigateway:GetPortalProductSharingPolicy.

apigateway:Resource/PortalProductDisplayName String

Filters access by a PortalProduct's Display Name associated with the resource

aws:ResourceTag/${TagKey} String

Filters access by tag key-value pairs attached to the resource

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowApigatewayGetPortalProductSharingPolicy",
      "Effect": "Allow",
      "Action": "apigateway:GetPortalProductSharingPolicy",
      "Resource": "*"
    }
  ]
}

Related actions in apigateway

View all apigateway actions →