Skip to content

ResourceGroupsProps

Properties for defining a ResourceGroups.

See https://www.alibabacloud.com/help/ros/developer-reference/datasource-resourcemanager-resourcegroups

Initializer

import { datasource } from '@alicloud/ros-cdk-resourcemanager'
const resourceGroupsProps: datasource.ResourceGroupsProps = { ... }

Properties

Name Type Description
displayName string | @alicloud/ros-cdk-core.IResolvable Property displayName: The display name of the resource group.
includeTags boolean | @alicloud/ros-cdk-core.IResolvable Property includeTags: Whether to include the tags of the resource groups in the query results.
name string | @alicloud/ros-cdk-core.IResolvable Property name: The identifier of the resource group.
refreshOptions string | @alicloud/ros-cdk-core.IResolvable Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
resourceGroupIds @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[] Property resourceGroupIds: The IDs of the resource groups.

displayNameOptional

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

Property displayName: The display name of the resource group.

This parameter specifies a filter condition for the query. Fuzzy match is supported.The display name can be a maximum of 50 characters in length.


includeTagsOptional

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

Property includeTags: Whether to include the tags of the resource groups in the query results.


nameOptional

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

Property name: The identifier of the resource group.

This parameter specifies a filter condition for the query. Fuzzy match is supported. The identifier can be a maximum of 50 characters in length and can contain letters, digits, and hyphens (-).


refreshOptionsOptional

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

Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.

Valid values: - Never: Never refresh the datasource resource when the stack is updated. - Always: Always refresh the datasource resource when the stack is updated. Default is Never.


resourceGroupIdsOptional

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

Property resourceGroupIds: The IDs of the resource groups.

This parameter specifies a filter condition for the query.You can specify a maximum of 100 resource group IDs.