Creates or updates the resource policy that grants permissions to source accounts to link to the monitoring account sink. When you create a sink policy, you can grant permissions to all accounts in an organization or to individual accounts.
See https://www.paws-r-sdk.com/docs/cloudwatchobservabilityaccessmanager_put_sink_policy/ for full documentation.
cloudwatchobservabilityaccessmanager_put_sink_policy(Policy, SinkIdentifier)
[required] The JSON policy to use. If you are updating an existing policy, the entire existing policy is replaced by what you specify here.
The policy must be in JSON string format with quotation marks escaped and no newlines.
For examples of different types of policies, see the Examples section on this page.
[required] The ARN of the sink to attach this policy to.