Class: Aws::IoT::Types::AuthInfo
- Inherits:
-
Struct
- Object
- Struct
- Aws::IoT::Types::AuthInfo
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-iot/types.rb
Overview
Note:
When making an API call, you may pass AuthInfo data as a hash:
{
action_type: "PUBLISH", # accepts PUBLISH, SUBSCRIBE, RECEIVE, CONNECT
resources: ["Resource"],
}
A collection of authorization information.
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.
824 825 826 827 828 |
# File 'lib/aws-sdk-iot/types.rb', line 824 class AuthInfo < Struct.new( :action_type, :resources) include Aws::Structure end |
#resources ⇒ Array<String>
The resources for which the principal is being authorized to perform the specified action.
824 825 826 827 828 |
# File 'lib/aws-sdk-iot/types.rb', line 824 class AuthInfo < Struct.new( :action_type, :resources) include Aws::Structure end |