Class: Aws::RAM::Types::Principal

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-ram/types.rb

Overview

Describes a principal for use with Resource Access Manager.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#creation_timeTime

The date and time when the principal was associated with the resource share.

Returns:

  • (Time)


2561
2562
2563
2564
2565
2566
2567
2568
2569
# File 'lib/aws-sdk-ram/types.rb', line 2561

class Principal < Struct.new(
  :id,
  :resource_share_arn,
  :creation_time,
  :last_updated_time,
  :external)
  SENSITIVE = []
  include Aws::Structure
end

#externalBoolean

Indicates the relationship between the Amazon Web Services account the principal belongs to and the account that owns the resource share:

  • ‘True` – The two accounts belong to same organization.

  • ‘False` – The two accounts do not belong to the same organization.

Returns:

  • (Boolean)


2561
2562
2563
2564
2565
2566
2567
2568
2569
# File 'lib/aws-sdk-ram/types.rb', line 2561

class Principal < Struct.new(
  :id,
  :resource_share_arn,
  :creation_time,
  :last_updated_time,
  :external)
  SENSITIVE = []
  include Aws::Structure
end

#idString

The ID of the principal that can be associated with a resource share.

Returns:

  • (String)


2561
2562
2563
2564
2565
2566
2567
2568
2569
# File 'lib/aws-sdk-ram/types.rb', line 2561

class Principal < Struct.new(
  :id,
  :resource_share_arn,
  :creation_time,
  :last_updated_time,
  :external)
  SENSITIVE = []
  include Aws::Structure
end

#last_updated_timeTime

The date and time when the association between the resource share and the principal was last updated.

Returns:

  • (Time)


2561
2562
2563
2564
2565
2566
2567
2568
2569
# File 'lib/aws-sdk-ram/types.rb', line 2561

class Principal < Struct.new(
  :id,
  :resource_share_arn,
  :creation_time,
  :last_updated_time,
  :external)
  SENSITIVE = []
  include Aws::Structure
end

#resource_share_arnString

The [Amazon Resource Name (ARN)] of a resource share the principal is associated with.

[1]: docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html

Returns:

  • (String)


2561
2562
2563
2564
2565
2566
2567
2568
2569
# File 'lib/aws-sdk-ram/types.rb', line 2561

class Principal < Struct.new(
  :id,
  :resource_share_arn,
  :creation_time,
  :last_updated_time,
  :external)
  SENSITIVE = []
  include Aws::Structure
end