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
show all
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"],
}

A collection of authorization information.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#action_typeString

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

Possible values:

  • PUBLISH
  • SUBSCRIBE
  • RECEIVE
  • CONNECT

Returns:

  • (String)

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

#resourcesArray<String>

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

Returns:

  • (Array<String>)

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