Skip to content

CenInstanceProps

Properties for defining a CenInstance.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cen-ceninstance

Initializer

import { CenInstanceProps } from '@alicloud/ros-cdk-cen'
const cenInstanceProps: CenInstanceProps = { ... }

Properties

Name Type Description
description string | @alicloud/ros-cdk-core.IResolvable Property description: The description of the instance.
name string | @alicloud/ros-cdk-core.IResolvable Property name: The name of the instance.
protectionLevel string | @alicloud/ros-cdk-core.IResolvable Property protectionLevel: The level of CIDR block overlapping.
resourceGroupId string | @alicloud/ros-cdk-core.IResolvable Property resourceGroupId: Resource group id.
tags TagsProperty[] Property tags: Tags to attach to instance.

descriptionOptional

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

Property description: The description of the instance.

The name can be 2-256 characters in length. It can start with an uppercase letter, lowercase letter, or Chinese character. It can contain numbers, underscores (_), and hyphens (-), but cannot start with http:\/\/ or https:\/\/.


nameOptional

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

Property name: The name of the instance.

The name can be 2-128 characters in length. It can start with an uppercase letter, lowercase letter, or Chinese character. It can contain numbers, underscores (_), and hyphens (-), but cannot start with http:\/\/ or https:\/\/.


protectionLevelOptional

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

Property protectionLevel: The level of CIDR block overlapping.

Set the value to REDUCED. REDUCED indicates that the CIDR blocks can overlap with each other but must not be the same.


resourceGroupIdOptional

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

Property resourceGroupId: Resource group id.


tagsOptional

public readonly tags: TagsProperty[];

Property tags: Tags to attach to instance.

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