Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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

Value

An empty list.

Request syntax

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

paws.management

Amazon Web Services Management & Governance Services

v0.1.11
Apache License (>= 2.0)
Authors
David Kretch [aut, cre], Adam Banker [aut], Amazon.com, Inc. [cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.