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

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


1984
1985
1986
1987
1988
1989
1990
1991
1992
# File 'gems/aws-sdk-ram/lib/aws-sdk-ram/types.rb', line 1984

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

#externalBoolean

Indicates whether the principal belongs to the same organization in Organizations as the Amazon Web Services account that owns the resource share.

Returns:

  • (Boolean)


1984
1985
1986
1987
1988
1989
1990
1991
1992
# File 'gems/aws-sdk-ram/lib/aws-sdk-ram/types.rb', line 1984

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.

Returns:

  • (String)


1984
1985
1986
1987
1988
1989
1990
1991
1992
# File 'gems/aws-sdk-ram/lib/aws-sdk-ram/types.rb', line 1984

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 was last updated.

Returns:

  • (Time)


1984
1985
1986
1987
1988
1989
1990
1991
1992
# File 'gems/aws-sdk-ram/lib/aws-sdk-ram/types.rb', line 1984

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

#resource_share_arnString

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

Returns:

  • (String)


1984
1985
1986
1987
1988
1989
1990
1991
1992
# File 'gems/aws-sdk-ram/lib/aws-sdk-ram/types.rb', line 1984

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