Class: Aws::IoT::Types::AuthInfo

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-iot/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"], # required
}

A collection of authorization information.

Instance Attribute Summary collapse

Instance Attribute Details

#action_typeString

The type of action for which the principal is being authorized.

Returns:

  • (String)


1149
1150
1151
1152
1153
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 1149

class AuthInfo < Struct.new(
  :action_type,
  :resources)
  include Aws::Structure
end

#resourcesArray<String>

The resources for which the principal is being authorized to perform the specified action.

Returns:

  • (Array<String>)


1149
1150
1151
1152
1153
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 1149

class AuthInfo < Struct.new(
  :action_type,
  :resources)
  include Aws::Structure
end