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)


7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 7383

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

#policy_documentString

The details of the policy.

Returns:

  • (String)


7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 7383

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

#policy_nameString

The name of the resource policy.

Returns:

  • (String)


7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 7383

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

#policy_scopeString

Specifies scope of the resource policy. Valid values are ACCOUNT or RESOURCE.

Returns:

  • (String)


7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 7383

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

#resource_arnString

The ARN of the CloudWatch Logs resource to which the resource policy is attached. Only populated for resource-scoped policies.

Returns:

  • (String)


7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 7383

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

#revision_idString

The revision ID of the resource policy. Only populated for resource-scoped policies.

Returns:

  • (String)


7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 7383

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