Class: Aws::CloudWatchLogs::Types::ResourcePolicy

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

Overview

A policy enabling one or more entities to put logs to a log group in this account.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#last_updated_timeInteger

Timestamp showing when this policy was last updated, expressed as the number of milliseconds after ‘Jan 1, 1970 00:00:00 UTC`.

Returns:

  • (Integer)


4781
4782
4783
4784
4785
4786
4787
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 4781

class ResourcePolicy < Struct.new(
  :policy_name,
  :policy_document,
  :last_updated_time)
  SENSITIVE = []
  include Aws::Structure
end

#policy_documentString

The details of the policy.

Returns:

  • (String)


4781
4782
4783
4784
4785
4786
4787
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 4781

class ResourcePolicy < Struct.new(
  :policy_name,
  :policy_document,
  :last_updated_time)
  SENSITIVE = []
  include Aws::Structure
end

#policy_nameString

The name of the resource policy.

Returns:

  • (String)


4781
4782
4783
4784
4785
4786
4787
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 4781

class ResourcePolicy < Struct.new(
  :policy_name,
  :policy_document,
  :last_updated_time)
  SENSITIVE = []
  include Aws::Structure
end