Class: Aws::IoT::Types::AttachPolicyRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::IoT::Types::AttachPolicyRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-iot/types.rb
Overview
Note:
When making an API call, you may pass AttachPolicyRequest data as a hash:
{
policy_name: "PolicyName", # required
target: "PolicyTarget", # required
}
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.
515 516 517 518 519 |
# File 'lib/aws-sdk-iot/types.rb', line 515 class AttachPolicyRequest < Struct.new( :policy_name, :target) include Aws::Structure end |
#target ⇒ String
The [identity] to which the policy is attached.
[1]: docs.aws.amazon.com/iot/latest/developerguide/iot-security-identity.html
515 516 517 518 519 |
# File 'lib/aws-sdk-iot/types.rb', line 515 class AttachPolicyRequest < Struct.new( :policy_name, :target) include Aws::Structure end |