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. |
instanceName
Required
public readonly instanceName: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property instanceName: The name of the instance.
clusterType
Optional
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
description
Optional
public readonly description: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property description: Instance description.
network
Optional
public readonly network: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property network: Instance network type, default is NORMAL.
tags
Optional
public readonly tags: TagsProperty[];
- Type: 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.