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
- Struct
- Aws::IoT::Types::CreateRoleAliasRequest
- Defined in:
- (unknown)
Overview
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
-
#credential_duration_seconds ⇒ Integer
How long (in seconds) the credentials will be valid.
-
#role_alias ⇒ String
The role alias that points to a role ARN.
-
#role_arn ⇒ String
The role ARN.
-
#tags ⇒ Array<Types::Tag>
Metadata which can be used to manage the role alias.
Instance Attribute Details
#credential_duration_seconds ⇒ Integer
How long (in seconds) the credentials will be valid.
#role_alias ⇒ String
The role alias that points to a role ARN. This allows you to change the role without having to update the device.
#role_arn ⇒ String
The role ARN.
#tags ⇒ Array<Types::Tag>
Metadata which can be used to manage the role alias.
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...\"