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 UpdateRoleAlias operation. Updates a role alias.

Requires permission to access the UpdateRoleAlias action.

The value of credentialDurationSeconds must be less than or equal to the maximum session duration of the IAM role that the role alias references. For more information, see Modifying a role maximum session duration (Amazon Web Services API) from the Amazon Web Services Identity and Access Management User Guide.

Inheritance Hierarchy

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

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

Syntax

C#
public class UpdateRoleAliasRequest : AmazonIoTRequest
         IAmazonWebServiceRequest

The UpdateRoleAliasRequest type exposes the following members

Constructors

NameDescription
Public Method UpdateRoleAliasRequest()

Properties

NameTypeDescription
Public Property CredentialDurationSeconds System.Int32

Gets and sets the property CredentialDurationSeconds.

The number of seconds the credential will be valid.

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 to update.

Public Property RoleArn System.String

Gets and sets the property RoleArn.

The role ARN.

Version Information

.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