Class: Aws::IoT::Types::AttachPolicyRequest
- Inherits:
 - 
      Struct
      
        
- Object
 - Struct
 - Aws::IoT::Types::AttachPolicyRequest
 
 
- Includes:
 - Structure
 
- Defined in:
 - lib/aws-sdk-iot/types.rb
 
Constant Summary collapse
- SENSITIVE =
 []
Instance Attribute Summary collapse
- 
  
    
      #policy_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The name of the policy to attach.
 - 
  
    
      #target  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The [identity] to which the policy is attached.
 
Instance Attribute Details
#policy_name ⇒ String
The name of the policy to attach.
      565 566 567 568 569 570  | 
    
      # File 'lib/aws-sdk-iot/types.rb', line 565 class AttachPolicyRequest < Struct.new( :policy_name, :target) SENSITIVE = [] include Aws::Structure end  | 
  
#target ⇒ String
The [identity] to which the policy is attached. For example, a thing group or a certificate.
[1]: docs.aws.amazon.com/iot/latest/developerguide/security-iam.html
      565 566 567 568 569 570  | 
    
      # File 'lib/aws-sdk-iot/types.rb', line 565 class AttachPolicyRequest < Struct.new( :policy_name, :target) SENSITIVE = [] include Aws::Structure end  |