RoleProps
Properties for defining a Role.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-resourcemanager-role
Initializer
import { RoleProps } from '@alicloud/ros-cdk-resourcemanager'
const roleProps: RoleProps = { ... }
Properties
| Name | Type | Description |
|---|---|---|
assumeRolePolicyDocument | @alicloud/ros-cdk-core.IResolvable | {[ key: string ]: any} | Property assumeRolePolicyDocument: The content of the permissions strategy that plays a role. |
roleName | string | @alicloud/ros-cdk-core.IResolvable | Property roleName: Role Name. |
description | string | @alicloud/ros-cdk-core.IResolvable | Property description: The description of the Resource Manager role. |
maxSessionDuration | number | @alicloud/ros-cdk-core.IResolvable | Property maxSessionDuration: Role maximum session time. |
assumeRolePolicyDocumentRequired
public readonly assumeRolePolicyDocument: IResolvable | {[ key: string ]: any};
- Type: @alicloud/ros-cdk-core.IResolvable | {[ key: string ]: any}
Property assumeRolePolicyDocument: The content of the permissions strategy that plays a role.
roleNameRequired
public readonly roleName: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property roleName: Role Name.
descriptionOptional
public readonly description: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property description: The description of the Resource Manager role.
maxSessionDurationOptional
public readonly maxSessionDuration: number | IResolvable;
- Type: number | @alicloud/ros-cdk-core.IResolvable
Property maxSessionDuration: Role maximum session time.
Valid values: [3600-43200]. Default to 3600.