paws.management (version 0.1.0)

cloudwatchlogs_put_destination_policy: Creates or updates an access policy associated with an existing destination

Description

Creates or updates an access policy associated with an existing destination. An access policy is an IAM policy document that is used to authorize claims to register a subscription filter against a given destination.

Usage

cloudwatchlogs_put_destination_policy(destinationName, accessPolicy)

Arguments

destinationName

[required] A name for an existing destination.

accessPolicy

[required] An IAM policy document that authorizes cross-account users to deliver their log events to the associated destination.

Request syntax

svc$put_destination_policy(
  destinationName = "string",
  accessPolicy = "string"
)