Skip to content

AccessConfigurationProps

Properties for defining a AccessConfiguration.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cloudsso-accessconfiguration

Initializer

import { AccessConfigurationProps } from '@alicloud/ros-cdk-cloudsso'
const accessConfigurationProps: AccessConfigurationProps = { ... }

Properties

Name Type Description
accessConfigurationName string | @alicloud/ros-cdk-core.IResolvable Property accessConfigurationName: The name of the access configuration.
directoryId string | @alicloud/ros-cdk-core.IResolvable Property directoryId: The ID of the directory.
description string | @alicloud/ros-cdk-core.IResolvable Property description: The description of the access configuration.
relayState string | @alicloud/ros-cdk-core.IResolvable Property relayState: The initial web page that is displayed after a CloudSSO user accesses an account in your resource directory by using the access configuration.
sessionDuration number | @alicloud/ros-cdk-core.IResolvable Property sessionDuration: The duration of a session in which a CloudSSO user accesses an account in your resource directory by using the access configuration.

accessConfigurationNameRequired

public readonly accessConfigurationName: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property accessConfigurationName: The name of the access configuration.

The name can contain letters, digits, and hyphens (-). The name can be up to 32 characters in length.


directoryIdRequired

public readonly directoryId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property directoryId: The ID of the directory.


descriptionOptional

public readonly description: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property description: The description of the access configuration.

The description can be up to 1,024 characters in length.


relayStateOptional

public readonly relayState: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property relayState: The initial web page that is displayed after a CloudSSO user accesses an account in your resource directory by using the access configuration.

The web page must be a page of the Alibaba Cloud Management Console. By default, this parameter is empty, which indicates that the initial web page is the homepage of the Alibaba Cloud Management Console.


sessionDurationOptional

public readonly sessionDuration: number | IResolvable;
  • Type: number | @alicloud/ros-cdk-core.IResolvable

Property sessionDuration: The duration of a session in which a CloudSSO user accesses an account in your resource directory by using the access configuration.

Unit: seconds. Valid values: 900 to 43200. The value 900 indicates 15 minutes. The value 43200 indicates 12 hours. Default value: 3600. The value indicates 1 hour.