Class: Aws::RAM::Types::Principal
- Inherits:
-
Struct
- Object
- Struct
- Aws::RAM::Types::Principal
- 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
-
#creation_time ⇒ Time
The date and time when the principal was associated with the resource share.
-
#external ⇒ Boolean
Indicates the relationship between the Amazon Web Services account the principal belongs to and the account that owns the resource share:.
-
#id ⇒ String
The ID of the principal that can be associated with a resource share.
-
#last_updated_time ⇒ Time
The date and time when the association between the resource share and the principal was last updated.
-
#resource_share_arn ⇒ String
The [Amazon Resource Name (ARN)] of a resource share the principal is associated with.
Instance Attribute Details
#creation_time ⇒ Time
The date and time when the principal was associated with the resource share.
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 |
#external ⇒ Boolean
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.
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 |
#id ⇒ String
The ID of the principal that can be associated with a resource share.
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_time ⇒ Time
The date and time when the association between the resource share and the principal was last updated.
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_arn ⇒ String
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
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 |