Skip to content

ParameterProps

Properties for defining a Parameter.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-oos-parameter

Initializer

import ros_cdk_oos
ros_cdk_oos.ParameterProps(
  name: typing.Union[str, IResolvable],
  type: typing.Union[str, IResolvable],
  value: typing.Union[str, IResolvable],
  constraints: typing.Union[str, IResolvable] = None,
  description: typing.Union[str, IResolvable] = None,
  resource_group_id: typing.Union[str, IResolvable] = None
)

Properties

Name Type Description
name typing.Union[str, ros_cdk_core.IResolvable] Property name: The name of the parameter.
type typing.Union[str, ros_cdk_core.IResolvable] Property type: The data type of the common parameter.
value typing.Union[str, ros_cdk_core.IResolvable] Property value: The value of the parameter.
constraints typing.Union[str, ros_cdk_core.IResolvable] Property constraints: The constraints of the parameter.
description typing.Union[str, ros_cdk_core.IResolvable] Property description: The description of the parameter.
resource_group_id typing.Union[str, ros_cdk_core.IResolvable] Property resourceGroupId: Resource group id.

nameRequired

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

Property name: The name of the parameter.

The name must be 1 to 200 characters in length,and can contain letters, digits, hyphens (-), and underscores (_). It cannot start with ALIYUN, ACS, ALIBABA, ALICLOUD, or OOS.


typeRequired

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

Property type: The data type of the common parameter.

Valid values: String and StringList.


valueRequired

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

Property value: The value of the parameter.

The value must be 1 to 4096 characters in length.


constraintsOptional

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

Property constraints: The constraints of the parameter.

By default, this parameter is null. Valid values: AllowedValues: The value that is allowed for the parameter. It must be an array string. AllowedPattern: The pattern that is allowed for the parameter. It must be a regular expression. MinLength: The minimum length of the parameter. MaxLength: The maximum length of the parameter.


descriptionOptional

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

Property description: The description of the parameter.

The description must be 1 to 200 characters in length.


resource_group_idOptional

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

Property resourceGroupId: Resource group id.