v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-14156867.6 KB

Use this to create a sink in the current account, so that it can be used as a monitoring account in CloudWatch cross-account observability. A sink is a resource that represents an attachment point in a monitoring account. Source accounts can link to the sink to send observability data.

After you create a sink, you must create a sink policy that allows source accounts to attach to it. For more information, see PutSinkPolicy.

Each account can contain one sink per Region. If you delete a sink, you can then create a new one in that Region.

post/CreateSink

Request body

Namestring required

A name for the sink.

Tagsobject
<p>Assigns one or more tags (key-value pairs) to the link. </p> <p>Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.</p> <p>For more information about using tags to control access, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_tags.html">Controlling access to Amazon Web Services resources using tags</a>.</p>

Response

Success

Arnstring

The ARN of the sink that is newly created.

Idstring

The random ID string that Amazon Web Services generated as part of the sink ARN.

Namestring

The name of the sink.

Tagsobject

The tags assigned to the sink.