You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::IoT::Types::AttachPolicyRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::IoT::Types::AttachPolicyRequest
- Defined in:
- (unknown)
Overview
Note:
When passing AttachPolicyRequest as input to an Aws::Client method, you can use a vanilla 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][1] to which the policy is attached.
Instance Attribute Details
#policy_name ⇒ String
The name of the policy to attach.
#target ⇒ String
The identity to which the policy is attached.