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

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

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

Overview

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

Instance Attribute Summary collapse

Instance Attribute Details

#last_updated_timeInteger

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

Returns:

  • (Integer)


1767
1768
1769
1770
1771
1772
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 1767

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

#policy_documentString

The details of the policy.

Returns:

  • (String)


1767
1768
1769
1770
1771
1772
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 1767

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

#policy_nameString

The name of the resource policy.

Returns:

  • (String)


1767
1768
1769
1770
1771
1772
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 1767

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