Skip to content

CenInstanceProps

Properties for defining a CenInstance.

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

Initializer

import ros_cdk_cen
ros_cdk_cen.CenInstanceProps(
  description: typing.Union[str, IResolvable] = None,
  name: typing.Union[str, IResolvable] = None,
  protection_level: typing.Union[str, IResolvable] = None,
  resource_group_id: typing.Union[str, IResolvable] = None,
  tags: typing.List[TagsProperty] = None
)

Properties

Name Type Description
description typing.Union[str, ros_cdk_core.IResolvable] Property description: The description of the instance.
name typing.Union[str, ros_cdk_core.IResolvable] Property name: The name of the instance.
protection_level typing.Union[str, ros_cdk_core.IResolvable] Property protectionLevel: The level of CIDR block overlapping.
resource_group_id typing.Union[str, ros_cdk_core.IResolvable] Property resourceGroupId: Resource group id.
tags typing.List[TagsProperty] Property tags: Tags to attach to instance.

descriptionOptional

description: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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

name: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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://.


protection_levelOptional

protection_level: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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.


resource_group_idOptional

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

Property resourceGroupId: Resource group id.


tagsOptional

tags: typing.List[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.