Skip to content

ResourceGroupProps

Properties for defining a ResourceGroup.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-adblake-resourcegroup

Initializer

import { ResourceGroupProps } from '@alicloud/ros-cdk-adblake'
const resourceGroupProps: ResourceGroupProps = { ... }

Properties

Name Type Description
dbClusterId string | @alicloud/ros-cdk-core.IResolvable Property dbClusterId: The ID of the AnalyticDB for MySQL Data Lakehouse Edition cluster.
engine string | @alicloud/ros-cdk-core.IResolvable Property engine: The database engine.
groupName string | @alicloud/ros-cdk-core.IResolvable Property groupName: The name of the resource group.
groupType string | @alicloud/ros-cdk-core.IResolvable Property groupType: The type of the resource group.
autoStopInterval string | @alicloud/ros-cdk-core.IResolvable Property autoStopInterval: Automatically stop time, the unit is minutes (m).
clusterMode string | @alicloud/ros-cdk-core.IResolvable Property clusterMode: This parameter is reserved.
clusterSizeResource string | @alicloud/ros-cdk-core.IResolvable Property clusterSizeResource: A reserved parameter.
enableSpot boolean | @alicloud/ros-cdk-core.IResolvable Property enableSpot: Specifies whether to enable the spot instance feature for the resource group.
engineParams @alicloud/ros-cdk-core.IResolvable | {[ key: string ]: any} Property engineParams: Engine configuration.
maxClusterCount number | @alicloud/ros-cdk-core.IResolvable Property maxClusterCount: A reserved parameter.
maxComputeResource string | @alicloud/ros-cdk-core.IResolvable Property maxComputeResource: The maximum reserved computing resources.
minClusterCount number | @alicloud/ros-cdk-core.IResolvable Property minClusterCount: A reserved parameter.
minComputeResource string | @alicloud/ros-cdk-core.IResolvable Property minComputeResource: The minimum reserved computing resources.
rules @alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | RulesProperty[] Property rules: The job resubmission rules.

dbClusterIdRequired

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

Property dbClusterId: The ID of the AnalyticDB for MySQL Data Lakehouse Edition cluster.


engineRequired

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

Property engine: The database engine.

Valid values: - AnalyticDB (default): the AnalyticDB for MySQL engine. - SparkWarehouse: the SparkWarehouse engine.


groupNameRequired

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

Property groupName: The name of the resource group.

The name can be up to 255 characters in length. The name must start with a letter or digit. The name can contain letters, digits, hyphens (-), and underscores (_).


groupTypeRequired

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

Property groupType: The type of the resource group.

Valid values: Interactive Job Note For more information about resource groups, see Resource group overview.


autoStopIntervalOptional

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

Property autoStopInterval: Automatically stop time, the unit is minutes (m).


clusterModeOptional

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

Property clusterMode: This parameter is reserved.


clusterSizeResourceOptional

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

Property clusterSizeResource: A reserved parameter.


enableSpotOptional

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

Property enableSpot: Specifies whether to enable the spot instance feature for the resource group.

After you enable the spot instance feature, you are charged for resources at a lower unit price but the resources are probably released. You can enable the spot instance feature only for job resource groups. Valid values: True False


engineParamsOptional

public readonly engineParams: IResolvable | {[ key: string ]: any};
  • Type: @alicloud/ros-cdk-core.IResolvable | {[ key: string ]: any}

Property engineParams: Engine configuration.


maxClusterCountOptional

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

Property maxClusterCount: A reserved parameter.


maxComputeResourceOptional

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

Property maxComputeResource: The maximum reserved computing resources.

If GroupType is set to Interactive, the maximum amount of reserved computing resources refers to the amount of resources that are not allocated in the cluster. Set this parameter to a value in increments of 16ACU. If GroupType is set to Job, the maximum amount of reserved computing resources refers to the amount of resources that are not allocated in the cluster. Set this parameter to a value in increments of 8ACU.


minClusterCountOptional

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

Property minClusterCount: A reserved parameter.


minComputeResourceOptional

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

Property minComputeResource: The minimum reserved computing resources.

When GroupType is set to Interactive, set this parameter to 16ACU. When GroupType is set to Job, set this parameter to 0ACU.


rulesOptional

public readonly rules: IResolvable | IResolvable | RulesProperty[];
  • Type: @alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | RulesProperty[]

Property rules: The job resubmission rules.