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)


6239
6240
6241
6242
6243
6244
6245
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 6239

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)


6239
6240
6241
6242
6243
6244
6245
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 6239

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)


6239
6240
6241
6242
6243
6244
6245
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 6239

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