Skip to content

RoleProps

Properties for defining a Role.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-resourcemanager-role

Initializer

using AlibabaCloud.SDK.ROS.CDK.Resourcemanager;
new RoleProps {
    object AssumeRolePolicyDocument,
    object RoleName,
    object Description = null,
    object MaxSessionDuration = null
};

Properties

Name Type Description
AssumeRolePolicyDocument object Property assumeRolePolicyDocument: The content of the permissions strategy that plays a role.
RoleName object Property roleName: Role Name.
Description object Property description: The description of the Resource Manager role.
MaxSessionDuration object Property maxSessionDuration: Role maximum session time.

AssumeRolePolicyDocumentRequired

public object AssumeRolePolicyDocument { get; set; }
  • Type: object

Property assumeRolePolicyDocument: The content of the permissions strategy that plays a role.


RoleNameRequired

public object RoleName { get; set; }
  • Type: object

Property roleName: Role Name.


DescriptionOptional

public object Description { get; set; }
  • Type: object

Property description: The description of the Resource Manager role.


MaxSessionDurationOptional

public object MaxSessionDuration { get; set; }
  • Type: object

Property maxSessionDuration: Role maximum session time.

Valid values: [3600-43200]. Default to 3600.