Skip to content

RoleProps

Properties for defining a Role.

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

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkresourcemanager"
&alicloudroscdkresourcemanager.RoleProps {
    AssumeRolePolicyDocument: interface{},
    RoleName: interface{},
    Description: interface{},
    MaxSessionDuration: interface{},
}

Properties

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

AssumeRolePolicyDocumentRequired

AssumeRolePolicyDocument interface{}
  • Type: interface{}

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


RoleNameRequired

RoleName interface{}
  • Type: interface{}

Property roleName: Role Name.


DescriptionOptional

Description interface{}
  • Type: interface{}

Property description: The description of the Resource Manager role.


MaxSessionDurationOptional

MaxSessionDuration interface{}
  • Type: interface{}

Property maxSessionDuration: Role maximum session time.

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