Skip to content

ResourceGroupsProps

Properties for defining a ResourceGroups.

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

Initializer

from ros_cdk_resourcemanager import datasource
datasource.ResourceGroupsProps(
  display_name: typing.Union[str, IResolvable] = None,
  include_tags: typing.Union[bool, IResolvable] = None,
  name: typing.Union[str, IResolvable] = None,
  refresh_options: typing.Union[str, IResolvable] = None,
  resource_group_ids: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]] = None
)

Properties

Name Type Description
display_name typing.Union[str, ros_cdk_core.IResolvable] Property displayName: The display name of the resource group.
include_tags typing.Union[bool, ros_cdk_core.IResolvable] Property includeTags: Whether to include the tags of the resource groups in the query results.
name typing.Union[str, ros_cdk_core.IResolvable] Property name: The identifier of the resource group.
refresh_options typing.Union[str, ros_cdk_core.IResolvable] Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
resource_group_ids typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]] Property resourceGroupIds: The IDs of the resource groups.

display_nameOptional

display_name: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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.


include_tagsOptional

include_tags: typing.Union[bool, IResolvable]
  • Type: typing.Union[bool, ros_cdk_core.IResolvable]

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


nameOptional

name: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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 (-).


refresh_optionsOptional

refresh_options: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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.

resource_group_idsOptional

resource_group_ids: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]]
  • Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, 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.