Class: Aws::IoT::Types::CreateRoleAliasRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::IoT::Types::CreateRoleAliasRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-iot/types.rb
Overview
Note:
When making an API call, you may pass CreateRoleAliasRequest data as a hash:
{
role_alias: "RoleAlias", # required
role_arn: "RoleArn", # required
credential_duration_seconds: 1,
}
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.
Instance Attribute Details
#credential_duration_seconds ⇒ Integer
How long (in seconds) the credentials will be valid.
2370 2371 2372 2373 2374 2375 |
# File 'lib/aws-sdk-iot/types.rb', line 2370 class CreateRoleAliasRequest < Struct.new( :role_alias, :role_arn, :credential_duration_seconds) include Aws::Structure end |
#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.
2370 2371 2372 2373 2374 2375 |
# File 'lib/aws-sdk-iot/types.rb', line 2370 class CreateRoleAliasRequest < Struct.new( :role_alias, :role_arn, :credential_duration_seconds) include Aws::Structure end |
#role_arn ⇒ String
The role ARN.
2370 2371 2372 2373 2374 2375 |
# File 'lib/aws-sdk-iot/types.rb', line 2370 class CreateRoleAliasRequest < Struct.new( :role_alias, :role_arn, :credential_duration_seconds) include Aws::Structure end |