Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Class: Aws::IoT::Types::PrincipalThingObject

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#thing_nameString

The name of the thing.

Returns:

  • (String)

13872
13873
13874
13875
13876
13877
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 13872

class PrincipalThingObject < Struct.new(
  :thing_name,
  :thing_principal_type)
  SENSITIVE = []
  include Aws::Structure
end

#thing_principal_typeString

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.

^

Returns:

  • (String)

13872
13873
13874
13875
13876
13877
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 13872

class PrincipalThingObject < Struct.new(
  :thing_name,
  :thing_principal_type)
  SENSITIVE = []
  include Aws::Structure
end