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.
Namespace: Amazon.IoT.Model
Assembly: AWSSDK.IoT.dll
Version: 3.x.y.z
public class CreateRoleAliasRequest : AmazonIoTRequest IAmazonWebServiceRequest
The CreateRoleAliasRequest type exposes the following members
Name | Description | |
---|---|---|
CreateRoleAliasRequest() |
Name | Type | Description | |
---|---|---|---|
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. |
|
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. |
|
RoleArn | System.String |
Gets and sets the property RoleArn. The role ARN. |
|
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..." |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5