Listener is the Schema for the Listeners API
Type
CRD
Group
elbv2.aws.crossplane.io
Version
v1alpha1
apiVersion: elbv2.aws.crossplane.io/v1alpha1
kind: Listener
ListenerSpec defines the desired state of Listener
ListenerParameters defines the desired state of Listener
[TLS listeners] The name of the Application-Layer Protocol Negotiation (ALPN) policy. You can specify one policy name. The following are the possible values:
HTTP1Only
HTTP2Only
HTTP2Optional
HTTP2Preferred
None
For more information, see ALPN policies (https://docs.aws.amazon.com/elasticloadbalancing/latest/network/create-tls-listener.html#alpn-policies) in the Network Load Balancers Guide.
[HTTPS and TLS listeners] The default certificate for the listener. You must provide exactly one certificate. Set CertificateArn to the certificate ARN but do not set IsDefault.
Reference to Certificates for Certificate ARN
Policies for referencing.
Selector for references to Certificate for CertificateArn
Policies for selection.
The actions for the default rule.
Request parameters to use when integrating with Amazon Cognito to authenticate users.
Request parameters when using an identity provider (IdP) that is compliant with OpenID Connect (OIDC) to authenticate users.
Information about an action that returns a custom HTTP response.
Information about a forward action.
Information about the target group stickiness for a rule.
One or more target groups. For Network Load Balancers, you can specify a single target group.
Reference to TargetGroupARN used to set TargetGroupARN
Policies for referencing.
Selector for references to TargetGroup for TargetGroupARN
Policies for selection.
Information about a redirect action.
A URI consists of the following components: protocol://hostname:port/path?query. You must modify at least one of the following components to avoid a redirect loop: protocol, hostname, port, or path. Any components that you do not modify retain their original values.
You can reuse URI components using the following reserved keywords:
#{protocol}
#{host}
#{port}
#{path} (the leading "/" is removed)
#{query}
For example, you can change the path to "/new/#{path}", the hostname to "example.#{host}", or the query to "#{query}&value=xyz".
Reference to TargetGroupARN used to set TargetGroupARN
Policies for referencing.
Selector for references to TargetGroups for TargetGroupARNs
Policies for selection.
Ref to loadbalancer ARN
Policies for referencing.
Selector for references to LoadBalancer for LoadBalancerARN
Policies for selection.
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
ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured.
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.
ListenerStatus defines the observed state of Listener.
ListenerObservation defines the observed state of Listener
[HTTPS or TLS listener] The default certificate for the listener.
The default actions for the listener.
Request parameters to use when integrating with Amazon Cognito to authenticate users.
Request parameters when using an identity provider (IdP) that is compliant with OpenID Connect (OIDC) to authenticate users.
Information about an action that returns a custom HTTP response.
Information about a forward action.
Information about the target group stickiness for a rule.
No description provided.
Information about a redirect action.
A URI consists of the following components: protocol://hostname:port/path?query. You must modify at least one of the following components to avoid a redirect loop: protocol, hostname, port, or path. Any components that you do not modify retain their original values.
You can reuse URI components using the following reserved keywords:
#{protocol}
#{host}
#{port}
#{path} (the leading "/" is removed)
#{query}
For example, you can change the path to "/new/#{path}", the hostname to "example.#{host}", or the query to "#{query}&value=xyz".
Conditions of the resource.
test-listener
apiVersion: elbv2.aws.crossplane.io/v1alpha1
kind: Listener
metadata:
name: test-listener
spec:
forProvider:
defaultActions:
- actionType: forward
forwardConfig:
targetGroups:
- targetGroupArnRef:
name: test-targetgroup
loadBalancerArnRef:
name: test-loadbalancer
port: 80
protocol: HTTP
region: us-east-1
providerConfigRef:
name: example
test-listener-two
apiVersion: elbv2.aws.crossplane.io/v1alpha1
kind: Listener
metadata:
name: test-listener-two
spec:
forProvider:
defaultActions:
- actionType: forward
forwardConfig:
targetGroups:
- targetGroupArnRef:
name: test-targetgroup-with-ip-target
loadBalancerArnRef:
name: test-loadbalancer
port: 8080
protocol: HTTP
region: us-east-1
providerConfigRef:
name: example
test-listener-https
apiVersion: elbv2.aws.crossplane.io/v1alpha1
kind: Listener
metadata:
name: test-listener-https
spec:
forProvider:
certificates:
- certificateARNRef:
name: dev.crossplane.io
defaultActions:
- actionType: forward
forwardConfig:
targetGroups:
- targetGroupArnRef:
name: test-targetgroup
loadBalancerArnRef:
name: test-loadbalancer
port: 443
protocol: HTTPS
region: us-east-1
providerConfigRef:
name: example
© 2022 Upbound, Inc.
Discover the building blocksfor your internal cloud platform.