Skip to content

ConstraintProps

Properties for defining a Constraint.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-servicecatalog-constraint

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkservicecatalog"
&alicloudroscdkservicecatalog.ConstraintProps {
    Config: interface{},
    ConstraintType: interface{},
    PortfolioId: interface{},
    ProductId: interface{},
    Description: interface{},
}

Properties

Name Type Description
Config interface{} Property config: The configuration of the constraint.
ConstraintType interface{} Property constraintType: The type of the constraint.
PortfolioId interface{} Property portfolioId: The ID of the portfolio.
ProductId interface{} Property productId: The ID of the product.
Description interface{} Property description: The description of the constraint.

ConfigRequired

Config interface{}
  • Type: interface{}

Property config: The configuration of the constraint.

Format: { "LocalRoleName": "" }.


ConstraintTypeRequired

ConstraintType interface{}
  • Type: interface{}

Property constraintType: The type of the constraint.

The value is fixed as Launch, which specifies the launch constraint.


PortfolioIdRequired

PortfolioId interface{}
  • Type: interface{}

Property portfolioId: The ID of the portfolio.


ProductIdRequired

ProductId interface{}
  • Type: interface{}

Property productId: The ID of the product.


DescriptionOptional

Description interface{}
  • Type: interface{}

Property description: The description of the constraint.

The value must be 1 to 128 characters in length.