cloudwatchobservabilityaccessmanager_put_sink_policy: Creates or updates the resource policy that grants...

View source: R/cloudwatchobservabilityaccessmanager_operations.R

cloudwatchobservabilityaccessmanager_put_sink_policyR Documentation

Creates or updates the resource policy that grants permissions to source accounts to link to the monitoring account sink

Description

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.

Usage

cloudwatchobservabilityaccessmanager_put_sink_policy(Policy, SinkIdentifier)

Arguments

Policy

[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.

SinkIdentifier

[required] The ARN of the sink to attach this policy to.


paws.management documentation built on Sept. 12, 2024, 6:19 a.m.