Skip to content

InstancesProps

Properties for defining a Instances.

See https://www.alibabacloud.com/help/ros/developer-reference/datasource-lindorm-instances

Initializer

from ros_cdk_lindorm import datasource
datasource.InstancesProps(
  instance_ids: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]] = None,
  query_str: typing.Union[str, IResolvable] = None,
  refresh_options: typing.Union[str, IResolvable] = None,
  resource_group_id: typing.Union[str, IResolvable] = None,
  service_type: typing.Union[str, IResolvable] = None,
  support_engine: typing.Union[typing.Union[int, float], IResolvable] = None,
  tags: typing.List[TagsProperty] = None
)

Properties

Name Type Description
instance_ids typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]] Property instanceIds: The list of the instance id.
query_str typing.Union[str, ros_cdk_core.IResolvable] Property queryStr: Instance name keyword, which can be used for fuzzy search.
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_id typing.Union[str, ros_cdk_core.IResolvable] Property resourceGroupId: The resource group id of lindorm instance.
service_type typing.Union[str, ros_cdk_core.IResolvable] Property serviceType: The type of lindorm instance.
support_engine typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property supportEngine: Database engine types supported by the queried instance.
tags typing.List[ros_cdk_lindorm.datasource.RosInstances.TagsProperty] Property tags: Tags of lindorm instance.

instance_idsOptional

instance_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 instanceIds: The list of the instance id.


query_strOptional

query_str: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property queryStr: Instance name keyword, which can be used for fuzzy search.


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_idOptional

resource_group_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property resourceGroupId: The resource group id of lindorm instance.


service_typeOptional

service_type: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property serviceType: The type of lindorm instance.


support_engineOptional

support_engine: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

Property supportEngine: Database engine types supported by the queried instance.

1: Support search engines. 2: Support timing engine. 4: Support wide table engine. 8: Support file engine. Note For example: the value of SupportEngine is 15, 15=8+4+2+1, which means that the instance supports search engine, timing engine, wide table engine and file engine. The value of SupportEngine is 6, 6=4+2, indicating that the instance supports timing engine and wide table engine.


tagsOptional

tags: typing.List[TagsProperty]
  • Type: typing.List[ros_cdk_lindorm.datasource.RosInstances.TagsProperty]

Property tags: Tags of lindorm instance.