Skip to content

AScriptProps

Properties for defining a AScript.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-alb-ascript

Initializer

import com.aliyun.ros.cdk.alb.AScriptProps;
AScriptProps.builder()
    .aScriptName(java.lang.String)
    .aScriptName(IResolvable)
    .listenerId(java.lang.String)
    .listenerId(IResolvable)
    .scriptContent(java.lang.String)
    .scriptContent(IResolvable)
//  .enabled(java.lang.Boolean)
//  .enabled(IResolvable)
//  .extAttributeEnabled(java.lang.Boolean)
//  .extAttributeEnabled(IResolvable)
//  .extAttributes(IResolvable)
//  .extAttributes(java.util.List<IResolvable)
//  .extAttributes(ExtAttributesProperty>)
    .build();

Properties

Name Type Description
aScriptName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property aScriptName: The name of the AScript rule.
listenerId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property listenerId: The listener ID.
scriptContent java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property scriptContent: The content of the AScript rule.
enabled java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable Property enabled: Specifies whether to enable the AScript rule.
extAttributeEnabled java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable Property extAttributeEnabled: Specifies whether to enable the extended attributes of the AScript rule.
extAttributes com.aliyun.ros.cdk.core.IResolvable OR java.util.ListExtAttributesProperty> Property extAttributes: The extended attributes.

aScriptNameRequired

public java.lang.Object getAScriptName();
  • Type: java.lang.String OR com.aliyun.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 java.lang.Object getListenerId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property listenerId: The listener ID.


scriptContentRequired

public java.lang.Object getScriptContent();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property scriptContent: The content of the AScript rule.


enabledOptional

public java.lang.Object getEnabled();
  • Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable

Property enabled: Specifies whether to enable the AScript rule.

Valid values: true false (default)


extAttributeEnabledOptional

public java.lang.Object getExtAttributeEnabled();
  • Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable

Property extAttributeEnabled: Specifies whether to enable the extended attributes of the AScript rule.

Valid values: true false (default)


extAttributesOptional

public java.lang.Object getExtAttributes();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.ListExtAttributesProperty>

Property extAttributes: The extended attributes.