You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::IoT::Types::CreateRoleAliasRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CreateRoleAliasRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  role_alias: "RoleAlias", # required
  role_arn: "RoleArn", # required
  credential_duration_seconds: 1,
}

Instance Attribute Summary collapse

Instance Attribute Details

#credential_duration_secondsInteger

How long (in seconds) the credentials will be valid.

Returns:

  • (Integer)

    How long (in seconds) the credentials will be valid.

#role_aliasString

The role alias that points to a role ARN. This allows you to change the role without having to update the device.

Returns:

  • (String)

    The role alias that points to a role ARN.

#role_arnString

The role ARN.

Returns:

  • (String)

    The role ARN.