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.
2480 2481 2482 2483 2484 2485 2486 2487 |
# File 'lib/aws-sdk-xray/types.rb', line 2480 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.
2480 2481 2482 2483 2484 2485 2486 2487 |
# File 'lib/aws-sdk-xray/types.rb', line 2480 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.
2480 2481 2482 2483 2484 2485 2486 2487 |
# File 'lib/aws-sdk-xray/types.rb', line 2480 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.
2480 2481 2482 2483 2484 2485 2486 2487 |
# File 'lib/aws-sdk-xray/types.rb', line 2480 class ResourcePolicy < Struct.new( :policy_name, :policy_document, :policy_revision_id, :last_updated_time) SENSITIVE = [] include Aws::Structure end |