Marketplace
BrowsePublish
Marketplace
You are viewing an outdated version of provider-aws.Go to Latest
upbound/provider-aws@v1.3.1
LBListenerRule
elbv2.aws.upbound.io
LBListenerRule
upbound/provider-aws@v1.3.1elbv2.aws.upbound.io

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

API Documentation
apiVersion
string
kind
string
metadata
object
spec
object
object

LBListenerRuleSpec defines the desired state of LBListenerRule

forProvider
requiredobject
requiredobject

No description provided.

action
array
array

An Action block. Action blocks are documented below.

array

Information for creating an authenticate action using Cognito. Required if type is authenticate-cognito.

scope
string
object

Reference to a UserPool in cognitoidp to populate userPoolArn.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

Selector for a UserPool in cognitoidp to populate userPoolArn.

policy
object
object

Policies for selection.

resolve
string
object

Reference to a UserPoolClient in cognitoidp to populate userPoolClientId.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

Selector for a UserPoolClient in cognitoidp to populate userPoolClientId.

policy
object
object

Policies for selection.

resolve
string
object

Reference to a UserPoolDomain in cognitoidp to populate userPoolDomain.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

Selector for a UserPoolDomain in cognitoidp to populate userPoolDomain.

policy
object
object

Policies for selection.

resolve
string
array

Information for creating an authenticate action using OIDC. Required if type is authenticate-oidc.

clientId
string
clientSecretSecretRef
requiredobject
requiredobject

The OAuth 2.0 client secret.

key
requiredstring
name
requiredstring
namespace
requiredstring
issuer
string
scope
string
array

Information for creating an action that returns a custom HTTP response. Required if type is fixed-response.

forward
array
array

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.

array

The target group stickiness for the rule.

duration
number
enabled
boolean
array

One or more target groups block.

arn
string
arnRef
object
object

Reference to a LBTargetGroup in elbv2 to populate arn.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

Selector for a LBTargetGroup in elbv2 to populate arn.

policy
object
object

Policies for selection.

resolve
string
weight
number
order
number
array

Information for creating a redirect action. Required if type is redirect.

host
string
path
string
port
string
protocol
string
query
string
object

Reference to a LBTargetGroup in elbv2 to populate targetGroupArn.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

Selector for a LBTargetGroup in elbv2 to populate targetGroupArn.

policy
object
object

Policies for selection.

resolve
string
type
string
array

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.

array

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.

values
array
array

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.

array

HTTP headers to match. HTTP Header block fields documented below.

values
array
array

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.

array

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.

values
array
array

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.

array

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.

values
array
array

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.

array

Query strings to match. Query String block fields documented below.

key
string
value
string
array

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.

values
array
array

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.

object

Reference to a LBListener in elbv2 to populate listenerArn.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

Selector for a LBListener in elbv2 to populate listenerArn.

policy
object
object

Policies for selection.

resolve
string
priority
number
region
requiredstring
tags
object
object

THIS IS A BETA FIELD. It will be honored unless the Management Policies feature flag is disabled. InitProvider holds the same fields as ForProvider, with the exception of Identifier and other resource reference fields. The fields that are in InitProvider are merged into ForProvider when the resource is created. The same fields are also added to the terraform ignore_changes hook, to avoid updating them after creation. This is useful for fields that are required on creation, but we do not desire to update them after creation, for example because of an external controller is managing them, like an autoscaler.

action
array
array

An Action block. Action blocks are documented below.

array

Information for creating an authenticate action using Cognito. Required if type is authenticate-cognito.

scope
string
object

Reference to a UserPool in cognitoidp to populate userPoolArn.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

Selector for a UserPool in cognitoidp to populate userPoolArn.

policy
object
object

Policies for selection.

resolve
string
object

Reference to a UserPoolClient in cognitoidp to populate userPoolClientId.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

Selector for a UserPoolClient in cognitoidp to populate userPoolClientId.

policy
object
object

Policies for selection.

resolve
string
object

Reference to a UserPoolDomain in cognitoidp to populate userPoolDomain.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

Selector for a UserPoolDomain in cognitoidp to populate userPoolDomain.

policy
object
object

Policies for selection.

resolve
string
array

Information for creating an authenticate action using OIDC. Required if type is authenticate-oidc.

array

Information for creating an action that returns a custom HTTP response. Required if type is fixed-response.

forward
array
array

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.

array

The target group stickiness for the rule.

duration
number
enabled
boolean
array

One or more target groups block.

arn
string
arnRef
object
object

Reference to a LBTargetGroup in elbv2 to populate arn.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

Selector for a LBTargetGroup in elbv2 to populate arn.

policy
object
object

Policies for selection.

resolve
string
weight
number
order
number
array

Information for creating a redirect action. Required if type is redirect.

host
string
path
string
port
string
protocol
string
query
string
object

Reference to a LBTargetGroup in elbv2 to populate targetGroupArn.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

Selector for a LBTargetGroup in elbv2 to populate targetGroupArn.

policy
object
object

Policies for selection.

resolve
string
type
string
array

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.

array

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.

values
array
array

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.

array

HTTP headers to match. HTTP Header block fields documented below.

values
array
array

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.

array

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.

values
array
array

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.

array

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.

values
array
array

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.

array

Query strings to match. Query String block fields documented below.

key
string
value
string
array

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.

values
array
array

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.

object

Reference to a LBListener in elbv2 to populate listenerArn.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

Selector for a LBListener in elbv2 to populate listenerArn.

policy
object
object

Policies for selection.

resolve
string
priority
number
tags
object
array

THIS IS A BETA FIELD. It is on by default but can be opted out through a Crossplane feature flag. ManagementPolicies specify the array of actions Crossplane is allowed to take on the managed and external resources. This field is planned to replace the DeletionPolicy field in a future release. Currently, both could be set independently and non-default values would be honored if the feature flag is enabled. If both are custom, the DeletionPolicy field will be ignored. See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md

object

ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

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.

configRef
object
object

SecretStoreConfigRef specifies which secret store config should be used for this ConnectionSecret.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
metadata
object
object

Metadata is the metadata for connection secret.

labels
object
type
string
name
requiredstring
object

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.

name
requiredstring
namespace
requiredstring
status
object
object

LBListenerRuleStatus defines the observed state of LBListenerRule.

object

No description provided.

action
array
array

An Action block. Action blocks are documented below.

array

Information for creating an authenticate action using Cognito. Required if type is authenticate-cognito.

array

Information for creating an authenticate action using OIDC. Required if type is authenticate-oidc.

array

Information for creating an action that returns a custom HTTP response. Required if type is fixed-response.

forward
array
array

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.

array

The target group stickiness for the rule.

duration
number
enabled
boolean
array

One or more target groups block.

arn
string
weight
number
order
number
array

Information for creating a redirect action. Required if type is redirect.

host
string
path
string
port
string
protocol
string
query
string
type
string
arn
string
array

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.

array

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.

values
array
array

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.

array

HTTP headers to match. HTTP Header block fields documented below.

values
array
array

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.

array

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.

values
array
array

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.

array

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.

values
array
array

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.

array

Query strings to match. Query String block fields documented below.

key
string
value
string
array

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.

values
array
array

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.

id
string
priority
number
tags
object
tagsAll
object
array

Conditions of the resource.

lastTransitionTime
requiredstring
message
string
reason
requiredstring
status
requiredstring
type
requiredstring
Marketplace

Discover the building blocks for your internal cloud platform.

© 2022 Upbound, Inc.

SolutionsProvidersConfigurations
LearnDocumentationTry for Free
MorePrivacy PolicyTerms & Conditions
Marketplace

© 2022 Upbound, Inc.

Marketplace

Discover the building blocksfor your internal cloud platform.