AScriptProps
Properties for defining a AScript
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-alb-ascript
Initializer
import { AScriptProps } from '@alicloud/ros-cdk-alb'
const aScriptProps: AScriptProps = { ... }
Properties
Name | Type | Description |
---|---|---|
aScriptName |
string | @alicloud/ros-cdk-core.IResolvable |
Property aScriptName: The name of the AScript rule. |
listenerId |
string | @alicloud/ros-cdk-core.IResolvable |
Property listenerId: The listener ID. |
scriptContent |
string | @alicloud/ros-cdk-core.IResolvable |
Property scriptContent: The content of the AScript rule. |
enabled |
boolean | @alicloud/ros-cdk-core.IResolvable |
Property enabled: Specifies whether to enable the AScript rule. |
extAttributeEnabled |
boolean | @alicloud/ros-cdk-core.IResolvable |
Property extAttributeEnabled: Specifies whether to enable the extended attributes of the AScript rule. |
extAttributes |
@alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | ExtAttributesProperty[] |
Property extAttributes: The extended attributes. |
aScriptName
Required
public readonly aScriptName: string | IResolvable;
- Type: string | @alicloud/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.
listenerId
Required
public readonly listenerId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property listenerId: The listener ID.
scriptContent
Required
public readonly scriptContent: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property scriptContent: The content of the AScript rule.
enabled
Optional
public readonly enabled: boolean | IResolvable;
- Type: boolean | @alicloud/ros-cdk-core.IResolvable
Property enabled: Specifies whether to enable the AScript rule.
Valid values: true false (default)
extAttributeEnabled
Optional
public readonly extAttributeEnabled: boolean | IResolvable;
- Type: boolean | @alicloud/ros-cdk-core.IResolvable
Property extAttributeEnabled: Specifies whether to enable the extended attributes of the AScript rule.
Valid values: true false (default)
extAttributes
Optional
public readonly extAttributes: IResolvable | IResolvable | ExtAttributesProperty[];
- Type: @alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | ExtAttributesProperty[]
Property extAttributes: The extended attributes.