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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb

Overview

Note:

When making an API call, you may pass PutDestinationPolicyRequest data as a hash:

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

Constant Summary collapse

SENSITIVE =
[]

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)


1921
1922
1923
1924
1925
1926
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 1921

class PutDestinationPolicyRequest < Struct.new(
  :destination_name,
  :access_policy)
  SENSITIVE = []
  include Aws::Structure
end

#destination_nameString

A name for an existing destination.

Returns:

  • (String)


1921
1922
1923
1924
1925
1926
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 1921

class PutDestinationPolicyRequest < Struct.new(
  :destination_name,
  :access_policy)
  SENSITIVE = []
  include Aws::Structure
end