Class: Aws::IoT::Types::AttachPolicyRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#policy_nameString

The name of the policy to attach.

Returns:

  • (String)


565
566
567
568
569
570
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 565

class AttachPolicyRequest < Struct.new(
  :policy_name,
  :target)
  SENSITIVE = []
  include Aws::Structure
end

#targetString

The identity to which the policy is attached. For example, a thing group or a certificate.

Returns:

  • (String)


565
566
567
568
569
570
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 565

class AttachPolicyRequest < Struct.new(
  :policy_name,
  :target)
  SENSITIVE = []
  include Aws::Structure
end