v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1473359323.2 KB

Attaches a resource-based permission policy to a service or service network. The policy must contain the same actions and condition statements as the Amazon Web Services Resource Access Manager permission for sharing services and service networks.

put/resourcepolicy/{resourceArn}

Path parameters

resourceArnstring required

The ID or ARN of the service network or service for which the policy is created.

Request body

policystring required

An IAM policy. The policy string in JSON must not contain newlines or blank lines.

Response

Success

PutResourcePolicyResponse required