ConstraintProps
Properties for defining a Constraint.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-servicecatalog-constraint
Initializer
import ros_cdk_servicecatalog
ros_cdk_servicecatalog.ConstraintProps(
config: typing.Union[typing.Mapping[typing.Any], IResolvable],
constraint_type: typing.Union[str, IResolvable],
portfolio_id: typing.Union[str, IResolvable],
product_id: typing.Union[str, IResolvable],
description: typing.Union[str, IResolvable] = None
)
Properties
| Name | Type | Description |
|---|---|---|
config | typing.Union[typing.Mapping[typing.Any], ros_cdk_core.IResolvable] | Property config: The configuration of the constraint. |
constraint_type | typing.Union[str, ros_cdk_core.IResolvable] | Property constraintType: The type of the constraint. |
portfolio_id | typing.Union[str, ros_cdk_core.IResolvable] | Property portfolioId: The ID of the portfolio. |
product_id | typing.Union[str, ros_cdk_core.IResolvable] | Property productId: The ID of the product. |
description | typing.Union[str, ros_cdk_core.IResolvable] | Property description: The description of the constraint. |
configRequired
config: typing.Union[typing.Mapping[typing.Any], IResolvable]
- Type: typing.Union[typing.Mapping[typing.Any], ros_cdk_core.IResolvable]
Property config: The configuration of the constraint.
Format: { "LocalRoleName": "
constraint_typeRequired
constraint_type: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property constraintType: The type of the constraint.
The value is fixed as Launch, which specifies the launch constraint.
portfolio_idRequired
portfolio_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property portfolioId: The ID of the portfolio.
product_idRequired
product_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property productId: The ID of the product.
descriptionOptional
description: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property description: The description of the constraint.
The value must be 1 to 128 characters in length.