ParameterProps
Properties for defining a Parameter.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-oos-parameter
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkoos"
&alicloudroscdkoos.ParameterProps {
Name: interface{},
Type: interface{},
Value: interface{},
Constraints: interface{},
Description: interface{},
ResourceGroupId: interface{},
}
Properties
| Name | Type | Description |
|---|---|---|
Name |
interface{} |
Property name: The name of the parameter. |
Type |
interface{} |
Property type: The data type of the common parameter. |
Value |
interface{} |
Property value: The value of the parameter. |
Constraints |
interface{} |
Property constraints: The constraints of the parameter. |
Description |
interface{} |
Property description: The description of the parameter. |
ResourceGroupId |
interface{} |
Property resourceGroupId: Resource group id. |
NameRequired
Name interface{}
- Type: interface{}
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 interface{}
- Type: interface{}
Property type: The data type of the common parameter.
Valid values: String and StringList.
ValueRequired
Value interface{}
- Type: interface{}
Property value: The value of the parameter.
The value must be 1 to 4096 characters in length.
ConstraintsOptional
Constraints interface{}
- Type: interface{}
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 interface{}
- Type: interface{}
Property description: The description of the parameter.
The description must be 1 to 200 characters in length.
ResourceGroupIdOptional
ResourceGroupId interface{}
- Type: interface{}
Property resourceGroupId: Resource group id.