Skip to content

InstanceProps

Properties for defining a Instance.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ots-instance

Initializer

import ros_cdk_ots
ros_cdk_ots.InstanceProps(
  instance_name: typing.Union[str, IResolvable],
  cluster_type: typing.Union[str, IResolvable] = None,
  description: typing.Union[str, IResolvable] = None,
  network: typing.Union[str, IResolvable] = None,
  tags: typing.List[TagsProperty] = None
)

Properties

Name Type Description
instance_name typing.Union[str, ros_cdk_core.IResolvable] Property instanceName: The name of the instance.
cluster_type typing.Union[str, ros_cdk_core.IResolvable] Property clusterType: Cluster type, the default is SSD.
description typing.Union[str, ros_cdk_core.IResolvable] Property description: Instance description.
network typing.Union[str, ros_cdk_core.IResolvable] Property network: Instance network type, default is NORMAL.
tags typing.List[TagsProperty] Property tags: Tags to attach to instance.

instance_nameRequired

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

Property instanceName: The name of the instance.


cluster_typeOptional

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

Property clusterType: Cluster type, the default is SSD.

This parameter specifies the specification of the ots instance. When the value is SSD, the ots instance is a high-performance instance. When the value is Hybid, the ots instance is a capacity instance


descriptionOptional

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

Property description: Instance description.


networkOptional

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

Property network: Instance network type, default is NORMAL.


tagsOptional

tags: typing.List[TagsProperty]

Property tags: Tags to attach to instance.

Max support 5 tags to add during create instance. Each tag with two properties Key and Value, and Key is required.