cloudwatchlogs_put_destination_policy: Creates or updates an access policy associated with an...

Description Usage Arguments Value Request syntax

View source: R/cloudwatchlogs_operations.R

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

1
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. This can be up to 5120 bytes.

Value

An empty list.

Request syntax

1
2
3
4
svc$put_destination_policy(
  destinationName = "string",
  accessPolicy = "string"
)

paws.management documentation built on Aug. 23, 2021, 9:11 a.m.