ConstraintProps
Properties for defining a Constraint.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-servicecatalog-constraint
Initializer
import { ConstraintProps } from '@alicloud/ros-cdk-servicecatalog'
const constraintProps: ConstraintProps = { ... }
Properties
| Name | Type | Description |
|---|---|---|
config | {[ key: string ]: any} | @alicloud/ros-cdk-core.IResolvable | Property config: The configuration of the constraint. |
constraintType | string | @alicloud/ros-cdk-core.IResolvable | Property constraintType: The type of the constraint. |
portfolioId | string | @alicloud/ros-cdk-core.IResolvable | Property portfolioId: The ID of the portfolio. |
productId | string | @alicloud/ros-cdk-core.IResolvable | Property productId: The ID of the product. |
description | string | @alicloud/ros-cdk-core.IResolvable | Property description: The description of the constraint. |
configRequired
public readonly config: {[ key: string ]: any} | IResolvable;
- Type: {[ key: string ]: any} | @alicloud/ros-cdk-core.IResolvable
Property config: The configuration of the constraint.
Format: { "LocalRoleName": "\
constraintTypeRequired
public readonly constraintType: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property constraintType: The type of the constraint.
The value is fixed as Launch, which specifies the launch constraint.
portfolioIdRequired
public readonly portfolioId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property portfolioId: The ID of the portfolio.
productIdRequired
public readonly productId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property productId: The ID of the product.
descriptionOptional
public readonly description: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property description: The description of the constraint.
The value must be 1 to 128 characters in length.