apigateway:PutPortalProductSharingPolicy

Permissions management

apigateway:PutPortalProductSharingPolicy is a Permissions management access-level action in the apigateway service. Grants permission to put a Portal Product Sharing Policy

Resource types

ARNs that apigateway:PutPortalProductSharingPolicy 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:PutPortalProductSharingPolicy.

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

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

Related actions in apigateway

View all apigateway actions →