Class: Aws::XRay::Types::ResourcePolicy
- Inherits:
-
Struct
- Object
- Struct
- Aws::XRay::Types::ResourcePolicy
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-xray/types.rb
Overview
A resource policy grants one or more Amazon Web Services services and accounts permissions to access X-Ray. Each resource policy is associated with a specific Amazon Web Services account.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#last_updated_time ⇒ Time
When the policy was last updated, in Unix time seconds.
-
#policy_document ⇒ String
The resource policy document, which can be up to 5kb in size.
-
#policy_name ⇒ String
The name of the resource policy.
-
#policy_revision_id ⇒ String
Returns the current policy revision id for this policy name.
Instance Attribute Details
#last_updated_time ⇒ Time
When the policy was last updated, in Unix time seconds.
2190 2191 2192 2193 2194 2195 2196 2197 |
# File 'lib/aws-sdk-xray/types.rb', line 2190 class ResourcePolicy < Struct.new( :policy_name, :policy_document, :policy_revision_id, :last_updated_time) SENSITIVE = [] include Aws::Structure end |
#policy_document ⇒ String
The resource policy document, which can be up to 5kb in size.
2190 2191 2192 2193 2194 2195 2196 2197 |
# File 'lib/aws-sdk-xray/types.rb', line 2190 class ResourcePolicy < Struct.new( :policy_name, :policy_document, :policy_revision_id, :last_updated_time) SENSITIVE = [] include Aws::Structure end |
#policy_name ⇒ String
The name of the resource policy. Must be unique within a specific Amazon Web Services account.
2190 2191 2192 2193 2194 2195 2196 2197 |
# File 'lib/aws-sdk-xray/types.rb', line 2190 class ResourcePolicy < Struct.new( :policy_name, :policy_document, :policy_revision_id, :last_updated_time) SENSITIVE = [] include Aws::Structure end |
#policy_revision_id ⇒ String
Returns the current policy revision id for this policy name.
2190 2191 2192 2193 2194 2195 2196 2197 |
# File 'lib/aws-sdk-xray/types.rb', line 2190 class ResourcePolicy < Struct.new( :policy_name, :policy_document, :policy_revision_id, :last_updated_time) SENSITIVE = [] include Aws::Structure end |