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,
  tags: [
    {
      key: "TagKey", # required
      value: "TagValue",
    },
  ],
}

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.

#tagsArray<Types::Tag>

Metadata which can be used to manage the role alias.

For URI Request parameters use format: ...key1=value1&key2=value2...

For the CLI command-line parameter use format: &&tags \"key1=value1&key2=value2...\"

For the cli-input-json file use format: \"tags\": \"key1=value1&key2=value2...\"

Returns:

  • (Array<Types::Tag>)

    Metadata which can be used to manage the role alias.