Skip to content

AccessConfigurationProps

Properties for defining a AccessConfiguration.

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

Initializer

import com.aliyun.ros.cdk.cloudsso.AccessConfigurationProps;
AccessConfigurationProps.builder()
    .accessConfigurationName(java.lang.String)
    .accessConfigurationName(IResolvable)
    .directoryId(java.lang.String)
    .directoryId(IResolvable)
//  .description(java.lang.String)
//  .description(IResolvable)
//  .relayState(java.lang.String)
//  .relayState(IResolvable)
//  .sessionDuration(java.lang.Number)
//  .sessionDuration(IResolvable)
    .build();

Properties

Name Type Description
accessConfigurationName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property accessConfigurationName: The name of the access configuration.
directoryId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property directoryId: The ID of the directory.
description java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property description: The description of the access configuration.
relayState java.lang.String OR com.aliyun.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 java.lang.Number OR com.aliyun.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 java.lang.Object getAccessConfigurationName();
  • Type: java.lang.String OR com.aliyun.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 java.lang.Object getDirectoryId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property directoryId: The ID of the directory.


descriptionOptional

public java.lang.Object getDescription();
  • Type: java.lang.String OR com.aliyun.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 java.lang.Object getRelayState();
  • Type: java.lang.String OR com.aliyun.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 java.lang.Object getSessionDuration();
  • Type: java.lang.Number OR com.aliyun.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.