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)


2517
2518
2519
2520
2521
2522
2523
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 2517

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)


2517
2518
2519
2520
2521
2522
2523
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 2517

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)


2517
2518
2519
2520
2521
2522
2523
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 2517

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