Class: Aws::IoT::Types::PrincipalThingObject
- Inherits:
-
Struct
- Object
- Struct
- Aws::IoT::Types::PrincipalThingObject
- Defined in:
- gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb
Overview
An object that represents the thing and the type of relation it has with the principal.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#thing_name ⇒ String
The name of the thing.
-
#thing_principal_type ⇒ String
The type of the relation you want to specify when you attach a principal to a thing.
Instance Attribute Details
#thing_name ⇒ String
The name of the thing.
13866 13867 13868 13869 13870 13871 |
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 13866 class PrincipalThingObject < Struct.new( :thing_name, :thing_principal_type) SENSITIVE = [] include Aws::Structure end |
#thing_principal_type ⇒ String
The type of the relation you want to specify when you attach a
principal to a thing. The value defaults to NON_EXCLUSIVE_THING
.
EXCLUSIVE_THING
- Attaches the specified principal to the specified thing, exclusively. The thing will be the only thing that’s attached to the principal.
^ ^
NON_EXCLUSIVE_THING
- Attaches the specified principal to the specified thing. Multiple things can be attached to the principal.
^
13866 13867 13868 13869 13870 13871 |
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 13866 class PrincipalThingObject < Struct.new( :thing_name, :thing_principal_type) SENSITIVE = [] include Aws::Structure end |