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 CEN instance.
name string | @alicloud/ros-cdk-core.IResolvable Property name: The name of the CEN instance.
protectionLevel string | @alicloud/ros-cdk-core.IResolvable Property protectionLevel: The level of CIDR block overlap.
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 CEN instance.

The description can be empty or 1 to 256 characters in length. It 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 CEN instance.

The name can be empty or 1 to 128 characters in length. It 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 overlap.

Set the value to REDUCED. This is the default value. This value specifies that CIDR blocks can overlap but cannot be identical.


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.