Skip to content

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.

aScriptNameRequired

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.


listenerIdRequired

public readonly listenerId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property listenerId: The listener ID.


scriptContentRequired

public readonly scriptContent: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property scriptContent: The content of the AScript rule.


enabledOptional

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)


extAttributeEnabledOptional

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)


extAttributesOptional

public readonly extAttributes: IResolvable | IResolvable | ExtAttributesProperty[];
  • Type: @alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | ExtAttributesProperty[]

Property extAttributes: The extended attributes.