You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::IoT::Types::AuthInfo
- Inherits:
-
Struct
- Object
- Struct
- Aws::IoT::Types::AuthInfo
- Defined in:
- (unknown)
Overview
Note:
When passing AuthInfo as input to an Aws::Client method, you can use a vanilla Hash:
{
action_type: "PUBLISH", # accepts PUBLISH, SUBSCRIBE, RECEIVE, CONNECT
resources: ["Resource"], # required
}
A collection of authorization information.
Returned by:
Instance Attribute Summary collapse
-
#action_type ⇒ String
The type of action for which the principal is being authorized.
-
#resources ⇒ Array<String>
The resources for which the principal is being authorized to perform the specified action.
Instance Attribute Details
#action_type ⇒ String
The type of action for which the principal is being authorized.
Possible values:
- PUBLISH
- SUBSCRIBE
- RECEIVE
- CONNECT
#resources ⇒ Array<String>
The resources for which the principal is being authorized to perform the specified action.