Creates a listener rule. Each listener has a default rule for checking connection requests, but you can define additional rules. Each rule consists of a priority, one or more actions, and one or more conditions.
action
(Attributes) (see below for nested schema)match
(Attributes) (see below for nested schema)priority
(Number)listener_identifier
(String)name
(String)service_identifier
(String)tags
(Attributes Set) (see below for nested schema)arn
(String)id
(String) Uniquely identifies the resource.rule_id
(String)action
Optional:
fixed_response
(Attributes) (see below for nested schema)forward
(Attributes) (see below for nested schema)action.fixed_response
Required:
status_code
(Number)action.forward
Required:
target_groups
(Attributes List) (see below for nested schema)action.forward.target_groups
Required:
target_group_identifier
(String)Optional:
weight
(Number)match
Required:
http_match
(Attributes) (see below for nested schema)match.http_match
Optional:
header_matches
(Attributes List) (see below for nested schema)method
(String)path_match
(Attributes) (see below for nested schema)match.http_match.header_matches
Required:
match
(Attributes) (see below for nested schema)name
(String)Optional:
case_sensitive
(Boolean)match.http_match.header_matches.match
Optional:
contains
(String)exact
(String)prefix
(String)match.http_match.path_match
Required:
match
(Attributes) (see below for nested schema)Optional:
case_sensitive
(Boolean)match.http_match.path_match.match
Optional:
exact
(String)prefix
(String)tags
Required:
key
(String)value
(String)Import is supported using the following syntax:
$ terraform import awscc_vpclattice_rule.example <resource ID>