Skip to content

InstanceProps

Properties for defining a Instance.

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

Initializer

import { InstanceProps } from '@alicloud/ros-cdk-ots'
const instanceProps: InstanceProps = { ... }

Properties

Name Type Description
instanceName string | @alicloud/ros-cdk-core.IResolvable Property instanceName: The name of the instance.
clusterType string | @alicloud/ros-cdk-core.IResolvable Property clusterType: Cluster type, the default is SSD.
description string | @alicloud/ros-cdk-core.IResolvable Property description: Instance description.
network string | @alicloud/ros-cdk-core.IResolvable Property network: Instance network type, default is NORMAL.
tags TagsProperty[] Property tags: Tags to attach to instance.

instanceNameRequired

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

Property instanceName: The name of the instance.


clusterTypeOptional

public readonly clusterType: string | IResolvable;
  • Type: string | @alicloud/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

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

Property description: Instance description.


networkOptional

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

Property network: Instance network type, default is NORMAL.


tagsOptional

public readonly tags: 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.