Class: Aws::CloudWatchLogs::Types::ResourcePolicy
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudWatchLogs::Types::ResourcePolicy
- 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
-
#last_updated_time ⇒ Integer
Timestamp showing when this policy was last updated, expressed as the number of milliseconds after
Jan 1, 1970 00:00:00 UTC
. -
#policy_document ⇒ String
The details of the policy.
-
#policy_name ⇒ String
The name of the resource policy.
-
#policy_scope ⇒ String
Specifies scope of the resource policy.
-
#resource_arn ⇒ String
The ARN of the CloudWatch Logs resource to which the resource policy is attached.
-
#revision_id ⇒ String
The revision ID of the resource policy.
Instance Attribute Details
#last_updated_time ⇒ Integer
Timestamp showing when this policy was last updated, expressed as
the number of milliseconds after Jan 1, 1970 00:00:00 UTC
.
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_document ⇒ String
The details of the policy.
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_name ⇒ String
The name of the resource policy.
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_scope ⇒ String
Specifies scope of the resource policy. Valid values are ACCOUNT or RESOURCE.
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_arn ⇒ String
The ARN of the CloudWatch Logs resource to which the resource policy is attached. Only populated for resource-scoped policies.
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_id ⇒ String
The revision ID of the resource policy. Only populated for resource-scoped policies.
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 |