Skip to content

Get Sink Policy

cloudwatchobservabilityaccessmanager_get_sink_policy R Documentation

Returns the current sink policy attached to this sink

Description

Returns the current sink policy attached to this sink. The sink policy specifies what accounts can attach to this sink as source accounts, and what types of data they can share.

Usage

cloudwatchobservabilityaccessmanager_get_sink_policy(SinkIdentifier)

Arguments

SinkIdentifier

[required] The ARN of the sink to retrieve the policy of.

Value

A list with the following syntax:

list(
  Policy = "string",
  SinkArn = "string",
  SinkId = "string"
)

Request syntax

svc$get_sink_policy(
  SinkIdentifier = "string"
)