AScriptProps
Properties for defining a AScript
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-alb-ascript
Initializer
import ros_cdk_alb
ros_cdk_alb.AScriptProps(
a_script_name: typing.Union[str, IResolvable],
listener_id: typing.Union[str, IResolvable],
script_content: typing.Union[str, IResolvable],
enabled: typing.Union[bool, IResolvable] = None,
ext_attribute_enabled: typing.Union[bool, IResolvable] = None,
ext_attributes: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, ExtAttributesProperty]]] = None
)
Properties
Name | Type | Description |
---|---|---|
a_script_name |
typing.Union[str, ros_cdk_core.IResolvable] |
Property aScriptName: The name of the AScript rule. |
listener_id |
typing.Union[str, ros_cdk_core.IResolvable] |
Property listenerId: The listener ID. |
script_content |
typing.Union[str, ros_cdk_core.IResolvable] |
Property scriptContent: The content of the AScript rule. |
enabled |
typing.Union[bool, ros_cdk_core.IResolvable] |
Property enabled: Specifies whether to enable the AScript rule. |
ext_attribute_enabled |
typing.Union[bool, ros_cdk_core.IResolvable] |
Property extAttributeEnabled: Specifies whether to enable the extended attributes of the AScript rule. |
ext_attributes |
typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, ExtAttributesProperty]]] |
Property extAttributes: The extended attributes. |
a_script_name
Required
a_script_name: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property aScriptName: The name of the AScript rule.
The name must be 2 to 128 character in length, and can contain letters, digits, periods (.), underscores (_), and hyphens (-). It must start with a letter.
listener_id
Required
listener_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property listenerId: The listener ID.
script_content
Required
script_content: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property scriptContent: The content of the AScript rule.
enabled
Optional
enabled: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, ros_cdk_core.IResolvable]
Property enabled: Specifies whether to enable the AScript rule.
Valid values: true false (default)
ext_attribute_enabled
Optional
ext_attribute_enabled: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, ros_cdk_core.IResolvable]
Property extAttributeEnabled: Specifies whether to enable the extended attributes of the AScript rule.
Valid values: true false (default)
ext_attributes
Optional
ext_attributes: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, ExtAttributesProperty]]]
- Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, ExtAttributesProperty]]]
Property extAttributes: The extended attributes.