AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the CreateRoleAlias operation. Creates a role alias.

Requires permission to access the CreateRoleAlias action.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.IoT.AmazonIoTRequest
      Amazon.IoT.Model.CreateRoleAliasRequest

Namespace: Amazon.IoT.Model
Assembly: AWSSDK.IoT.dll
Version: 3.x.y.z

Syntax

C#
public class CreateRoleAliasRequest : AmazonIoTRequest
         IAmazonWebServiceRequest

The CreateRoleAliasRequest type exposes the following members

Constructors

NameDescription
Public Method CreateRoleAliasRequest()

Properties

NameTypeDescription
Public Property CredentialDurationSeconds System.Int32

Gets and sets the property CredentialDurationSeconds.

How long (in seconds) the credentials will be valid. The default value is 3,600 seconds.

This value must be less than or equal to the maximum session duration of the IAM role that the role alias references.

Public Property RoleAlias System.String

Gets and sets the property RoleAlias.

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

Public Property RoleArn System.String

Gets and sets the property RoleArn.

The role ARN.

Public Property Tags System.Collections.Generic.List<Amazon.IoT.Model.Tag>

Gets and sets the property Tags.

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..."

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5