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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-xray/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)


2480
2481
2482
2483
2484
2485
2486
2487
# File 'gems/aws-sdk-xray/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_documentString

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

Returns:

  • (String)


2480
2481
2482
2483
2484
2485
2486
2487
# File 'gems/aws-sdk-xray/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_nameString

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

Returns:

  • (String)


2480
2481
2482
2483
2484
2485
2486
2487
# File 'gems/aws-sdk-xray/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_idString

Returns the current policy revision id for this policy name.

Returns:

  • (String)


2480
2481
2482
2483
2484
2485
2486
2487
# File 'gems/aws-sdk-xray/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