LBListenerRule is the Schema for the LBListenerRules API. Provides a Load Balancer Listener Rule resource.
Type
CRD
Group
elbv2.aws.upbound.io
Version
v1beta1
apiVersion: elbv2.aws.upbound.io/v1beta1
kind: LBListenerRule
LBListenerRuleSpec defines the desired state of LBListenerRule
No description provided.
An Action block. Action blocks are documented below.
Information for creating an authenticate action using Cognito. Required if type is authenticate-cognito.
Reference to a UserPool in cognitoidp to populate userPoolArn.
Policies for referencing.
Selector for a UserPool in cognitoidp to populate userPoolArn.
Policies for selection.
Reference to a UserPoolClient in cognitoidp to populate userPoolClientId.
Policies for referencing.
Selector for a UserPoolClient in cognitoidp to populate userPoolClientId.
Policies for selection.
Reference to a UserPoolDomain in cognitoidp to populate userPoolDomain.
Policies for referencing.
Selector for a UserPoolDomain in cognitoidp to populate userPoolDomain.
Policies for selection.
Information for creating an authenticate action using OIDC. Required if type is authenticate-oidc.
Information for creating an action that returns a custom HTTP response. Required if type is fixed-response.
Information for creating an action that distributes requests among one or more target groups. Specify only if type is forward. If you specify both forward block and target_group_arn attribute, you can specify only one target group using forward and it must be the same target group specified in target_group_arn.
One or more target groups block.
Reference to a LBTargetGroup in elbv2 to populate arn.
Policies for referencing.
Selector for a LBTargetGroup in elbv2 to populate arn.
Policies for selection.
Reference to a LBTargetGroup in elbv2 to populate targetGroupArn.
Policies for referencing.
Selector for a LBTargetGroup in elbv2 to populate targetGroupArn.
Policies for selection.
A Condition block. Multiple condition blocks of different types can be set and all must be satisfied for the rule to match. Condition blocks are documented below.
Contains a single values item which is a list of host header patterns to match. The maximum size of each pattern is 128 characters. Comparison is case insensitive. Wildcard characters supported: * (matches 0 or more characters) and ? (matches exactly 1 character). Only one pattern needs to match for the condition to be satisfied.
Query string pairs or values to match. Query String Value blocks documented below. Multiple values blocks can be specified, see example above. Maximum size of each string is 128 characters. Comparison is case insensitive. Wildcard characters supported: * (matches 0 or more characters) and ? (matches exactly 1 character). To search for a literal '*' or '?' character in a query string, escape the character with a backslash (). Only one pair needs to match for the condition to be satisfied.
HTTP headers to match. HTTP Header block fields documented below.
List of header value patterns to match. Maximum size of each pattern is 128 characters. Comparison is case insensitive. Wildcard characters supported: * (matches 0 or more characters) and ? (matches exactly 1 character). If the same header appears multiple times in the request they will be searched in order until a match is found. Only one pattern needs to match for the condition to be satisfied. To require that all of the strings are a match, create one condition block per string.
Contains a single values item which is a list of HTTP request methods or verbs to match. Maximum size is 40 characters. Only allowed characters are A-Z, hyphen (-) and underscore (_). Comparison is case sensitive. Wildcards are not supported. Only one needs to match for the condition to be satisfied. AWS recommends that GET and HEAD requests are routed in the same way because the response to a HEAD request may be cached.
Query string pairs or values to match. Query String Value blocks documented below. Multiple values blocks can be specified, see example above. Maximum size of each string is 128 characters. Comparison is case insensitive. Wildcard characters supported: * (matches 0 or more characters) and ? (matches exactly 1 character). To search for a literal '*' or '?' character in a query string, escape the character with a backslash (). Only one pair needs to match for the condition to be satisfied.
Contains a single values item which is a list of path patterns to match against the request URL. Maximum size of each pattern is 128 characters. Comparison is case sensitive. Wildcard characters supported: * (matches 0 or more characters) and ? (matches exactly 1 character). Only one pattern needs to match for the condition to be satisfied. Path pattern is compared only to the path of the URL, not to its query string. To compare against the query string, use a query_string condition.
Query string pairs or values to match. Query String Value blocks documented below. Multiple values blocks can be specified, see example above. Maximum size of each string is 128 characters. Comparison is case insensitive. Wildcard characters supported: * (matches 0 or more characters) and ? (matches exactly 1 character). To search for a literal '*' or '?' character in a query string, escape the character with a backslash (). Only one pair needs to match for the condition to be satisfied.
Contains a single values item which is a list of source IP CIDR notations to match. You can use both IPv4 and IPv6 addresses. Wildcards are not supported. Condition is satisfied if the source IP address of the request matches one of the CIDR blocks. Condition is not satisfied by the addresses in the X-Forwarded-For header, use http_header condition instead.
Query string pairs or values to match. Query String Value blocks documented below. Multiple values blocks can be specified, see example above. Maximum size of each string is 128 characters. Comparison is case insensitive. Wildcard characters supported: * (matches 0 or more characters) and ? (matches exactly 1 character). To search for a literal '*' or '?' character in a query string, escape the character with a backslash (). Only one pair needs to match for the condition to be satisfied.
Reference to a LBListener in elbv2 to populate listenerArn.
Policies for referencing.
Selector for a LBListener in elbv2 to populate listenerArn.
Policies for selection.
ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured.
Policies for referencing.
ProviderReference specifies the provider that will be used to create, observe, update, and delete this managed resource. Deprecated: Please use ProviderConfigReference, i.e. providerConfigRef
Policies for referencing.
PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret store config to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource.
WriteConnectionSecretToReference specifies the namespace and name of a Secret to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource. This field is planned to be replaced in a future release in favor of PublishConnectionDetailsTo. Currently, both could be set independently and connection details would be published to both without affecting each other.
LBListenerRuleStatus defines the observed state of LBListenerRule.
Conditions of the resource.
static
apiVersion: elbv2.aws.upbound.io/v1beta1
kind: LBListenerRule
metadata:
annotations:
meta.upbound.io/example-id: elbv2/v1beta1/lblistenerrule
labels:
testing.upbound.io/example-name: static
name: static
spec:
forProvider:
action:
- targetGroupArnSelector:
matchLabels:
testing.upbound.io/example-name: elbv2
type: forward
condition:
- pathPattern:
- values:
- /static/*
- hostHeader:
- values:
- example.com
listenerArnSelector:
matchLabels:
testing.upbound.io/example-name: front_end
priority: 100
region: us-west-1
© 2022 Upbound, Inc.
Discover the building blocksfor your internal cloud platform.