alicloud.alb.Rule
Explore with Pulumi AI
Provides a Application Load Balancer (ALB) Rule resource.
For information about Application Load Balancer (ALB) Rule and how to use it, see What is Rule.
NOTE: Available in v1.133.0+.
NOTE: This version only supports forwarding rules in the request direction.
Create Rule Resource
new Rule(name: string, args: RuleArgs, opts?: CustomResourceOptions);
@overload
def Rule(resource_name: str,
opts: Optional[ResourceOptions] = None,
direction: Optional[str] = None,
dry_run: Optional[bool] = None,
listener_id: Optional[str] = None,
priority: Optional[int] = None,
rule_actions: Optional[Sequence[RuleRuleActionArgs]] = None,
rule_conditions: Optional[Sequence[RuleRuleConditionArgs]] = None,
rule_name: Optional[str] = None)
@overload
def Rule(resource_name: str,
args: RuleArgs,
opts: Optional[ResourceOptions] = None)
func NewRule(ctx *Context, name string, args RuleArgs, opts ...ResourceOption) (*Rule, error)
public Rule(string name, RuleArgs args, CustomResourceOptions? opts = null)
type: alicloud:alb:Rule
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RuleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args RuleArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args RuleArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RuleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RuleArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Rule Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Rule resource accepts the following input properties:
- Listener
Id string The ID of the listener to which the forwarding rule belongs.
- Priority int
The priority of the rule. Valid values: 1 to 10000. A smaller value indicates a higher priority. Note: The priority of each rule within the same listener must be unique.
- Rule
Actions List<Pulumi.Ali Cloud. Alb. Inputs. Rule Rule Action Args> The actions of the forwarding rules. See the following
Block rule_actions
.- Rule
Conditions List<Pulumi.Ali Cloud. Alb. Inputs. Rule Rule Condition Args> The conditions of the forwarding rule. See the following
Block rule_conditions
.- Rule
Name string The name of the forwarding rule. The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (_), and hyphens (-). The name must start with a letter.
- Direction string
The direction to which the forwarding rule is applied. Default value:
Request
. Valid values:- Dry
Run bool Specifies whether to precheck this request.
- Listener
Id string The ID of the listener to which the forwarding rule belongs.
- Priority int
The priority of the rule. Valid values: 1 to 10000. A smaller value indicates a higher priority. Note: The priority of each rule within the same listener must be unique.
- Rule
Actions []RuleRule Action Args The actions of the forwarding rules. See the following
Block rule_actions
.- Rule
Conditions []RuleRule Condition Args The conditions of the forwarding rule. See the following
Block rule_conditions
.- Rule
Name string The name of the forwarding rule. The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (_), and hyphens (-). The name must start with a letter.
- Direction string
The direction to which the forwarding rule is applied. Default value:
Request
. Valid values:- Dry
Run bool Specifies whether to precheck this request.
- listener
Id String The ID of the listener to which the forwarding rule belongs.
- priority Integer
The priority of the rule. Valid values: 1 to 10000. A smaller value indicates a higher priority. Note: The priority of each rule within the same listener must be unique.
- rule
Actions List<RuleRule Action Args> The actions of the forwarding rules. See the following
Block rule_actions
.- rule
Conditions List<RuleRule Condition Args> The conditions of the forwarding rule. See the following
Block rule_conditions
.- rule
Name String The name of the forwarding rule. The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (_), and hyphens (-). The name must start with a letter.
- direction String
The direction to which the forwarding rule is applied. Default value:
Request
. Valid values:- dry
Run Boolean Specifies whether to precheck this request.
- listener
Id string The ID of the listener to which the forwarding rule belongs.
- priority number
The priority of the rule. Valid values: 1 to 10000. A smaller value indicates a higher priority. Note: The priority of each rule within the same listener must be unique.
- rule
Actions RuleRule Action Args[] The actions of the forwarding rules. See the following
Block rule_actions
.- rule
Conditions RuleRule Condition Args[] The conditions of the forwarding rule. See the following
Block rule_conditions
.- rule
Name string The name of the forwarding rule. The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (_), and hyphens (-). The name must start with a letter.
- direction string
The direction to which the forwarding rule is applied. Default value:
Request
. Valid values:- dry
Run boolean Specifies whether to precheck this request.
- listener_
id str The ID of the listener to which the forwarding rule belongs.
- priority int
The priority of the rule. Valid values: 1 to 10000. A smaller value indicates a higher priority. Note: The priority of each rule within the same listener must be unique.
- rule_
actions Sequence[RuleRule Action Args] The actions of the forwarding rules. See the following
Block rule_actions
.- rule_
conditions Sequence[RuleRule Condition Args] The conditions of the forwarding rule. See the following
Block rule_conditions
.- rule_
name str The name of the forwarding rule. The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (_), and hyphens (-). The name must start with a letter.
- direction str
The direction to which the forwarding rule is applied. Default value:
Request
. Valid values:- dry_
run bool Specifies whether to precheck this request.
- listener
Id String The ID of the listener to which the forwarding rule belongs.
- priority Number
The priority of the rule. Valid values: 1 to 10000. A smaller value indicates a higher priority. Note: The priority of each rule within the same listener must be unique.
- rule
Actions List<Property Map> The actions of the forwarding rules. See the following
Block rule_actions
.- rule
Conditions List<Property Map> The conditions of the forwarding rule. See the following
Block rule_conditions
.- rule
Name String The name of the forwarding rule. The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (_), and hyphens (-). The name must start with a letter.
- direction String
The direction to which the forwarding rule is applied. Default value:
Request
. Valid values:- dry
Run Boolean Specifies whether to precheck this request.
Outputs
All input properties are implicitly available as output properties. Additionally, the Rule resource produces the following output properties:
Look up Existing Rule Resource
Get an existing Rule resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: RuleState, opts?: CustomResourceOptions): Rule
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
direction: Optional[str] = None,
dry_run: Optional[bool] = None,
listener_id: Optional[str] = None,
priority: Optional[int] = None,
rule_actions: Optional[Sequence[RuleRuleActionArgs]] = None,
rule_conditions: Optional[Sequence[RuleRuleConditionArgs]] = None,
rule_name: Optional[str] = None,
status: Optional[str] = None) -> Rule
func GetRule(ctx *Context, name string, id IDInput, state *RuleState, opts ...ResourceOption) (*Rule, error)
public static Rule Get(string name, Input<string> id, RuleState? state, CustomResourceOptions? opts = null)
public static Rule get(String name, Output<String> id, RuleState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Direction string
The direction to which the forwarding rule is applied. Default value:
Request
. Valid values:- Dry
Run bool Specifies whether to precheck this request.
- Listener
Id string The ID of the listener to which the forwarding rule belongs.
- Priority int
The priority of the rule. Valid values: 1 to 10000. A smaller value indicates a higher priority. Note: The priority of each rule within the same listener must be unique.
- Rule
Actions List<Pulumi.Ali Cloud. Alb. Inputs. Rule Rule Action Args> The actions of the forwarding rules. See the following
Block rule_actions
.- Rule
Conditions List<Pulumi.Ali Cloud. Alb. Inputs. Rule Rule Condition Args> The conditions of the forwarding rule. See the following
Block rule_conditions
.- Rule
Name string The name of the forwarding rule. The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (_), and hyphens (-). The name must start with a letter.
- Status string
The status of the resource.
- Direction string
The direction to which the forwarding rule is applied. Default value:
Request
. Valid values:- Dry
Run bool Specifies whether to precheck this request.
- Listener
Id string The ID of the listener to which the forwarding rule belongs.
- Priority int
The priority of the rule. Valid values: 1 to 10000. A smaller value indicates a higher priority. Note: The priority of each rule within the same listener must be unique.
- Rule
Actions []RuleRule Action Args The actions of the forwarding rules. See the following
Block rule_actions
.- Rule
Conditions []RuleRule Condition Args The conditions of the forwarding rule. See the following
Block rule_conditions
.- Rule
Name string The name of the forwarding rule. The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (_), and hyphens (-). The name must start with a letter.
- Status string
The status of the resource.
- direction String
The direction to which the forwarding rule is applied. Default value:
Request
. Valid values:- dry
Run Boolean Specifies whether to precheck this request.
- listener
Id String The ID of the listener to which the forwarding rule belongs.
- priority Integer
The priority of the rule. Valid values: 1 to 10000. A smaller value indicates a higher priority. Note: The priority of each rule within the same listener must be unique.
- rule
Actions List<RuleRule Action Args> The actions of the forwarding rules. See the following
Block rule_actions
.- rule
Conditions List<RuleRule Condition Args> The conditions of the forwarding rule. See the following
Block rule_conditions
.- rule
Name String The name of the forwarding rule. The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (_), and hyphens (-). The name must start with a letter.
- status String
The status of the resource.
- direction string
The direction to which the forwarding rule is applied. Default value:
Request
. Valid values:- dry
Run boolean Specifies whether to precheck this request.
- listener
Id string The ID of the listener to which the forwarding rule belongs.
- priority number
The priority of the rule. Valid values: 1 to 10000. A smaller value indicates a higher priority. Note: The priority of each rule within the same listener must be unique.
- rule
Actions RuleRule Action Args[] The actions of the forwarding rules. See the following
Block rule_actions
.- rule
Conditions RuleRule Condition Args[] The conditions of the forwarding rule. See the following
Block rule_conditions
.- rule
Name string The name of the forwarding rule. The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (_), and hyphens (-). The name must start with a letter.
- status string
The status of the resource.
- direction str
The direction to which the forwarding rule is applied. Default value:
Request
. Valid values:- dry_
run bool Specifies whether to precheck this request.
- listener_
id str The ID of the listener to which the forwarding rule belongs.
- priority int
The priority of the rule. Valid values: 1 to 10000. A smaller value indicates a higher priority. Note: The priority of each rule within the same listener must be unique.
- rule_
actions Sequence[RuleRule Action Args] The actions of the forwarding rules. See the following
Block rule_actions
.- rule_
conditions Sequence[RuleRule Condition Args] The conditions of the forwarding rule. See the following
Block rule_conditions
.- rule_
name str The name of the forwarding rule. The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (_), and hyphens (-). The name must start with a letter.
- status str
The status of the resource.
- direction String
The direction to which the forwarding rule is applied. Default value:
Request
. Valid values:- dry
Run Boolean Specifies whether to precheck this request.
- listener
Id String The ID of the listener to which the forwarding rule belongs.
- priority Number
The priority of the rule. Valid values: 1 to 10000. A smaller value indicates a higher priority. Note: The priority of each rule within the same listener must be unique.
- rule
Actions List<Property Map> The actions of the forwarding rules. See the following
Block rule_actions
.- rule
Conditions List<Property Map> The conditions of the forwarding rule. See the following
Block rule_conditions
.- rule
Name String The name of the forwarding rule. The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (_), and hyphens (-). The name must start with a letter.
- status String
The status of the resource.
Supporting Types
RuleRuleAction
- Order int
The order of the forwarding rule actions. Valid values: 1 to 50000. The actions are performed in ascending order. You cannot leave this parameter empty. Each value must be unique.
- Type string
The type of the forwarding rule. Valid values:
Header
,Host
,Path
,Cookie
,QueryString
,Method
andSourceIp
. Note: The preceding actions can be classified into two types:FinalType
: A forwarding rule can contain only oneFinalType
action, which is executed last. This type of action can contain only oneForwardGroup
,Redirect
orFixedResponse
action.ExtType
: A forwarding rule can contain one or moreExtType
actions, which are executed beforeFinalType
actions and need to coexist with theFinalType
actions. This type of action can contain multipleInsertHeader
actions or oneRewrite
action. NOTE: TheTrafficLimit
andTrafficMirror
option is available in 1.162.0+. NOTE: From version 1.205.0+,type
can be set toCors
.- Cors
Config Pulumi.Ali Cloud. Alb. Inputs. Rule Rule Action Cors Config Request forwarding based on CORS. See the following
Block cors_config
.- Fixed
Response Pulumi.Config Ali Cloud. Alb. Inputs. Rule Rule Action Fixed Response Config The configuration of the fixed response. See the following
Block fixed_response_config
.- Forward
Group Pulumi.Config Ali Cloud. Alb. Inputs. Rule Rule Action Forward Group Config The forward response action within ALB. See the following
Block forward_group_config
.- Insert
Header Pulumi.Config Ali Cloud. Alb. Inputs. Rule Rule Action Insert Header Config The configuration of the inserted header field. See the following
Block insert_header_config
.- Redirect
Config Pulumi.Ali Cloud. Alb. Inputs. Rule Rule Action Redirect Config The configuration of the external redirect action. See the following
Block redirect_config
.- Rewrite
Config Pulumi.Ali Cloud. Alb. Inputs. Rule Rule Action Rewrite Config The redirect action within ALB. See the following
Block rewrite_config
.- Traffic
Limit Pulumi.Config Ali Cloud. Alb. Inputs. Rule Rule Action Traffic Limit Config The Flow speed limit. See the following
Block traffic_limit_config
.- Traffic
Mirror Pulumi.Config Ali Cloud. Alb. Inputs. Rule Rule Action Traffic Mirror Config The Traffic mirroring. See the following
Block traffic_mirror_config
.
- Order int
The order of the forwarding rule actions. Valid values: 1 to 50000. The actions are performed in ascending order. You cannot leave this parameter empty. Each value must be unique.
- Type string
The type of the forwarding rule. Valid values:
Header
,Host
,Path
,Cookie
,QueryString
,Method
andSourceIp
. Note: The preceding actions can be classified into two types:FinalType
: A forwarding rule can contain only oneFinalType
action, which is executed last. This type of action can contain only oneForwardGroup
,Redirect
orFixedResponse
action.ExtType
: A forwarding rule can contain one or moreExtType
actions, which are executed beforeFinalType
actions and need to coexist with theFinalType
actions. This type of action can contain multipleInsertHeader
actions or oneRewrite
action. NOTE: TheTrafficLimit
andTrafficMirror
option is available in 1.162.0+. NOTE: From version 1.205.0+,type
can be set toCors
.- Cors
Config RuleRule Action Cors Config Request forwarding based on CORS. See the following
Block cors_config
.- Fixed
Response RuleConfig Rule Action Fixed Response Config The configuration of the fixed response. See the following
Block fixed_response_config
.- Forward
Group RuleConfig Rule Action Forward Group Config The forward response action within ALB. See the following
Block forward_group_config
.- Insert
Header RuleConfig Rule Action Insert Header Config The configuration of the inserted header field. See the following
Block insert_header_config
.- Redirect
Config RuleRule Action Redirect Config The configuration of the external redirect action. See the following
Block redirect_config
.- Rewrite
Config RuleRule Action Rewrite Config The redirect action within ALB. See the following
Block rewrite_config
.- Traffic
Limit RuleConfig Rule Action Traffic Limit Config The Flow speed limit. See the following
Block traffic_limit_config
.- Traffic
Mirror RuleConfig Rule Action Traffic Mirror Config The Traffic mirroring. See the following
Block traffic_mirror_config
.
- order Integer
The order of the forwarding rule actions. Valid values: 1 to 50000. The actions are performed in ascending order. You cannot leave this parameter empty. Each value must be unique.
- type String
The type of the forwarding rule. Valid values:
Header
,Host
,Path
,Cookie
,QueryString
,Method
andSourceIp
. Note: The preceding actions can be classified into two types:FinalType
: A forwarding rule can contain only oneFinalType
action, which is executed last. This type of action can contain only oneForwardGroup
,Redirect
orFixedResponse
action.ExtType
: A forwarding rule can contain one or moreExtType
actions, which are executed beforeFinalType
actions and need to coexist with theFinalType
actions. This type of action can contain multipleInsertHeader
actions or oneRewrite
action. NOTE: TheTrafficLimit
andTrafficMirror
option is available in 1.162.0+. NOTE: From version 1.205.0+,type
can be set toCors
.- cors
Config RuleRule Action Cors Config Request forwarding based on CORS. See the following
Block cors_config
.- fixed
Response RuleConfig Rule Action Fixed Response Config The configuration of the fixed response. See the following
Block fixed_response_config
.- forward
Group RuleConfig Rule Action Forward Group Config The forward response action within ALB. See the following
Block forward_group_config
.- insert
Header RuleConfig Rule Action Insert Header Config The configuration of the inserted header field. See the following
Block insert_header_config
.- redirect
Config RuleRule Action Redirect Config The configuration of the external redirect action. See the following
Block redirect_config
.- rewrite
Config RuleRule Action Rewrite Config The redirect action within ALB. See the following
Block rewrite_config
.- traffic
Limit RuleConfig Rule Action Traffic Limit Config The Flow speed limit. See the following
Block traffic_limit_config
.- traffic
Mirror RuleConfig Rule Action Traffic Mirror Config The Traffic mirroring. See the following
Block traffic_mirror_config
.
- order number
The order of the forwarding rule actions. Valid values: 1 to 50000. The actions are performed in ascending order. You cannot leave this parameter empty. Each value must be unique.
- type string
The type of the forwarding rule. Valid values:
Header
,Host
,Path
,Cookie
,QueryString
,Method
andSourceIp
. Note: The preceding actions can be classified into two types:FinalType
: A forwarding rule can contain only oneFinalType
action, which is executed last. This type of action can contain only oneForwardGroup
,Redirect
orFixedResponse
action.ExtType
: A forwarding rule can contain one or moreExtType
actions, which are executed beforeFinalType
actions and need to coexist with theFinalType
actions. This type of action can contain multipleInsertHeader
actions or oneRewrite
action. NOTE: TheTrafficLimit
andTrafficMirror
option is available in 1.162.0+. NOTE: From version 1.205.0+,type
can be set toCors
.- cors
Config RuleRule Action Cors Config Request forwarding based on CORS. See the following
Block cors_config
.- fixed
Response RuleConfig Rule Action Fixed Response Config The configuration of the fixed response. See the following
Block fixed_response_config
.- forward
Group RuleConfig Rule Action Forward Group Config The forward response action within ALB. See the following
Block forward_group_config
.- insert
Header RuleConfig Rule Action Insert Header Config The configuration of the inserted header field. See the following
Block insert_header_config
.- redirect
Config RuleRule Action Redirect Config The configuration of the external redirect action. See the following
Block redirect_config
.- rewrite
Config RuleRule Action Rewrite Config The redirect action within ALB. See the following
Block rewrite_config
.- traffic
Limit RuleConfig Rule Action Traffic Limit Config The Flow speed limit. See the following
Block traffic_limit_config
.- traffic
Mirror RuleConfig Rule Action Traffic Mirror Config The Traffic mirroring. See the following
Block traffic_mirror_config
.
- order int
The order of the forwarding rule actions. Valid values: 1 to 50000. The actions are performed in ascending order. You cannot leave this parameter empty. Each value must be unique.
- type str
The type of the forwarding rule. Valid values:
Header
,Host
,Path
,Cookie
,QueryString
,Method
andSourceIp
. Note: The preceding actions can be classified into two types:FinalType
: A forwarding rule can contain only oneFinalType
action, which is executed last. This type of action can contain only oneForwardGroup
,Redirect
orFixedResponse
action.ExtType
: A forwarding rule can contain one or moreExtType
actions, which are executed beforeFinalType
actions and need to coexist with theFinalType
actions. This type of action can contain multipleInsertHeader
actions or oneRewrite
action. NOTE: TheTrafficLimit
andTrafficMirror
option is available in 1.162.0+. NOTE: From version 1.205.0+,type
can be set toCors
.- cors_
config RuleRule Action Cors Config Request forwarding based on CORS. See the following
Block cors_config
.- fixed_
response_ Ruleconfig Rule Action Fixed Response Config The configuration of the fixed response. See the following
Block fixed_response_config
.- forward_
group_ Ruleconfig Rule Action Forward Group Config The forward response action within ALB. See the following
Block forward_group_config
.- insert_
header_ Ruleconfig Rule Action Insert Header Config The configuration of the inserted header field. See the following
Block insert_header_config
.- redirect_
config RuleRule Action Redirect Config The configuration of the external redirect action. See the following
Block redirect_config
.- rewrite_
config RuleRule Action Rewrite Config The redirect action within ALB. See the following
Block rewrite_config
.- traffic_
limit_ Ruleconfig Rule Action Traffic Limit Config The Flow speed limit. See the following
Block traffic_limit_config
.- traffic_
mirror_ Ruleconfig Rule Action Traffic Mirror Config The Traffic mirroring. See the following
Block traffic_mirror_config
.
- order Number
The order of the forwarding rule actions. Valid values: 1 to 50000. The actions are performed in ascending order. You cannot leave this parameter empty. Each value must be unique.
- type String
The type of the forwarding rule. Valid values:
Header
,Host
,Path
,Cookie
,QueryString
,Method
andSourceIp
. Note: The preceding actions can be classified into two types:FinalType
: A forwarding rule can contain only oneFinalType
action, which is executed last. This type of action can contain only oneForwardGroup
,Redirect
orFixedResponse
action.ExtType
: A forwarding rule can contain one or moreExtType
actions, which are executed beforeFinalType
actions and need to coexist with theFinalType
actions. This type of action can contain multipleInsertHeader
actions or oneRewrite
action. NOTE: TheTrafficLimit
andTrafficMirror
option is available in 1.162.0+. NOTE: From version 1.205.0+,type
can be set toCors
.- cors
Config Property Map Request forwarding based on CORS. See the following
Block cors_config
.- fixed
Response Property MapConfig The configuration of the fixed response. See the following
Block fixed_response_config
.- forward
Group Property MapConfig The forward response action within ALB. See the following
Block forward_group_config
.- insert
Header Property MapConfig The configuration of the inserted header field. See the following
Block insert_header_config
.- redirect
Config Property Map The configuration of the external redirect action. See the following
Block redirect_config
.- rewrite
Config Property Map The redirect action within ALB. See the following
Block rewrite_config
.- traffic
Limit Property MapConfig The Flow speed limit. See the following
Block traffic_limit_config
.- traffic
Mirror Property MapConfig The Traffic mirroring. See the following
Block traffic_mirror_config
.
RuleRuleActionCorsConfig
- Allow
Credentials string Specifies whether credentials can be passed during CORS operations. Valid values:
on
,off
.- Allow
Headers List<string> The allowed headers for CORS requests.
- Allow
Methods List<string> The allowed HTTP methods for CORS requests. Valid values:
GET
,POST
,PUT
,DELETE
,HEAD
,OPTIONS
,PATCH
.- Allow
Origins List<string> The allowed origins of CORS requests.
- Expose
Headers List<string> The headers that can be exposed.
- Max
Age int The maximum cache time of preflight requests in the browser. Unit: seconds. Valid values:
-1
to172800
.
- Allow
Credentials string Specifies whether credentials can be passed during CORS operations. Valid values:
on
,off
.- Allow
Headers []string The allowed headers for CORS requests.
- Allow
Methods []string The allowed HTTP methods for CORS requests. Valid values:
GET
,POST
,PUT
,DELETE
,HEAD
,OPTIONS
,PATCH
.- Allow
Origins []string The allowed origins of CORS requests.
- Expose
Headers []string The headers that can be exposed.
- Max
Age int The maximum cache time of preflight requests in the browser. Unit: seconds. Valid values:
-1
to172800
.
- allow
Credentials String Specifies whether credentials can be passed during CORS operations. Valid values:
on
,off
.- allow
Headers List<String> The allowed headers for CORS requests.
- allow
Methods List<String> The allowed HTTP methods for CORS requests. Valid values:
GET
,POST
,PUT
,DELETE
,HEAD
,OPTIONS
,PATCH
.- allow
Origins List<String> The allowed origins of CORS requests.
- expose
Headers List<String> The headers that can be exposed.
- max
Age Integer The maximum cache time of preflight requests in the browser. Unit: seconds. Valid values:
-1
to172800
.
- allow
Credentials string Specifies whether credentials can be passed during CORS operations. Valid values:
on
,off
.- allow
Headers string[] The allowed headers for CORS requests.
- allow
Methods string[] The allowed HTTP methods for CORS requests. Valid values:
GET
,POST
,PUT
,DELETE
,HEAD
,OPTIONS
,PATCH
.- allow
Origins string[] The allowed origins of CORS requests.
- expose
Headers string[] The headers that can be exposed.
- max
Age number The maximum cache time of preflight requests in the browser. Unit: seconds. Valid values:
-1
to172800
.
- allow_
credentials str Specifies whether credentials can be passed during CORS operations. Valid values:
on
,off
.- allow_
headers Sequence[str] The allowed headers for CORS requests.
- allow_
methods Sequence[str] The allowed HTTP methods for CORS requests. Valid values:
GET
,POST
,PUT
,DELETE
,HEAD
,OPTIONS
,PATCH
.- allow_
origins Sequence[str] The allowed origins of CORS requests.
- expose_
headers Sequence[str] The headers that can be exposed.
- max_
age int The maximum cache time of preflight requests in the browser. Unit: seconds. Valid values:
-1
to172800
.
- allow
Credentials String Specifies whether credentials can be passed during CORS operations. Valid values:
on
,off
.- allow
Headers List<String> The allowed headers for CORS requests.
- allow
Methods List<String> The allowed HTTP methods for CORS requests. Valid values:
GET
,POST
,PUT
,DELETE
,HEAD
,OPTIONS
,PATCH
.- allow
Origins List<String> The allowed origins of CORS requests.
- expose
Headers List<String> The headers that can be exposed.
- max
Age Number The maximum cache time of preflight requests in the browser. Unit: seconds. Valid values:
-1
to172800
.
RuleRuleActionFixedResponseConfig
- Content string
The fixed response. The response cannot exceed 1 KB in size and can contain only ASCII characters.
- Content
Type string The format of the fixed response. Valid values:
text/plain
,text/css
,text/html
,application/javascript
, andapplication/json
.- Http
Code string The redirect method. Valid values:301, 302, 303, 307, and 308.
- Content string
The fixed response. The response cannot exceed 1 KB in size and can contain only ASCII characters.
- Content
Type string The format of the fixed response. Valid values:
text/plain
,text/css
,text/html
,application/javascript
, andapplication/json
.- Http
Code string The redirect method. Valid values:301, 302, 303, 307, and 308.
- content String
The fixed response. The response cannot exceed 1 KB in size and can contain only ASCII characters.
- content
Type String The format of the fixed response. Valid values:
text/plain
,text/css
,text/html
,application/javascript
, andapplication/json
.- http
Code String The redirect method. Valid values:301, 302, 303, 307, and 308.
- content string
The fixed response. The response cannot exceed 1 KB in size and can contain only ASCII characters.
- content
Type string The format of the fixed response. Valid values:
text/plain
,text/css
,text/html
,application/javascript
, andapplication/json
.- http
Code string The redirect method. Valid values:301, 302, 303, 307, and 308.
- content str
The fixed response. The response cannot exceed 1 KB in size and can contain only ASCII characters.
- content_
type str The format of the fixed response. Valid values:
text/plain
,text/css
,text/html
,application/javascript
, andapplication/json
.- http_
code str The redirect method. Valid values:301, 302, 303, 307, and 308.
- content String
The fixed response. The response cannot exceed 1 KB in size and can contain only ASCII characters.
- content
Type String The format of the fixed response. Valid values:
text/plain
,text/css
,text/html
,application/javascript
, andapplication/json
.- http
Code String The redirect method. Valid values:301, 302, 303, 307, and 308.
RuleRuleActionForwardGroupConfig
- Server
Group Pulumi.Sticky Session Ali Cloud. Alb. Inputs. Rule Rule Action Forward Group Config Server Group Sticky Session The configuration of session persistence for server groups.
- Server
Group List<Pulumi.Tuples Ali Cloud. Alb. Inputs. Rule Rule Action Forward Group Config Server Group Tuple> The destination server group to which requests are forwarded.
- Server
Group RuleSticky Session Rule Action Forward Group Config Server Group Sticky Session The configuration of session persistence for server groups.
- Server
Group []RuleTuples Rule Action Forward Group Config Server Group Tuple The destination server group to which requests are forwarded.
- server
Group RuleSticky Session Rule Action Forward Group Config Server Group Sticky Session The configuration of session persistence for server groups.
- server
Group List<RuleTuples Rule Action Forward Group Config Server Group Tuple> The destination server group to which requests are forwarded.
- server
Group RuleSticky Session Rule Action Forward Group Config Server Group Sticky Session The configuration of session persistence for server groups.
- server
Group RuleTuples Rule Action Forward Group Config Server Group Tuple[] The destination server group to which requests are forwarded.
- server_
group_ Rulesticky_ session Rule Action Forward Group Config Server Group Sticky Session The configuration of session persistence for server groups.
- server_
group_ Sequence[Ruletuples Rule Action Forward Group Config Server Group Tuple] The destination server group to which requests are forwarded.
- server
Group Property MapSticky Session The configuration of session persistence for server groups.
- server
Group List<Property Map>Tuples The destination server group to which requests are forwarded.
RuleRuleActionForwardGroupConfigServerGroupStickySession
RuleRuleActionForwardGroupConfigServerGroupTuple
- Server
Group stringId The ID of the destination server group to which requests are forwarded.
- Weight int
The Weight of server group. Default value:
100
. NOTE: This attribute is required when the number ofserver_group_tuples
is greater than 2.
- Server
Group stringId The ID of the destination server group to which requests are forwarded.
- Weight int
The Weight of server group. Default value:
100
. NOTE: This attribute is required when the number ofserver_group_tuples
is greater than 2.
- server
Group StringId The ID of the destination server group to which requests are forwarded.
- weight Integer
The Weight of server group. Default value:
100
. NOTE: This attribute is required when the number ofserver_group_tuples
is greater than 2.
- server
Group stringId The ID of the destination server group to which requests are forwarded.
- weight number
The Weight of server group. Default value:
100
. NOTE: This attribute is required when the number ofserver_group_tuples
is greater than 2.
- server_
group_ strid The ID of the destination server group to which requests are forwarded.
- weight int
The Weight of server group. Default value:
100
. NOTE: This attribute is required when the number ofserver_group_tuples
is greater than 2.
- server
Group StringId The ID of the destination server group to which requests are forwarded.
- weight Number
The Weight of server group. Default value:
100
. NOTE: This attribute is required when the number ofserver_group_tuples
is greater than 2.
RuleRuleActionInsertHeaderConfig
- Key string
The key of the header field. The key must be 1 to 40 characters in length, and can contain letters, digits, hyphens (-) and underscores (_). The key does not support Cookie or Host.
- Value string
The value must be 1 to 128 characters in length, and can contain lowercase letters, printable characters, asterisks (*), and question marks (?). The value cannot contain spaces or the following special characters: # [ ] { } \ | < > &.
- Value
Type string Valid values: UserDefined: a custom value ReferenceHeader: uses a field of the user request header. SystemDefined: a system value.
- Key string
The key of the header field. The key must be 1 to 40 characters in length, and can contain letters, digits, hyphens (-) and underscores (_). The key does not support Cookie or Host.
- Value string
The value must be 1 to 128 characters in length, and can contain lowercase letters, printable characters, asterisks (*), and question marks (?). The value cannot contain spaces or the following special characters: # [ ] { } \ | < > &.
- Value
Type string Valid values: UserDefined: a custom value ReferenceHeader: uses a field of the user request header. SystemDefined: a system value.
- key String
The key of the header field. The key must be 1 to 40 characters in length, and can contain letters, digits, hyphens (-) and underscores (_). The key does not support Cookie or Host.
- value String
The value must be 1 to 128 characters in length, and can contain lowercase letters, printable characters, asterisks (*), and question marks (?). The value cannot contain spaces or the following special characters: # [ ] { } \ | < > &.
- value
Type String Valid values: UserDefined: a custom value ReferenceHeader: uses a field of the user request header. SystemDefined: a system value.
- key string
The key of the header field. The key must be 1 to 40 characters in length, and can contain letters, digits, hyphens (-) and underscores (_). The key does not support Cookie or Host.
- value string
The value must be 1 to 128 characters in length, and can contain lowercase letters, printable characters, asterisks (*), and question marks (?). The value cannot contain spaces or the following special characters: # [ ] { } \ | < > &.
- value
Type string Valid values: UserDefined: a custom value ReferenceHeader: uses a field of the user request header. SystemDefined: a system value.
- key str
The key of the header field. The key must be 1 to 40 characters in length, and can contain letters, digits, hyphens (-) and underscores (_). The key does not support Cookie or Host.
- value str
The value must be 1 to 128 characters in length, and can contain lowercase letters, printable characters, asterisks (*), and question marks (?). The value cannot contain spaces or the following special characters: # [ ] { } \ | < > &.
- value_
type str Valid values: UserDefined: a custom value ReferenceHeader: uses a field of the user request header. SystemDefined: a system value.
- key String
The key of the header field. The key must be 1 to 40 characters in length, and can contain letters, digits, hyphens (-) and underscores (_). The key does not support Cookie or Host.
- value String
The value must be 1 to 128 characters in length, and can contain lowercase letters, printable characters, asterisks (*), and question marks (?). The value cannot contain spaces or the following special characters: # [ ] { } \ | < > &.
- value
Type String Valid values: UserDefined: a custom value ReferenceHeader: uses a field of the user request header. SystemDefined: a system value.
RuleRuleActionRedirectConfig
- Host string
The host name of the destination to which requests are redirected within ALB. Valid values: The host name must be 3 to 128 characters in length, and can contain letters, digits, hyphens (-), periods (.), asterisks (), and question marks (?). The host name must contain at least one period (.), and cannot start or end with a period (.). The rightmost domain label can contain only letters, asterisks () and question marks (?) and cannot contain digits or hyphens (-). Other domain labels cannot start or end with a hyphen (-). You can include asterisks (*) and question marks (?) anywhere in a domain label. Default value: ${host}. You cannot use this value with other characters at the same time.
- Http
Code string The redirect method. Valid values:301, 302, 303, 307, and 308.
- Path string
The path to which requests are to be redirected within ALB. Valid values: The path must be 1 to 128 characters in length, and start with a forward slash (/). The path can contain letters, digits, asterisks (*), question marks (?)and the following special characters: $ - _ . + / & ~ @ :. It cannot contain the following special characters: " % # ; ! ( ) [ ] ^ , ”. The path is case-sensitive. Default value: ${path}. This value can be used only once. You can use it with a valid string.
- Port string
The port of the destination to which requests are redirected. Valid values: 1 to 63335. Default value: ${port}. You cannot use this value together with other characters at the same time.
- Protocol string
The protocol of the requests to be redirected. Valid values: HTTP and HTTPS. Default value: ${protocol}. You cannot use this value together with other characters at the same time. Note HTTPS listeners can redirect only HTTPS requests.
- Query string
The query string of the request to be redirected within ALB. The query string must be 1 to 128 characters in length, can contain letters and printable characters. It cannot contain the following special characters: # [ ] { } \ | < > &. Default value: ${query}. This value can be used only once. You can use it with a valid string.
- Host string
The host name of the destination to which requests are redirected within ALB. Valid values: The host name must be 3 to 128 characters in length, and can contain letters, digits, hyphens (-), periods (.), asterisks (), and question marks (?). The host name must contain at least one period (.), and cannot start or end with a period (.). The rightmost domain label can contain only letters, asterisks () and question marks (?) and cannot contain digits or hyphens (-). Other domain labels cannot start or end with a hyphen (-). You can include asterisks (*) and question marks (?) anywhere in a domain label. Default value: ${host}. You cannot use this value with other characters at the same time.
- Http
Code string The redirect method. Valid values:301, 302, 303, 307, and 308.
- Path string
The path to which requests are to be redirected within ALB. Valid values: The path must be 1 to 128 characters in length, and start with a forward slash (/). The path can contain letters, digits, asterisks (*), question marks (?)and the following special characters: $ - _ . + / & ~ @ :. It cannot contain the following special characters: " % # ; ! ( ) [ ] ^ , ”. The path is case-sensitive. Default value: ${path}. This value can be used only once. You can use it with a valid string.
- Port string
The port of the destination to which requests are redirected. Valid values: 1 to 63335. Default value: ${port}. You cannot use this value together with other characters at the same time.
- Protocol string
The protocol of the requests to be redirected. Valid values: HTTP and HTTPS. Default value: ${protocol}. You cannot use this value together with other characters at the same time. Note HTTPS listeners can redirect only HTTPS requests.
- Query string
The query string of the request to be redirected within ALB. The query string must be 1 to 128 characters in length, can contain letters and printable characters. It cannot contain the following special characters: # [ ] { } \ | < > &. Default value: ${query}. This value can be used only once. You can use it with a valid string.
- host String
The host name of the destination to which requests are redirected within ALB. Valid values: The host name must be 3 to 128 characters in length, and can contain letters, digits, hyphens (-), periods (.), asterisks (), and question marks (?). The host name must contain at least one period (.), and cannot start or end with a period (.). The rightmost domain label can contain only letters, asterisks () and question marks (?) and cannot contain digits or hyphens (-). Other domain labels cannot start or end with a hyphen (-). You can include asterisks (*) and question marks (?) anywhere in a domain label. Default value: ${host}. You cannot use this value with other characters at the same time.
- http
Code String The redirect method. Valid values:301, 302, 303, 307, and 308.
- path String
The path to which requests are to be redirected within ALB. Valid values: The path must be 1 to 128 characters in length, and start with a forward slash (/). The path can contain letters, digits, asterisks (*), question marks (?)and the following special characters: $ - _ . + / & ~ @ :. It cannot contain the following special characters: " % # ; ! ( ) [ ] ^ , ”. The path is case-sensitive. Default value: ${path}. This value can be used only once. You can use it with a valid string.
- port String
The port of the destination to which requests are redirected. Valid values: 1 to 63335. Default value: ${port}. You cannot use this value together with other characters at the same time.
- protocol String
The protocol of the requests to be redirected. Valid values: HTTP and HTTPS. Default value: ${protocol}. You cannot use this value together with other characters at the same time. Note HTTPS listeners can redirect only HTTPS requests.
- query String
The query string of the request to be redirected within ALB. The query string must be 1 to 128 characters in length, can contain letters and printable characters. It cannot contain the following special characters: # [ ] { } \ | < > &. Default value: ${query}. This value can be used only once. You can use it with a valid string.
- host string
The host name of the destination to which requests are redirected within ALB. Valid values: The host name must be 3 to 128 characters in length, and can contain letters, digits, hyphens (-), periods (.), asterisks (), and question marks (?). The host name must contain at least one period (.), and cannot start or end with a period (.). The rightmost domain label can contain only letters, asterisks () and question marks (?) and cannot contain digits or hyphens (-). Other domain labels cannot start or end with a hyphen (-). You can include asterisks (*) and question marks (?) anywhere in a domain label. Default value: ${host}. You cannot use this value with other characters at the same time.
- http
Code string The redirect method. Valid values:301, 302, 303, 307, and 308.
- path string
The path to which requests are to be redirected within ALB. Valid values: The path must be 1 to 128 characters in length, and start with a forward slash (/). The path can contain letters, digits, asterisks (*), question marks (?)and the following special characters: $ - _ . + / & ~ @ :. It cannot contain the following special characters: " % # ; ! ( ) [ ] ^ , ”. The path is case-sensitive. Default value: ${path}. This value can be used only once. You can use it with a valid string.
- port string
The port of the destination to which requests are redirected. Valid values: 1 to 63335. Default value: ${port}. You cannot use this value together with other characters at the same time.
- protocol string
The protocol of the requests to be redirected. Valid values: HTTP and HTTPS. Default value: ${protocol}. You cannot use this value together with other characters at the same time. Note HTTPS listeners can redirect only HTTPS requests.
- query string
The query string of the request to be redirected within ALB. The query string must be 1 to 128 characters in length, can contain letters and printable characters. It cannot contain the following special characters: # [ ] { } \ | < > &. Default value: ${query}. This value can be used only once. You can use it with a valid string.
- host str
The host name of the destination to which requests are redirected within ALB. Valid values: The host name must be 3 to 128 characters in length, and can contain letters, digits, hyphens (-), periods (.), asterisks (), and question marks (?). The host name must contain at least one period (.), and cannot start or end with a period (.). The rightmost domain label can contain only letters, asterisks () and question marks (?) and cannot contain digits or hyphens (-). Other domain labels cannot start or end with a hyphen (-). You can include asterisks (*) and question marks (?) anywhere in a domain label. Default value: ${host}. You cannot use this value with other characters at the same time.
- http_
code str The redirect method. Valid values:301, 302, 303, 307, and 308.
- path str
The path to which requests are to be redirected within ALB. Valid values: The path must be 1 to 128 characters in length, and start with a forward slash (/). The path can contain letters, digits, asterisks (*), question marks (?)and the following special characters: $ - _ . + / & ~ @ :. It cannot contain the following special characters: " % # ; ! ( ) [ ] ^ , ”. The path is case-sensitive. Default value: ${path}. This value can be used only once. You can use it with a valid string.
- port str
The port of the destination to which requests are redirected. Valid values: 1 to 63335. Default value: ${port}. You cannot use this value together with other characters at the same time.
- protocol str
The protocol of the requests to be redirected. Valid values: HTTP and HTTPS. Default value: ${protocol}. You cannot use this value together with other characters at the same time. Note HTTPS listeners can redirect only HTTPS requests.
- query str
The query string of the request to be redirected within ALB. The query string must be 1 to 128 characters in length, can contain letters and printable characters. It cannot contain the following special characters: # [ ] { } \ | < > &. Default value: ${query}. This value can be used only once. You can use it with a valid string.
- host String
The host name of the destination to which requests are redirected within ALB. Valid values: The host name must be 3 to 128 characters in length, and can contain letters, digits, hyphens (-), periods (.), asterisks (), and question marks (?). The host name must contain at least one period (.), and cannot start or end with a period (.). The rightmost domain label can contain only letters, asterisks () and question marks (?) and cannot contain digits or hyphens (-). Other domain labels cannot start or end with a hyphen (-). You can include asterisks (*) and question marks (?) anywhere in a domain label. Default value: ${host}. You cannot use this value with other characters at the same time.
- http
Code String The redirect method. Valid values:301, 302, 303, 307, and 308.
- path String
The path to which requests are to be redirected within ALB. Valid values: The path must be 1 to 128 characters in length, and start with a forward slash (/). The path can contain letters, digits, asterisks (*), question marks (?)and the following special characters: $ - _ . + / & ~ @ :. It cannot contain the following special characters: " % # ; ! ( ) [ ] ^ , ”. The path is case-sensitive. Default value: ${path}. This value can be used only once. You can use it with a valid string.
- port String
The port of the destination to which requests are redirected. Valid values: 1 to 63335. Default value: ${port}. You cannot use this value together with other characters at the same time.
- protocol String
The protocol of the requests to be redirected. Valid values: HTTP and HTTPS. Default value: ${protocol}. You cannot use this value together with other characters at the same time. Note HTTPS listeners can redirect only HTTPS requests.
- query String
The query string of the request to be redirected within ALB. The query string must be 1 to 128 characters in length, can contain letters and printable characters. It cannot contain the following special characters: # [ ] { } \ | < > &. Default value: ${query}. This value can be used only once. You can use it with a valid string.
RuleRuleActionRewriteConfig
- Host string
The host name of the destination to which requests are redirected within ALB. Valid values: The host name must be 3 to 128 characters in length, and can contain letters, digits, hyphens (-), periods (.), asterisks (), and question marks (?). The host name must contain at least one period (.), and cannot start or end with a period (.). The rightmost domain label can contain only letters, asterisks () and question marks (?) and cannot contain digits or hyphens (-). Other domain labels cannot start or end with a hyphen (-). You can include asterisks (*) and question marks (?) anywhere in a domain label. Default value: ${host}. You cannot use this value with other characters at the same time.
- Path string
The path to which requests are to be redirected within ALB. Valid values: The path must be 1 to 128 characters in length, and start with a forward slash (/). The path can contain letters, digits, asterisks (*), question marks (?)and the following special characters: $ - _ . + / & ~ @ :. It cannot contain the following special characters: " % # ; ! ( ) [ ] ^ , ”. The path is case-sensitive. Default value: ${path}. This value can be used only once. You can use it with a valid string.
- Query string
The query string of the request to be redirected within ALB. The query string must be 1 to 128 characters in length, can contain letters and printable characters. It cannot contain the following special characters: # [ ] { } \ | < > &. Default value: ${query}. This value can be used only once. You can use it with a valid string.
- Host string
The host name of the destination to which requests are redirected within ALB. Valid values: The host name must be 3 to 128 characters in length, and can contain letters, digits, hyphens (-), periods (.), asterisks (), and question marks (?). The host name must contain at least one period (.), and cannot start or end with a period (.). The rightmost domain label can contain only letters, asterisks () and question marks (?) and cannot contain digits or hyphens (-). Other domain labels cannot start or end with a hyphen (-). You can include asterisks (*) and question marks (?) anywhere in a domain label. Default value: ${host}. You cannot use this value with other characters at the same time.
- Path string
The path to which requests are to be redirected within ALB. Valid values: The path must be 1 to 128 characters in length, and start with a forward slash (/). The path can contain letters, digits, asterisks (*), question marks (?)and the following special characters: $ - _ . + / & ~ @ :. It cannot contain the following special characters: " % # ; ! ( ) [ ] ^ , ”. The path is case-sensitive. Default value: ${path}. This value can be used only once. You can use it with a valid string.
- Query string
The query string of the request to be redirected within ALB. The query string must be 1 to 128 characters in length, can contain letters and printable characters. It cannot contain the following special characters: # [ ] { } \ | < > &. Default value: ${query}. This value can be used only once. You can use it with a valid string.
- host String
The host name of the destination to which requests are redirected within ALB. Valid values: The host name must be 3 to 128 characters in length, and can contain letters, digits, hyphens (-), periods (.), asterisks (), and question marks (?). The host name must contain at least one period (.), and cannot start or end with a period (.). The rightmost domain label can contain only letters, asterisks () and question marks (?) and cannot contain digits or hyphens (-). Other domain labels cannot start or end with a hyphen (-). You can include asterisks (*) and question marks (?) anywhere in a domain label. Default value: ${host}. You cannot use this value with other characters at the same time.
- path String
The path to which requests are to be redirected within ALB. Valid values: The path must be 1 to 128 characters in length, and start with a forward slash (/). The path can contain letters, digits, asterisks (*), question marks (?)and the following special characters: $ - _ . + / & ~ @ :. It cannot contain the following special characters: " % # ; ! ( ) [ ] ^ , ”. The path is case-sensitive. Default value: ${path}. This value can be used only once. You can use it with a valid string.
- query String
The query string of the request to be redirected within ALB. The query string must be 1 to 128 characters in length, can contain letters and printable characters. It cannot contain the following special characters: # [ ] { } \ | < > &. Default value: ${query}. This value can be used only once. You can use it with a valid string.
- host string
The host name of the destination to which requests are redirected within ALB. Valid values: The host name must be 3 to 128 characters in length, and can contain letters, digits, hyphens (-), periods (.), asterisks (), and question marks (?). The host name must contain at least one period (.), and cannot start or end with a period (.). The rightmost domain label can contain only letters, asterisks () and question marks (?) and cannot contain digits or hyphens (-). Other domain labels cannot start or end with a hyphen (-). You can include asterisks (*) and question marks (?) anywhere in a domain label. Default value: ${host}. You cannot use this value with other characters at the same time.
- path string
The path to which requests are to be redirected within ALB. Valid values: The path must be 1 to 128 characters in length, and start with a forward slash (/). The path can contain letters, digits, asterisks (*), question marks (?)and the following special characters: $ - _ . + / & ~ @ :. It cannot contain the following special characters: " % # ; ! ( ) [ ] ^ , ”. The path is case-sensitive. Default value: ${path}. This value can be used only once. You can use it with a valid string.
- query string
The query string of the request to be redirected within ALB. The query string must be 1 to 128 characters in length, can contain letters and printable characters. It cannot contain the following special characters: # [ ] { } \ | < > &. Default value: ${query}. This value can be used only once. You can use it with a valid string.
- host str
The host name of the destination to which requests are redirected within ALB. Valid values: The host name must be 3 to 128 characters in length, and can contain letters, digits, hyphens (-), periods (.), asterisks (), and question marks (?). The host name must contain at least one period (.), and cannot start or end with a period (.). The rightmost domain label can contain only letters, asterisks () and question marks (?) and cannot contain digits or hyphens (-). Other domain labels cannot start or end with a hyphen (-). You can include asterisks (*) and question marks (?) anywhere in a domain label. Default value: ${host}. You cannot use this value with other characters at the same time.
- path str
The path to which requests are to be redirected within ALB. Valid values: The path must be 1 to 128 characters in length, and start with a forward slash (/). The path can contain letters, digits, asterisks (*), question marks (?)and the following special characters: $ - _ . + / & ~ @ :. It cannot contain the following special characters: " % # ; ! ( ) [ ] ^ , ”. The path is case-sensitive. Default value: ${path}. This value can be used only once. You can use it with a valid string.
- query str
The query string of the request to be redirected within ALB. The query string must be 1 to 128 characters in length, can contain letters and printable characters. It cannot contain the following special characters: # [ ] { } \ | < > &. Default value: ${query}. This value can be used only once. You can use it with a valid string.
- host String
The host name of the destination to which requests are redirected within ALB. Valid values: The host name must be 3 to 128 characters in length, and can contain letters, digits, hyphens (-), periods (.), asterisks (), and question marks (?). The host name must contain at least one period (.), and cannot start or end with a period (.). The rightmost domain label can contain only letters, asterisks () and question marks (?) and cannot contain digits or hyphens (-). Other domain labels cannot start or end with a hyphen (-). You can include asterisks (*) and question marks (?) anywhere in a domain label. Default value: ${host}. You cannot use this value with other characters at the same time.
- path String
The path to which requests are to be redirected within ALB. Valid values: The path must be 1 to 128 characters in length, and start with a forward slash (/). The path can contain letters, digits, asterisks (*), question marks (?)and the following special characters: $ - _ . + / & ~ @ :. It cannot contain the following special characters: " % # ; ! ( ) [ ] ^ , ”. The path is case-sensitive. Default value: ${path}. This value can be used only once. You can use it with a valid string.
- query String
The query string of the request to be redirected within ALB. The query string must be 1 to 128 characters in length, can contain letters and printable characters. It cannot contain the following special characters: # [ ] { } \ | < > &. Default value: ${query}. This value can be used only once. You can use it with a valid string.
RuleRuleActionTrafficLimitConfig
- Qps int
The Number of requests per second. Value range: 1~100000.
- Qps int
The Number of requests per second. Value range: 1~100000.
- qps Integer
The Number of requests per second. Value range: 1~100000.
- qps number
The Number of requests per second. Value range: 1~100000.
- qps int
The Number of requests per second. Value range: 1~100000.
- qps Number
The Number of requests per second. Value range: 1~100000.
RuleRuleActionTrafficMirrorConfig
- Mirror
Group Pulumi.Config Ali Cloud. Alb. Inputs. Rule Rule Action Traffic Mirror Config Mirror Group Config The Traffic is mirrored to the server group. See the following
Block mirror_group_config
.- Target
Type string The Mirror target type.
- Mirror
Group RuleConfig Rule Action Traffic Mirror Config Mirror Group Config The Traffic is mirrored to the server group. See the following
Block mirror_group_config
.- Target
Type string The Mirror target type.
- mirror
Group RuleConfig Rule Action Traffic Mirror Config Mirror Group Config The Traffic is mirrored to the server group. See the following
Block mirror_group_config
.- target
Type String The Mirror target type.
- mirror
Group RuleConfig Rule Action Traffic Mirror Config Mirror Group Config The Traffic is mirrored to the server group. See the following
Block mirror_group_config
.- target
Type string The Mirror target type.
- mirror_
group_ Ruleconfig Rule Action Traffic Mirror Config Mirror Group Config The Traffic is mirrored to the server group. See the following
Block mirror_group_config
.- target_
type str The Mirror target type.
- mirror
Group Property MapConfig The Traffic is mirrored to the server group. See the following
Block mirror_group_config
.- target
Type String The Mirror target type.
RuleRuleActionTrafficMirrorConfigMirrorGroupConfig
- Server
Group List<Pulumi.Tuples Ali Cloud. Alb. Inputs. Rule Rule Action Traffic Mirror Config Mirror Group Config Server Group Tuple> The destination server group to which requests are forwarded.
- Server
Group []RuleTuples Rule Action Traffic Mirror Config Mirror Group Config Server Group Tuple The destination server group to which requests are forwarded.
- server
Group List<RuleTuples Rule Action Traffic Mirror Config Mirror Group Config Server Group Tuple> The destination server group to which requests are forwarded.
- server
Group RuleTuples Rule Action Traffic Mirror Config Mirror Group Config Server Group Tuple[] The destination server group to which requests are forwarded.
- server_
group_ Sequence[Ruletuples Rule Action Traffic Mirror Config Mirror Group Config Server Group Tuple] The destination server group to which requests are forwarded.
- server
Group List<Property Map>Tuples The destination server group to which requests are forwarded.
RuleRuleActionTrafficMirrorConfigMirrorGroupConfigServerGroupTuple
- Server
Group stringId The ID of the destination server group to which requests are forwarded.
- Server
Group stringId The ID of the destination server group to which requests are forwarded.
- server
Group StringId The ID of the destination server group to which requests are forwarded.
- server
Group stringId The ID of the destination server group to which requests are forwarded.
- server_
group_ strid The ID of the destination server group to which requests are forwarded.
- server
Group StringId The ID of the destination server group to which requests are forwarded.
RuleRuleCondition
- Type string
The type of the forwarding rule. Valid values:
Header
,Host
,Path
,Cookie
,QueryString
,Method
andSourceIp
. Note: The preceding actions can be classified into two types:FinalType
: A forwarding rule can contain only oneFinalType
action, which is executed last. This type of action can contain only oneForwardGroup
,Redirect
orFixedResponse
action.ExtType
: A forwarding rule can contain one or moreExtType
actions, which are executed beforeFinalType
actions and need to coexist with theFinalType
actions. This type of action can contain multipleInsertHeader
actions or oneRewrite
action. NOTE: TheTrafficLimit
andTrafficMirror
option is available in 1.162.0+. NOTE: From version 1.205.0+,type
can be set toCors
.- Pulumi.
Ali Cloud. Alb. Inputs. Rule Rule Condition Cookie Config The configuration of the cookie. See the following
Block cookie_config
.- Header
Config Pulumi.Ali Cloud. Alb. Inputs. Rule Rule Condition Header Config The configuration of the header field. See the following
Block header_config
.- Host
Config Pulumi.Ali Cloud. Alb. Inputs. Rule Rule Condition Host Config The configuration of the host field. See the following
Block host_config
.- Method
Config Pulumi.Ali Cloud. Alb. Inputs. Rule Rule Condition Method Config The configuration of the request method. See the following
Block method_config
.- Path
Config Pulumi.Ali Cloud. Alb. Inputs. Rule Rule Condition Path Config The configuration of the path for the request to be forwarded. See the following
Block path_config
.- Query
String Pulumi.Config Ali Cloud. Alb. Inputs. Rule Rule Condition Query String Config The configuration of the query string. See the following
Block query_string_config
.- Source
Ip Pulumi.Config Ali Cloud. Alb. Inputs. Rule Rule Condition Source Ip Config The Based on source IP traffic matching. Required and valid when Type is SourceIP. See the following
Block source_ip_config
.
- Type string
The type of the forwarding rule. Valid values:
Header
,Host
,Path
,Cookie
,QueryString
,Method
andSourceIp
. Note: The preceding actions can be classified into two types:FinalType
: A forwarding rule can contain only oneFinalType
action, which is executed last. This type of action can contain only oneForwardGroup
,Redirect
orFixedResponse
action.ExtType
: A forwarding rule can contain one or moreExtType
actions, which are executed beforeFinalType
actions and need to coexist with theFinalType
actions. This type of action can contain multipleInsertHeader
actions or oneRewrite
action. NOTE: TheTrafficLimit
andTrafficMirror
option is available in 1.162.0+. NOTE: From version 1.205.0+,type
can be set toCors
.- Rule
Rule Condition Cookie Config The configuration of the cookie. See the following
Block cookie_config
.- Header
Config RuleRule Condition Header Config The configuration of the header field. See the following
Block header_config
.- Host
Config RuleRule Condition Host Config The configuration of the host field. See the following
Block host_config
.- Method
Config RuleRule Condition Method Config The configuration of the request method. See the following
Block method_config
.- Path
Config RuleRule Condition Path Config The configuration of the path for the request to be forwarded. See the following
Block path_config
.- Query
String RuleConfig Rule Condition Query String Config The configuration of the query string. See the following
Block query_string_config
.- Source
Ip RuleConfig Rule Condition Source Ip Config The Based on source IP traffic matching. Required and valid when Type is SourceIP. See the following
Block source_ip_config
.
- type String
The type of the forwarding rule. Valid values:
Header
,Host
,Path
,Cookie
,QueryString
,Method
andSourceIp
. Note: The preceding actions can be classified into two types:FinalType
: A forwarding rule can contain only oneFinalType
action, which is executed last. This type of action can contain only oneForwardGroup
,Redirect
orFixedResponse
action.ExtType
: A forwarding rule can contain one or moreExtType
actions, which are executed beforeFinalType
actions and need to coexist with theFinalType
actions. This type of action can contain multipleInsertHeader
actions or oneRewrite
action. NOTE: TheTrafficLimit
andTrafficMirror
option is available in 1.162.0+. NOTE: From version 1.205.0+,type
can be set toCors
.- Rule
Rule Condition Cookie Config The configuration of the cookie. See the following
Block cookie_config
.- header
Config RuleRule Condition Header Config The configuration of the header field. See the following
Block header_config
.- host
Config RuleRule Condition Host Config The configuration of the host field. See the following
Block host_config
.- method
Config RuleRule Condition Method Config The configuration of the request method. See the following
Block method_config
.- path
Config RuleRule Condition Path Config The configuration of the path for the request to be forwarded. See the following
Block path_config
.- query
String RuleConfig Rule Condition Query String Config The configuration of the query string. See the following
Block query_string_config
.- source
Ip RuleConfig Rule Condition Source Ip Config The Based on source IP traffic matching. Required and valid when Type is SourceIP. See the following
Block source_ip_config
.
- type string
The type of the forwarding rule. Valid values:
Header
,Host
,Path
,Cookie
,QueryString
,Method
andSourceIp
. Note: The preceding actions can be classified into two types:FinalType
: A forwarding rule can contain only oneFinalType
action, which is executed last. This type of action can contain only oneForwardGroup
,Redirect
orFixedResponse
action.ExtType
: A forwarding rule can contain one or moreExtType
actions, which are executed beforeFinalType
actions and need to coexist with theFinalType
actions. This type of action can contain multipleInsertHeader
actions or oneRewrite
action. NOTE: TheTrafficLimit
andTrafficMirror
option is available in 1.162.0+. NOTE: From version 1.205.0+,type
can be set toCors
.- Rule
Rule Condition Cookie Config The configuration of the cookie. See the following
Block cookie_config
.- header
Config RuleRule Condition Header Config The configuration of the header field. See the following
Block header_config
.- host
Config RuleRule Condition Host Config The configuration of the host field. See the following
Block host_config
.- method
Config RuleRule Condition Method Config The configuration of the request method. See the following
Block method_config
.- path
Config RuleRule Condition Path Config The configuration of the path for the request to be forwarded. See the following
Block path_config
.- query
String RuleConfig Rule Condition Query String Config The configuration of the query string. See the following
Block query_string_config
.- source
Ip RuleConfig Rule Condition Source Ip Config The Based on source IP traffic matching. Required and valid when Type is SourceIP. See the following
Block source_ip_config
.
- type str
The type of the forwarding rule. Valid values:
Header
,Host
,Path
,Cookie
,QueryString
,Method
andSourceIp
. Note: The preceding actions can be classified into two types:FinalType
: A forwarding rule can contain only oneFinalType
action, which is executed last. This type of action can contain only oneForwardGroup
,Redirect
orFixedResponse
action.ExtType
: A forwarding rule can contain one or moreExtType
actions, which are executed beforeFinalType
actions and need to coexist with theFinalType
actions. This type of action can contain multipleInsertHeader
actions or oneRewrite
action. NOTE: TheTrafficLimit
andTrafficMirror
option is available in 1.162.0+. NOTE: From version 1.205.0+,type
can be set toCors
.- Rule
Rule Condition Cookie Config The configuration of the cookie. See the following
Block cookie_config
.- header_
config RuleRule Condition Header Config The configuration of the header field. See the following
Block header_config
.- host_
config RuleRule Condition Host Config The configuration of the host field. See the following
Block host_config
.- method_
config RuleRule Condition Method Config The configuration of the request method. See the following
Block method_config
.- path_
config RuleRule Condition Path Config The configuration of the path for the request to be forwarded. See the following
Block path_config
.- query_
string_ Ruleconfig Rule Condition Query String Config The configuration of the query string. See the following
Block query_string_config
.- source_
ip_ Ruleconfig Rule Condition Source Ip Config The Based on source IP traffic matching. Required and valid when Type is SourceIP. See the following
Block source_ip_config
.
- type String
The type of the forwarding rule. Valid values:
Header
,Host
,Path
,Cookie
,QueryString
,Method
andSourceIp
. Note: The preceding actions can be classified into two types:FinalType
: A forwarding rule can contain only oneFinalType
action, which is executed last. This type of action can contain only oneForwardGroup
,Redirect
orFixedResponse
action.ExtType
: A forwarding rule can contain one or moreExtType
actions, which are executed beforeFinalType
actions and need to coexist with theFinalType
actions. This type of action can contain multipleInsertHeader
actions or oneRewrite
action. NOTE: TheTrafficLimit
andTrafficMirror
option is available in 1.162.0+. NOTE: From version 1.205.0+,type
can be set toCors
.- Property Map
The configuration of the cookie. See the following
Block cookie_config
.- header
Config Property Map The configuration of the header field. See the following
Block header_config
.- host
Config Property Map The configuration of the host field. See the following
Block host_config
.- method
Config Property Map The configuration of the request method. See the following
Block method_config
.- path
Config Property Map The configuration of the path for the request to be forwarded. See the following
Block path_config
.- query
String Property MapConfig The configuration of the query string. See the following
Block query_string_config
.- source
Ip Property MapConfig The Based on source IP traffic matching. Required and valid when Type is SourceIP. See the following
Block source_ip_config
.
RuleRuleConditionCookieConfig
- Values
List<Pulumi.
Ali Cloud. Alb. Inputs. Rule Rule Condition Cookie Config Value> The value of the header field. The value must be 1 to 128 characters in length, and can contain lowercase letters, printable ASCII characters whose values are ch >= 32 && ch < 127, asterisks (*), and question marks (?). The value cannot start or end with a space.
- Values
[]Rule
Rule Condition Cookie Config Value The value of the header field. The value must be 1 to 128 characters in length, and can contain lowercase letters, printable ASCII characters whose values are ch >= 32 && ch < 127, asterisks (*), and question marks (?). The value cannot start or end with a space.
- values
List<Rule
Rule Condition Cookie Config Value> The value of the header field. The value must be 1 to 128 characters in length, and can contain lowercase letters, printable ASCII characters whose values are ch >= 32 && ch < 127, asterisks (*), and question marks (?). The value cannot start or end with a space.
- values
Rule
Rule Condition Cookie Config Value[] The value of the header field. The value must be 1 to 128 characters in length, and can contain lowercase letters, printable ASCII characters whose values are ch >= 32 && ch < 127, asterisks (*), and question marks (?). The value cannot start or end with a space.
- values
Sequence[Rule
Rule Condition Cookie Config Value] The value of the header field. The value must be 1 to 128 characters in length, and can contain lowercase letters, printable ASCII characters whose values are ch >= 32 && ch < 127, asterisks (*), and question marks (?). The value cannot start or end with a space.
- values List<Property Map>
The value of the header field. The value must be 1 to 128 characters in length, and can contain lowercase letters, printable ASCII characters whose values are ch >= 32 && ch < 127, asterisks (*), and question marks (?). The value cannot start or end with a space.
RuleRuleConditionCookieConfigValue
- Key string
The key of the header field. The key must be 1 to 40 characters in length, and can contain letters, digits, hyphens (-) and underscores (_). The key does not support Cookie or Host.
- Value string
The value must be 1 to 128 characters in length, and can contain lowercase letters, printable characters, asterisks (*), and question marks (?). The value cannot contain spaces or the following special characters: # [ ] { } \ | < > &.
- Key string
The key of the header field. The key must be 1 to 40 characters in length, and can contain letters, digits, hyphens (-) and underscores (_). The key does not support Cookie or Host.
- Value string
The value must be 1 to 128 characters in length, and can contain lowercase letters, printable characters, asterisks (*), and question marks (?). The value cannot contain spaces or the following special characters: # [ ] { } \ | < > &.
- key String
The key of the header field. The key must be 1 to 40 characters in length, and can contain letters, digits, hyphens (-) and underscores (_). The key does not support Cookie or Host.
- value String
The value must be 1 to 128 characters in length, and can contain lowercase letters, printable characters, asterisks (*), and question marks (?). The value cannot contain spaces or the following special characters: # [ ] { } \ | < > &.
- key string
The key of the header field. The key must be 1 to 40 characters in length, and can contain letters, digits, hyphens (-) and underscores (_). The key does not support Cookie or Host.
- value string
The value must be 1 to 128 characters in length, and can contain lowercase letters, printable characters, asterisks (*), and question marks (?). The value cannot contain spaces or the following special characters: # [ ] { } \ | < > &.
- key str
The key of the header field. The key must be 1 to 40 characters in length, and can contain letters, digits, hyphens (-) and underscores (_). The key does not support Cookie or Host.
- value str
The value must be 1 to 128 characters in length, and can contain lowercase letters, printable characters, asterisks (*), and question marks (?). The value cannot contain spaces or the following special characters: # [ ] { } \ | < > &.
- key String
The key of the header field. The key must be 1 to 40 characters in length, and can contain letters, digits, hyphens (-) and underscores (_). The key does not support Cookie or Host.
- value String
The value must be 1 to 128 characters in length, and can contain lowercase letters, printable characters, asterisks (*), and question marks (?). The value cannot contain spaces or the following special characters: # [ ] { } \ | < > &.
RuleRuleConditionHeaderConfig
- Key string
The key of the header field. The key must be 1 to 40 characters in length, and can contain letters, digits, hyphens (-) and underscores (_). The key does not support Cookie or Host.
- Values List<string>
The value of the header field. The value must be 1 to 128 characters in length, and can contain lowercase letters, printable ASCII characters whose values are ch >= 32 && ch < 127, asterisks (*), and question marks (?). The value cannot start or end with a space.
- Key string
The key of the header field. The key must be 1 to 40 characters in length, and can contain letters, digits, hyphens (-) and underscores (_). The key does not support Cookie or Host.
- Values []string
The value of the header field. The value must be 1 to 128 characters in length, and can contain lowercase letters, printable ASCII characters whose values are ch >= 32 && ch < 127, asterisks (*), and question marks (?). The value cannot start or end with a space.
- key String
The key of the header field. The key must be 1 to 40 characters in length, and can contain letters, digits, hyphens (-) and underscores (_). The key does not support Cookie or Host.
- values List<String>
The value of the header field. The value must be 1 to 128 characters in length, and can contain lowercase letters, printable ASCII characters whose values are ch >= 32 && ch < 127, asterisks (*), and question marks (?). The value cannot start or end with a space.
- key string
The key of the header field. The key must be 1 to 40 characters in length, and can contain letters, digits, hyphens (-) and underscores (_). The key does not support Cookie or Host.
- values string[]
The value of the header field. The value must be 1 to 128 characters in length, and can contain lowercase letters, printable ASCII characters whose values are ch >= 32 && ch < 127, asterisks (*), and question marks (?). The value cannot start or end with a space.
- key str
The key of the header field. The key must be 1 to 40 characters in length, and can contain letters, digits, hyphens (-) and underscores (_). The key does not support Cookie or Host.
- values Sequence[str]
The value of the header field. The value must be 1 to 128 characters in length, and can contain lowercase letters, printable ASCII characters whose values are ch >= 32 && ch < 127, asterisks (*), and question marks (?). The value cannot start or end with a space.
- key String
The key of the header field. The key must be 1 to 40 characters in length, and can contain letters, digits, hyphens (-) and underscores (_). The key does not support Cookie or Host.
- values List<String>
The value of the header field. The value must be 1 to 128 characters in length, and can contain lowercase letters, printable ASCII characters whose values are ch >= 32 && ch < 127, asterisks (*), and question marks (?). The value cannot start or end with a space.
RuleRuleConditionHostConfig
- Values List<string>
The value of the header field. The value must be 1 to 128 characters in length, and can contain lowercase letters, printable ASCII characters whose values are ch >= 32 && ch < 127, asterisks (*), and question marks (?). The value cannot start or end with a space.
- Values []string
The value of the header field. The value must be 1 to 128 characters in length, and can contain lowercase letters, printable ASCII characters whose values are ch >= 32 && ch < 127, asterisks (*), and question marks (?). The value cannot start or end with a space.
- values List<String>
The value of the header field. The value must be 1 to 128 characters in length, and can contain lowercase letters, printable ASCII characters whose values are ch >= 32 && ch < 127, asterisks (*), and question marks (?). The value cannot start or end with a space.
- values string[]
The value of the header field. The value must be 1 to 128 characters in length, and can contain lowercase letters, printable ASCII characters whose values are ch >= 32 && ch < 127, asterisks (*), and question marks (?). The value cannot start or end with a space.
- values Sequence[str]
The value of the header field. The value must be 1 to 128 characters in length, and can contain lowercase letters, printable ASCII characters whose values are ch >= 32 && ch < 127, asterisks (*), and question marks (?). The value cannot start or end with a space.
- values List<String>
The value of the header field. The value must be 1 to 128 characters in length, and can contain lowercase letters, printable ASCII characters whose values are ch >= 32 && ch < 127, asterisks (*), and question marks (?). The value cannot start or end with a space.
RuleRuleConditionMethodConfig
- Values List<string>
The value of the header field. The value must be 1 to 128 characters in length, and can contain lowercase letters, printable ASCII characters whose values are ch >= 32 && ch < 127, asterisks (*), and question marks (?). The value cannot start or end with a space.
- Values []string
The value of the header field. The value must be 1 to 128 characters in length, and can contain lowercase letters, printable ASCII characters whose values are ch >= 32 && ch < 127, asterisks (*), and question marks (?). The value cannot start or end with a space.
- values List<String>
The value of the header field. The value must be 1 to 128 characters in length, and can contain lowercase letters, printable ASCII characters whose values are ch >= 32 && ch < 127, asterisks (*), and question marks (?). The value cannot start or end with a space.
- values string[]
The value of the header field. The value must be 1 to 128 characters in length, and can contain lowercase letters, printable ASCII characters whose values are ch >= 32 && ch < 127, asterisks (*), and question marks (?). The value cannot start or end with a space.
- values Sequence[str]
The value of the header field. The value must be 1 to 128 characters in length, and can contain lowercase letters, printable ASCII characters whose values are ch >= 32 && ch < 127, asterisks (*), and question marks (?). The value cannot start or end with a space.
- values List<String>
The value of the header field. The value must be 1 to 128 characters in length, and can contain lowercase letters, printable ASCII characters whose values are ch >= 32 && ch < 127, asterisks (*), and question marks (?). The value cannot start or end with a space.
RuleRuleConditionPathConfig
- Values List<string>
The value of the header field. The value must be 1 to 128 characters in length, and can contain lowercase letters, printable ASCII characters whose values are ch >= 32 && ch < 127, asterisks (*), and question marks (?). The value cannot start or end with a space.
- Values []string
The value of the header field. The value must be 1 to 128 characters in length, and can contain lowercase letters, printable ASCII characters whose values are ch >= 32 && ch < 127, asterisks (*), and question marks (?). The value cannot start or end with a space.
- values List<String>
The value of the header field. The value must be 1 to 128 characters in length, and can contain lowercase letters, printable ASCII characters whose values are ch >= 32 && ch < 127, asterisks (*), and question marks (?). The value cannot start or end with a space.
- values string[]
The value of the header field. The value must be 1 to 128 characters in length, and can contain lowercase letters, printable ASCII characters whose values are ch >= 32 && ch < 127, asterisks (*), and question marks (?). The value cannot start or end with a space.
- values Sequence[str]
The value of the header field. The value must be 1 to 128 characters in length, and can contain lowercase letters, printable ASCII characters whose values are ch >= 32 && ch < 127, asterisks (*), and question marks (?). The value cannot start or end with a space.
- values List<String>
The value of the header field. The value must be 1 to 128 characters in length, and can contain lowercase letters, printable ASCII characters whose values are ch >= 32 && ch < 127, asterisks (*), and question marks (?). The value cannot start or end with a space.
RuleRuleConditionQueryStringConfig
- Values
List<Pulumi.
Ali Cloud. Alb. Inputs. Rule Rule Condition Query String Config Value> The value of the header field. The value must be 1 to 128 characters in length, and can contain lowercase letters, printable ASCII characters whose values are ch >= 32 && ch < 127, asterisks (*), and question marks (?). The value cannot start or end with a space.
- Values
[]Rule
Rule Condition Query String Config Value The value of the header field. The value must be 1 to 128 characters in length, and can contain lowercase letters, printable ASCII characters whose values are ch >= 32 && ch < 127, asterisks (*), and question marks (?). The value cannot start or end with a space.
- values
List<Rule
Rule Condition Query String Config Value> The value of the header field. The value must be 1 to 128 characters in length, and can contain lowercase letters, printable ASCII characters whose values are ch >= 32 && ch < 127, asterisks (*), and question marks (?). The value cannot start or end with a space.
- values
Rule
Rule Condition Query String Config Value[] The value of the header field. The value must be 1 to 128 characters in length, and can contain lowercase letters, printable ASCII characters whose values are ch >= 32 && ch < 127, asterisks (*), and question marks (?). The value cannot start or end with a space.
- values
Sequence[Rule
Rule Condition Query String Config Value] The value of the header field. The value must be 1 to 128 characters in length, and can contain lowercase letters, printable ASCII characters whose values are ch >= 32 && ch < 127, asterisks (*), and question marks (?). The value cannot start or end with a space.
- values List<Property Map>
The value of the header field. The value must be 1 to 128 characters in length, and can contain lowercase letters, printable ASCII characters whose values are ch >= 32 && ch < 127, asterisks (*), and question marks (?). The value cannot start or end with a space.
RuleRuleConditionQueryStringConfigValue
- Key string
The key of the header field. The key must be 1 to 40 characters in length, and can contain letters, digits, hyphens (-) and underscores (_). The key does not support Cookie or Host.
- Value string
The value must be 1 to 128 characters in length, and can contain lowercase letters, printable characters, asterisks (*), and question marks (?). The value cannot contain spaces or the following special characters: # [ ] { } \ | < > &.
- Key string
The key of the header field. The key must be 1 to 40 characters in length, and can contain letters, digits, hyphens (-) and underscores (_). The key does not support Cookie or Host.
- Value string
The value must be 1 to 128 characters in length, and can contain lowercase letters, printable characters, asterisks (*), and question marks (?). The value cannot contain spaces or the following special characters: # [ ] { } \ | < > &.
- key String
The key of the header field. The key must be 1 to 40 characters in length, and can contain letters, digits, hyphens (-) and underscores (_). The key does not support Cookie or Host.
- value String
The value must be 1 to 128 characters in length, and can contain lowercase letters, printable characters, asterisks (*), and question marks (?). The value cannot contain spaces or the following special characters: # [ ] { } \ | < > &.
- key string
The key of the header field. The key must be 1 to 40 characters in length, and can contain letters, digits, hyphens (-) and underscores (_). The key does not support Cookie or Host.
- value string
The value must be 1 to 128 characters in length, and can contain lowercase letters, printable characters, asterisks (*), and question marks (?). The value cannot contain spaces or the following special characters: # [ ] { } \ | < > &.
- key str
The key of the header field. The key must be 1 to 40 characters in length, and can contain letters, digits, hyphens (-) and underscores (_). The key does not support Cookie or Host.
- value str
The value must be 1 to 128 characters in length, and can contain lowercase letters, printable characters, asterisks (*), and question marks (?). The value cannot contain spaces or the following special characters: # [ ] { } \ | < > &.
- key String
The key of the header field. The key must be 1 to 40 characters in length, and can contain letters, digits, hyphens (-) and underscores (_). The key does not support Cookie or Host.
- value String
The value must be 1 to 128 characters in length, and can contain lowercase letters, printable characters, asterisks (*), and question marks (?). The value cannot contain spaces or the following special characters: # [ ] { } \ | < > &.
RuleRuleConditionSourceIpConfig
- Values List<string>
The value of the header field. The value must be 1 to 128 characters in length, and can contain lowercase letters, printable ASCII characters whose values are ch >= 32 && ch < 127, asterisks (*), and question marks (?). The value cannot start or end with a space.
- Values []string
The value of the header field. The value must be 1 to 128 characters in length, and can contain lowercase letters, printable ASCII characters whose values are ch >= 32 && ch < 127, asterisks (*), and question marks (?). The value cannot start or end with a space.
- values List<String>
The value of the header field. The value must be 1 to 128 characters in length, and can contain lowercase letters, printable ASCII characters whose values are ch >= 32 && ch < 127, asterisks (*), and question marks (?). The value cannot start or end with a space.
- values string[]
The value of the header field. The value must be 1 to 128 characters in length, and can contain lowercase letters, printable ASCII characters whose values are ch >= 32 && ch < 127, asterisks (*), and question marks (?). The value cannot start or end with a space.
- values Sequence[str]
The value of the header field. The value must be 1 to 128 characters in length, and can contain lowercase letters, printable ASCII characters whose values are ch >= 32 && ch < 127, asterisks (*), and question marks (?). The value cannot start or end with a space.
- values List<String>
The value of the header field. The value must be 1 to 128 characters in length, and can contain lowercase letters, printable ASCII characters whose values are ch >= 32 && ch < 127, asterisks (*), and question marks (?). The value cannot start or end with a space.
Import
Application Load Balancer (ALB) Rule can be imported using the id, e.g.
$ pulumi import alicloud:alb/rule:Rule example <id>
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
alicloud
Terraform Provider.