You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::CloudWatchLogs::Types::PutDestinationPolicyRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing PutDestinationPolicyRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  destination_name: "DestinationName", # required
  access_policy: "AccessPolicy", # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#access_policyString

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.

Returns:

  • (String)

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

#destination_nameString

A name for an existing destination.

Returns:

  • (String)

    A name for an existing destination.