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.

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)


4460
4461
4462
4463
4464
4465
4466
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 4460

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)


4460
4461
4462
4463
4464
4465
4466
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 4460

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)


4460
4461
4462
4463
4464
4465
4466
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 4460

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