Class: Aws::XRay::Types::ResourcePolicy

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#last_updated_timeTime

When the policy was last updated, in Unix time seconds.

Returns:

  • (Time)


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_documentString

The resource policy document, which can be up to 5kb in size.

Returns:

  • (String)


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_nameString

The name of the resource policy. Must be unique within a specific Amazon Web Services account.

Returns:

  • (String)


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_idString

Returns the current policy revision id for this policy name.

Returns:

  • (String)


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