published on Thursday, Apr 23, 2026 by Volcengine
published on Thursday, Apr 23, 2026 by Volcengine
Each ALB instance must have at least one listener to function properly. The listener receives client requests and distributes them to backend servers based on your configured forwarding rules and load balancing algorithm. You can create multiple listeners under one ALB instance and configure different protocols for each listener to handle client requests using different protocols.
Example Usage
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
resources:
aLBListenerDemo:
type: volcenginecc:alb:Listener
name: ALBListenerDemo
properties:
loadBalancerId: alb-bdazuxj87hts8dv40noxxxxx
listenerName: ALBListenerDemo
protocol: HTTPS
port: 80
enabled: on
serverGroupId: rsp-1pff7rhpf5e68845wfah2xxxx
aclStatus: on
aclType: black
aclIds:
- acl-xp8avgtjnmrk54ov5fyoxxxx
customizedCfgId: ccfg-xoblsk63beo054ov5el5xxxx
description: ALBListenerDemo description
tags:
- key: env
value: test
certificateSource: cert_center
certCenterCertificateId: cert-a126f867a19141618ff316a52a50xxxx
caCertificateSource: pca_root
pcaRootCaCertificateId: pca_root_xxxxxx
enableHttp2: on
enableQuic: off
domainExtensions:
- cert_center_certificate_id: cert-7718b7e7afa94e4db38ec9092cxxxxxx
certificate_source: cert_center
domain: ""
Create Listener Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Listener(name: string, args: ListenerArgs, opts?: CustomResourceOptions);@overload
def Listener(resource_name: str,
args: ListenerArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Listener(resource_name: str,
opts: Optional[ResourceOptions] = None,
load_balancer_id: Optional[str] = None,
server_group_id: Optional[str] = None,
protocol: Optional[str] = None,
port: Optional[int] = None,
enable_http2: Optional[str] = None,
listener_name: Optional[str] = None,
cert_center_certificate_id: Optional[str] = None,
certificate_id: Optional[str] = None,
certificate_source: Optional[str] = None,
customized_cfg_id: Optional[str] = None,
description: Optional[str] = None,
domain_extensions: Optional[Sequence[ListenerDomainExtensionArgs]] = None,
access_log_record_customized_headers_enabled: Optional[str] = None,
enable_quic: Optional[str] = None,
enabled: Optional[str] = None,
ca_certificate_source: Optional[str] = None,
ca_certificate_id: Optional[str] = None,
pca_leaf_certificate_id: Optional[str] = None,
pca_root_ca_certificate_id: Optional[str] = None,
pca_sub_ca_certificate_id: Optional[str] = None,
acl_type: Optional[str] = None,
acl_status: Optional[str] = None,
acl_ids: Optional[Sequence[str]] = None,
server_groups: Optional[Sequence[ListenerServerGroupArgs]] = None,
tags: Optional[Sequence[ListenerTagArgs]] = None)func NewListener(ctx *Context, name string, args ListenerArgs, opts ...ResourceOption) (*Listener, error)public Listener(string name, ListenerArgs args, CustomResourceOptions? opts = null)
public Listener(String name, ListenerArgs args)
public Listener(String name, ListenerArgs args, CustomResourceOptions options)
type: volcenginecc:alb:Listener
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ListenerArgs
- 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 ListenerArgs
- 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 ListenerArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ListenerArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ListenerArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Listener Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Listener resource accepts the following input properties:
- Load
Balancer stringId - Load balancer instance ID to which the listener belongs.
- Port int
- The listener port. Values: 1 - 65535.
- Protocol string
- Listener protocol. Supports HTTP and HTTPS protocols.
- Server
Group stringId - Default server group for the listener.
- Access
Log stringRecord Customized Headers Enabled - Whether the listener has enabled the 'Log custom header in access logs' feature: on: Feature is enabled. off: Feature is not enabled.
- Acl
Ids List<string> - Access control policy group ID bound to the listener. When the AclStatus parameter is set to on, AclIds is required.
- Acl
Status string - Enable access control. Values: on: enabled. off: disabled (default).
- Acl
Type string - Access control method. Values: white: allowlist mode. The listener only forwards requests from IP addresses or address ranges set in the selected access control policy group. If no IP is added to the selected policy group, the listener does not forward any requests. black: denylist mode. The listener only rejects requests from IP addresses or address ranges set in the selected access control policy group. If no IP is added to the selected policy group, the listener forwards all requests. When the AclStatus parameter is set to on, AclType is required.
- Ca
Certificate stringId - CA certificate ID associated with the HTTPS listener. This parameter is used for mutual authentication in HTTPS listeners. If the certificate source is alb, you must specify the CACertificateId parameter.
- Ca
Certificate stringSource - Source of the CA certificate associated with the HTTPS listener, used for mutual authentication. alb (default): Certificate uploaded via ALB. Standard ALB instances do not support certificates from this source. pcaroot: Private root CA certificate purchased or uploaded via Volcano Engine Certificate Center. pcasub: Private subordinate CA certificate purchased or uploaded via Volcano Engine Certificate Center.
- Cert
Center stringCertificate Id - Certificate ID associated with the HTTPS listener. Required when creating an HTTPS listener with the certificate source set to cert_center.
- Certificate
Id string - Certificate ID associated with the HTTPS listener. Required when creating an HTTPS listener and the certificate source is alb.
- Certificate
Source string - The source of the default certificate associated with the HTTPS listener. Values: alb: certificate uploaded via ALB. certcenter: SSL certificate purchased or uploaded through Volcano Engine Certificate Center. pcaleaf: private leaf certificate purchased or uploaded through Volcano Engine Certificate Center.
- Customized
Cfg stringId - Personalized configuration ID. If not bound, the value is an empty string.
- Description string
- Listener description. Cannot start with http:// or https://. Must start with a letter or Chinese character. May include numbers, English commas (,), periods (.), underscores (_), spaces ( ), equals signs (=), hyphens (-), Chinese commas (,), and Chinese periods (。). Length must be between 1 and 255 characters. If not specified, defaults to an empty string.
- Domain
Extensions List<Volcengine.Listener Domain Extension> - Enable
Http2 string - HTTP2.0 feature switch. This parameter is only valid for HTTPS listeners. Values: on: enabled. off: disabled (default).
- Enable
Quic string - QUIC feature switch. This parameter is only valid for HTTPS listeners. Values: on: enabled. off: disabled (default). Only standard ALB instances support QUIC.
- Enabled string
- Listener on/off status. Values: on: On (default). off: Off.
- Listener
Name string - Listener name. If not specified, named in the format 'protocol-port'. Cannot start with http:// or https://. Must start with a letter or Chinese character and can include numbers, dot (.), underscore (_), and hyphen (-). Length must be between 1 and 128 characters.
- Pca
Leaf stringCertificate Id - Private leaf certificate ID associated with the HTTPS listener. Required when creating an HTTPS listener and the certificate source is pca_leaf.
- Pca
Root stringCa Certificate Id - CA certificate ID associated with the HTTPS listener. This parameter is used for mutual authentication on HTTPS listeners. When the certificate source is pca_root, you must specify the PcaRootCACertificateId parameter.
- Pca
Sub stringCa Certificate Id - CA certificate ID associated with the HTTPS listener. This parameter is used for mutual authentication on HTTPS listeners. When the certificate source is pca_sub, you must specify the PcaSubCACertificateId parameter.
- Server
Groups List<Volcengine.Listener Server Group> -
List<Volcengine.
Listener Tag>
- Load
Balancer stringId - Load balancer instance ID to which the listener belongs.
- Port int
- The listener port. Values: 1 - 65535.
- Protocol string
- Listener protocol. Supports HTTP and HTTPS protocols.
- Server
Group stringId - Default server group for the listener.
- Access
Log stringRecord Customized Headers Enabled - Whether the listener has enabled the 'Log custom header in access logs' feature: on: Feature is enabled. off: Feature is not enabled.
- Acl
Ids []string - Access control policy group ID bound to the listener. When the AclStatus parameter is set to on, AclIds is required.
- Acl
Status string - Enable access control. Values: on: enabled. off: disabled (default).
- Acl
Type string - Access control method. Values: white: allowlist mode. The listener only forwards requests from IP addresses or address ranges set in the selected access control policy group. If no IP is added to the selected policy group, the listener does not forward any requests. black: denylist mode. The listener only rejects requests from IP addresses or address ranges set in the selected access control policy group. If no IP is added to the selected policy group, the listener forwards all requests. When the AclStatus parameter is set to on, AclType is required.
- Ca
Certificate stringId - CA certificate ID associated with the HTTPS listener. This parameter is used for mutual authentication in HTTPS listeners. If the certificate source is alb, you must specify the CACertificateId parameter.
- Ca
Certificate stringSource - Source of the CA certificate associated with the HTTPS listener, used for mutual authentication. alb (default): Certificate uploaded via ALB. Standard ALB instances do not support certificates from this source. pcaroot: Private root CA certificate purchased or uploaded via Volcano Engine Certificate Center. pcasub: Private subordinate CA certificate purchased or uploaded via Volcano Engine Certificate Center.
- Cert
Center stringCertificate Id - Certificate ID associated with the HTTPS listener. Required when creating an HTTPS listener with the certificate source set to cert_center.
- Certificate
Id string - Certificate ID associated with the HTTPS listener. Required when creating an HTTPS listener and the certificate source is alb.
- Certificate
Source string - The source of the default certificate associated with the HTTPS listener. Values: alb: certificate uploaded via ALB. certcenter: SSL certificate purchased or uploaded through Volcano Engine Certificate Center. pcaleaf: private leaf certificate purchased or uploaded through Volcano Engine Certificate Center.
- Customized
Cfg stringId - Personalized configuration ID. If not bound, the value is an empty string.
- Description string
- Listener description. Cannot start with http:// or https://. Must start with a letter or Chinese character. May include numbers, English commas (,), periods (.), underscores (_), spaces ( ), equals signs (=), hyphens (-), Chinese commas (,), and Chinese periods (。). Length must be between 1 and 255 characters. If not specified, defaults to an empty string.
- Domain
Extensions []ListenerDomain Extension Args - Enable
Http2 string - HTTP2.0 feature switch. This parameter is only valid for HTTPS listeners. Values: on: enabled. off: disabled (default).
- Enable
Quic string - QUIC feature switch. This parameter is only valid for HTTPS listeners. Values: on: enabled. off: disabled (default). Only standard ALB instances support QUIC.
- Enabled string
- Listener on/off status. Values: on: On (default). off: Off.
- Listener
Name string - Listener name. If not specified, named in the format 'protocol-port'. Cannot start with http:// or https://. Must start with a letter or Chinese character and can include numbers, dot (.), underscore (_), and hyphen (-). Length must be between 1 and 128 characters.
- Pca
Leaf stringCertificate Id - Private leaf certificate ID associated with the HTTPS listener. Required when creating an HTTPS listener and the certificate source is pca_leaf.
- Pca
Root stringCa Certificate Id - CA certificate ID associated with the HTTPS listener. This parameter is used for mutual authentication on HTTPS listeners. When the certificate source is pca_root, you must specify the PcaRootCACertificateId parameter.
- Pca
Sub stringCa Certificate Id - CA certificate ID associated with the HTTPS listener. This parameter is used for mutual authentication on HTTPS listeners. When the certificate source is pca_sub, you must specify the PcaSubCACertificateId parameter.
- Server
Groups []ListenerServer Group Args -
[]Listener
Tag Args
- load
Balancer StringId - Load balancer instance ID to which the listener belongs.
- port Integer
- The listener port. Values: 1 - 65535.
- protocol String
- Listener protocol. Supports HTTP and HTTPS protocols.
- server
Group StringId - Default server group for the listener.
- access
Log StringRecord Customized Headers Enabled - Whether the listener has enabled the 'Log custom header in access logs' feature: on: Feature is enabled. off: Feature is not enabled.
- acl
Ids List<String> - Access control policy group ID bound to the listener. When the AclStatus parameter is set to on, AclIds is required.
- acl
Status String - Enable access control. Values: on: enabled. off: disabled (default).
- acl
Type String - Access control method. Values: white: allowlist mode. The listener only forwards requests from IP addresses or address ranges set in the selected access control policy group. If no IP is added to the selected policy group, the listener does not forward any requests. black: denylist mode. The listener only rejects requests from IP addresses or address ranges set in the selected access control policy group. If no IP is added to the selected policy group, the listener forwards all requests. When the AclStatus parameter is set to on, AclType is required.
- ca
Certificate StringId - CA certificate ID associated with the HTTPS listener. This parameter is used for mutual authentication in HTTPS listeners. If the certificate source is alb, you must specify the CACertificateId parameter.
- ca
Certificate StringSource - Source of the CA certificate associated with the HTTPS listener, used for mutual authentication. alb (default): Certificate uploaded via ALB. Standard ALB instances do not support certificates from this source. pcaroot: Private root CA certificate purchased or uploaded via Volcano Engine Certificate Center. pcasub: Private subordinate CA certificate purchased or uploaded via Volcano Engine Certificate Center.
- cert
Center StringCertificate Id - Certificate ID associated with the HTTPS listener. Required when creating an HTTPS listener with the certificate source set to cert_center.
- certificate
Id String - Certificate ID associated with the HTTPS listener. Required when creating an HTTPS listener and the certificate source is alb.
- certificate
Source String - The source of the default certificate associated with the HTTPS listener. Values: alb: certificate uploaded via ALB. certcenter: SSL certificate purchased or uploaded through Volcano Engine Certificate Center. pcaleaf: private leaf certificate purchased or uploaded through Volcano Engine Certificate Center.
- customized
Cfg StringId - Personalized configuration ID. If not bound, the value is an empty string.
- description String
- Listener description. Cannot start with http:// or https://. Must start with a letter or Chinese character. May include numbers, English commas (,), periods (.), underscores (_), spaces ( ), equals signs (=), hyphens (-), Chinese commas (,), and Chinese periods (。). Length must be between 1 and 255 characters. If not specified, defaults to an empty string.
- domain
Extensions List<ListenerDomain Extension> - enable
Http2 String - HTTP2.0 feature switch. This parameter is only valid for HTTPS listeners. Values: on: enabled. off: disabled (default).
- enable
Quic String - QUIC feature switch. This parameter is only valid for HTTPS listeners. Values: on: enabled. off: disabled (default). Only standard ALB instances support QUIC.
- enabled String
- Listener on/off status. Values: on: On (default). off: Off.
- listener
Name String - Listener name. If not specified, named in the format 'protocol-port'. Cannot start with http:// or https://. Must start with a letter or Chinese character and can include numbers, dot (.), underscore (_), and hyphen (-). Length must be between 1 and 128 characters.
- pca
Leaf StringCertificate Id - Private leaf certificate ID associated with the HTTPS listener. Required when creating an HTTPS listener and the certificate source is pca_leaf.
- pca
Root StringCa Certificate Id - CA certificate ID associated with the HTTPS listener. This parameter is used for mutual authentication on HTTPS listeners. When the certificate source is pca_root, you must specify the PcaRootCACertificateId parameter.
- pca
Sub StringCa Certificate Id - CA certificate ID associated with the HTTPS listener. This parameter is used for mutual authentication on HTTPS listeners. When the certificate source is pca_sub, you must specify the PcaSubCACertificateId parameter.
- server
Groups List<ListenerServer Group> -
List<Listener
Tag>
- load
Balancer stringId - Load balancer instance ID to which the listener belongs.
- port number
- The listener port. Values: 1 - 65535.
- protocol string
- Listener protocol. Supports HTTP and HTTPS protocols.
- server
Group stringId - Default server group for the listener.
- access
Log stringRecord Customized Headers Enabled - Whether the listener has enabled the 'Log custom header in access logs' feature: on: Feature is enabled. off: Feature is not enabled.
- acl
Ids string[] - Access control policy group ID bound to the listener. When the AclStatus parameter is set to on, AclIds is required.
- acl
Status string - Enable access control. Values: on: enabled. off: disabled (default).
- acl
Type string - Access control method. Values: white: allowlist mode. The listener only forwards requests from IP addresses or address ranges set in the selected access control policy group. If no IP is added to the selected policy group, the listener does not forward any requests. black: denylist mode. The listener only rejects requests from IP addresses or address ranges set in the selected access control policy group. If no IP is added to the selected policy group, the listener forwards all requests. When the AclStatus parameter is set to on, AclType is required.
- ca
Certificate stringId - CA certificate ID associated with the HTTPS listener. This parameter is used for mutual authentication in HTTPS listeners. If the certificate source is alb, you must specify the CACertificateId parameter.
- ca
Certificate stringSource - Source of the CA certificate associated with the HTTPS listener, used for mutual authentication. alb (default): Certificate uploaded via ALB. Standard ALB instances do not support certificates from this source. pcaroot: Private root CA certificate purchased or uploaded via Volcano Engine Certificate Center. pcasub: Private subordinate CA certificate purchased or uploaded via Volcano Engine Certificate Center.
- cert
Center stringCertificate Id - Certificate ID associated with the HTTPS listener. Required when creating an HTTPS listener with the certificate source set to cert_center.
- certificate
Id string - Certificate ID associated with the HTTPS listener. Required when creating an HTTPS listener and the certificate source is alb.
- certificate
Source string - The source of the default certificate associated with the HTTPS listener. Values: alb: certificate uploaded via ALB. certcenter: SSL certificate purchased or uploaded through Volcano Engine Certificate Center. pcaleaf: private leaf certificate purchased or uploaded through Volcano Engine Certificate Center.
- customized
Cfg stringId - Personalized configuration ID. If not bound, the value is an empty string.
- description string
- Listener description. Cannot start with http:// or https://. Must start with a letter or Chinese character. May include numbers, English commas (,), periods (.), underscores (_), spaces ( ), equals signs (=), hyphens (-), Chinese commas (,), and Chinese periods (。). Length must be between 1 and 255 characters. If not specified, defaults to an empty string.
- domain
Extensions ListenerDomain Extension[] - enable
Http2 string - HTTP2.0 feature switch. This parameter is only valid for HTTPS listeners. Values: on: enabled. off: disabled (default).
- enable
Quic string - QUIC feature switch. This parameter is only valid for HTTPS listeners. Values: on: enabled. off: disabled (default). Only standard ALB instances support QUIC.
- enabled string
- Listener on/off status. Values: on: On (default). off: Off.
- listener
Name string - Listener name. If not specified, named in the format 'protocol-port'. Cannot start with http:// or https://. Must start with a letter or Chinese character and can include numbers, dot (.), underscore (_), and hyphen (-). Length must be between 1 and 128 characters.
- pca
Leaf stringCertificate Id - Private leaf certificate ID associated with the HTTPS listener. Required when creating an HTTPS listener and the certificate source is pca_leaf.
- pca
Root stringCa Certificate Id - CA certificate ID associated with the HTTPS listener. This parameter is used for mutual authentication on HTTPS listeners. When the certificate source is pca_root, you must specify the PcaRootCACertificateId parameter.
- pca
Sub stringCa Certificate Id - CA certificate ID associated with the HTTPS listener. This parameter is used for mutual authentication on HTTPS listeners. When the certificate source is pca_sub, you must specify the PcaSubCACertificateId parameter.
- server
Groups ListenerServer Group[] -
Listener
Tag[]
- load_
balancer_ strid - Load balancer instance ID to which the listener belongs.
- port int
- The listener port. Values: 1 - 65535.
- protocol str
- Listener protocol. Supports HTTP and HTTPS protocols.
- server_
group_ strid - Default server group for the listener.
- access_
log_ strrecord_ customized_ headers_ enabled - Whether the listener has enabled the 'Log custom header in access logs' feature: on: Feature is enabled. off: Feature is not enabled.
- acl_
ids Sequence[str] - Access control policy group ID bound to the listener. When the AclStatus parameter is set to on, AclIds is required.
- acl_
status str - Enable access control. Values: on: enabled. off: disabled (default).
- acl_
type str - Access control method. Values: white: allowlist mode. The listener only forwards requests from IP addresses or address ranges set in the selected access control policy group. If no IP is added to the selected policy group, the listener does not forward any requests. black: denylist mode. The listener only rejects requests from IP addresses or address ranges set in the selected access control policy group. If no IP is added to the selected policy group, the listener forwards all requests. When the AclStatus parameter is set to on, AclType is required.
- ca_
certificate_ strid - CA certificate ID associated with the HTTPS listener. This parameter is used for mutual authentication in HTTPS listeners. If the certificate source is alb, you must specify the CACertificateId parameter.
- ca_
certificate_ strsource - Source of the CA certificate associated with the HTTPS listener, used for mutual authentication. alb (default): Certificate uploaded via ALB. Standard ALB instances do not support certificates from this source. pcaroot: Private root CA certificate purchased or uploaded via Volcano Engine Certificate Center. pcasub: Private subordinate CA certificate purchased or uploaded via Volcano Engine Certificate Center.
- cert_
center_ strcertificate_ id - Certificate ID associated with the HTTPS listener. Required when creating an HTTPS listener with the certificate source set to cert_center.
- certificate_
id str - Certificate ID associated with the HTTPS listener. Required when creating an HTTPS listener and the certificate source is alb.
- certificate_
source str - The source of the default certificate associated with the HTTPS listener. Values: alb: certificate uploaded via ALB. certcenter: SSL certificate purchased or uploaded through Volcano Engine Certificate Center. pcaleaf: private leaf certificate purchased or uploaded through Volcano Engine Certificate Center.
- customized_
cfg_ strid - Personalized configuration ID. If not bound, the value is an empty string.
- description str
- Listener description. Cannot start with http:// or https://. Must start with a letter or Chinese character. May include numbers, English commas (,), periods (.), underscores (_), spaces ( ), equals signs (=), hyphens (-), Chinese commas (,), and Chinese periods (。). Length must be between 1 and 255 characters. If not specified, defaults to an empty string.
- domain_
extensions Sequence[ListenerDomain Extension Args] - enable_
http2 str - HTTP2.0 feature switch. This parameter is only valid for HTTPS listeners. Values: on: enabled. off: disabled (default).
- enable_
quic str - QUIC feature switch. This parameter is only valid for HTTPS listeners. Values: on: enabled. off: disabled (default). Only standard ALB instances support QUIC.
- enabled str
- Listener on/off status. Values: on: On (default). off: Off.
- listener_
name str - Listener name. If not specified, named in the format 'protocol-port'. Cannot start with http:// or https://. Must start with a letter or Chinese character and can include numbers, dot (.), underscore (_), and hyphen (-). Length must be between 1 and 128 characters.
- pca_
leaf_ strcertificate_ id - Private leaf certificate ID associated with the HTTPS listener. Required when creating an HTTPS listener and the certificate source is pca_leaf.
- pca_
root_ strca_ certificate_ id - CA certificate ID associated with the HTTPS listener. This parameter is used for mutual authentication on HTTPS listeners. When the certificate source is pca_root, you must specify the PcaRootCACertificateId parameter.
- pca_
sub_ strca_ certificate_ id - CA certificate ID associated with the HTTPS listener. This parameter is used for mutual authentication on HTTPS listeners. When the certificate source is pca_sub, you must specify the PcaSubCACertificateId parameter.
- server_
groups Sequence[ListenerServer Group Args] -
Sequence[Listener
Tag Args]
- load
Balancer StringId - Load balancer instance ID to which the listener belongs.
- port Number
- The listener port. Values: 1 - 65535.
- protocol String
- Listener protocol. Supports HTTP and HTTPS protocols.
- server
Group StringId - Default server group for the listener.
- access
Log StringRecord Customized Headers Enabled - Whether the listener has enabled the 'Log custom header in access logs' feature: on: Feature is enabled. off: Feature is not enabled.
- acl
Ids List<String> - Access control policy group ID bound to the listener. When the AclStatus parameter is set to on, AclIds is required.
- acl
Status String - Enable access control. Values: on: enabled. off: disabled (default).
- acl
Type String - Access control method. Values: white: allowlist mode. The listener only forwards requests from IP addresses or address ranges set in the selected access control policy group. If no IP is added to the selected policy group, the listener does not forward any requests. black: denylist mode. The listener only rejects requests from IP addresses or address ranges set in the selected access control policy group. If no IP is added to the selected policy group, the listener forwards all requests. When the AclStatus parameter is set to on, AclType is required.
- ca
Certificate StringId - CA certificate ID associated with the HTTPS listener. This parameter is used for mutual authentication in HTTPS listeners. If the certificate source is alb, you must specify the CACertificateId parameter.
- ca
Certificate StringSource - Source of the CA certificate associated with the HTTPS listener, used for mutual authentication. alb (default): Certificate uploaded via ALB. Standard ALB instances do not support certificates from this source. pcaroot: Private root CA certificate purchased or uploaded via Volcano Engine Certificate Center. pcasub: Private subordinate CA certificate purchased or uploaded via Volcano Engine Certificate Center.
- cert
Center StringCertificate Id - Certificate ID associated with the HTTPS listener. Required when creating an HTTPS listener with the certificate source set to cert_center.
- certificate
Id String - Certificate ID associated with the HTTPS listener. Required when creating an HTTPS listener and the certificate source is alb.
- certificate
Source String - The source of the default certificate associated with the HTTPS listener. Values: alb: certificate uploaded via ALB. certcenter: SSL certificate purchased or uploaded through Volcano Engine Certificate Center. pcaleaf: private leaf certificate purchased or uploaded through Volcano Engine Certificate Center.
- customized
Cfg StringId - Personalized configuration ID. If not bound, the value is an empty string.
- description String
- Listener description. Cannot start with http:// or https://. Must start with a letter or Chinese character. May include numbers, English commas (,), periods (.), underscores (_), spaces ( ), equals signs (=), hyphens (-), Chinese commas (,), and Chinese periods (。). Length must be between 1 and 255 characters. If not specified, defaults to an empty string.
- domain
Extensions List<Property Map> - enable
Http2 String - HTTP2.0 feature switch. This parameter is only valid for HTTPS listeners. Values: on: enabled. off: disabled (default).
- enable
Quic String - QUIC feature switch. This parameter is only valid for HTTPS listeners. Values: on: enabled. off: disabled (default). Only standard ALB instances support QUIC.
- enabled String
- Listener on/off status. Values: on: On (default). off: Off.
- listener
Name String - Listener name. If not specified, named in the format 'protocol-port'. Cannot start with http:// or https://. Must start with a letter or Chinese character and can include numbers, dot (.), underscore (_), and hyphen (-). Length must be between 1 and 128 characters.
- pca
Leaf StringCertificate Id - Private leaf certificate ID associated with the HTTPS listener. Required when creating an HTTPS listener and the certificate source is pca_leaf.
- pca
Root StringCa Certificate Id - CA certificate ID associated with the HTTPS listener. This parameter is used for mutual authentication on HTTPS listeners. When the certificate source is pca_root, you must specify the PcaRootCACertificateId parameter.
- pca
Sub StringCa Certificate Id - CA certificate ID associated with the HTTPS listener. This parameter is used for mutual authentication on HTTPS listeners. When the certificate source is pca_sub, you must specify the PcaSubCACertificateId parameter.
- server
Groups List<Property Map> - List<Property Map>
Outputs
All input properties are implicitly available as output properties. Additionally, the Listener resource produces the following output properties:
- Created
Time string - Listener creation time.
- Id string
- The provider-assigned unique ID for this managed resource.
- Listener
Id string - Listener ID.
- Project
Name string - Name of the project to which the listener belongs.
- Status string
- Listener status. Values: Creating: Creating. Active: Running. Pending: Changing configuration. Disabled: Stopped. Deleting: Deleting.
- Updated
Time string - Time of the listener's most recent operation.
- Created
Time string - Listener creation time.
- Id string
- The provider-assigned unique ID for this managed resource.
- Listener
Id string - Listener ID.
- Project
Name string - Name of the project to which the listener belongs.
- Status string
- Listener status. Values: Creating: Creating. Active: Running. Pending: Changing configuration. Disabled: Stopped. Deleting: Deleting.
- Updated
Time string - Time of the listener's most recent operation.
- created
Time String - Listener creation time.
- id String
- The provider-assigned unique ID for this managed resource.
- listener
Id String - Listener ID.
- project
Name String - Name of the project to which the listener belongs.
- status String
- Listener status. Values: Creating: Creating. Active: Running. Pending: Changing configuration. Disabled: Stopped. Deleting: Deleting.
- updated
Time String - Time of the listener's most recent operation.
- created
Time string - Listener creation time.
- id string
- The provider-assigned unique ID for this managed resource.
- listener
Id string - Listener ID.
- project
Name string - Name of the project to which the listener belongs.
- status string
- Listener status. Values: Creating: Creating. Active: Running. Pending: Changing configuration. Disabled: Stopped. Deleting: Deleting.
- updated
Time string - Time of the listener's most recent operation.
- created_
time str - Listener creation time.
- id str
- The provider-assigned unique ID for this managed resource.
- listener_
id str - Listener ID.
- project_
name str - Name of the project to which the listener belongs.
- status str
- Listener status. Values: Creating: Creating. Active: Running. Pending: Changing configuration. Disabled: Stopped. Deleting: Deleting.
- updated_
time str - Time of the listener's most recent operation.
- created
Time String - Listener creation time.
- id String
- The provider-assigned unique ID for this managed resource.
- listener
Id String - Listener ID.
- project
Name String - Name of the project to which the listener belongs.
- status String
- Listener status. Values: Creating: Creating. Active: Running. Pending: Changing configuration. Disabled: Stopped. Deleting: Deleting.
- updated
Time String - Time of the listener's most recent operation.
Look up Existing Listener Resource
Get an existing Listener 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?: ListenerState, opts?: CustomResourceOptions): Listener@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
access_log_record_customized_headers_enabled: Optional[str] = None,
acl_ids: Optional[Sequence[str]] = None,
acl_status: Optional[str] = None,
acl_type: Optional[str] = None,
ca_certificate_id: Optional[str] = None,
ca_certificate_source: Optional[str] = None,
cert_center_certificate_id: Optional[str] = None,
certificate_id: Optional[str] = None,
certificate_source: Optional[str] = None,
created_time: Optional[str] = None,
customized_cfg_id: Optional[str] = None,
description: Optional[str] = None,
domain_extensions: Optional[Sequence[ListenerDomainExtensionArgs]] = None,
enable_http2: Optional[str] = None,
enable_quic: Optional[str] = None,
enabled: Optional[str] = None,
listener_id: Optional[str] = None,
listener_name: Optional[str] = None,
load_balancer_id: Optional[str] = None,
pca_leaf_certificate_id: Optional[str] = None,
pca_root_ca_certificate_id: Optional[str] = None,
pca_sub_ca_certificate_id: Optional[str] = None,
port: Optional[int] = None,
project_name: Optional[str] = None,
protocol: Optional[str] = None,
server_group_id: Optional[str] = None,
server_groups: Optional[Sequence[ListenerServerGroupArgs]] = None,
status: Optional[str] = None,
tags: Optional[Sequence[ListenerTagArgs]] = None,
updated_time: Optional[str] = None) -> Listenerfunc GetListener(ctx *Context, name string, id IDInput, state *ListenerState, opts ...ResourceOption) (*Listener, error)public static Listener Get(string name, Input<string> id, ListenerState? state, CustomResourceOptions? opts = null)public static Listener get(String name, Output<String> id, ListenerState state, CustomResourceOptions options)resources: _: type: volcenginecc:alb:Listener get: id: ${id}- 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.
- Access
Log stringRecord Customized Headers Enabled - Whether the listener has enabled the 'Log custom header in access logs' feature: on: Feature is enabled. off: Feature is not enabled.
- Acl
Ids List<string> - Access control policy group ID bound to the listener. When the AclStatus parameter is set to on, AclIds is required.
- Acl
Status string - Enable access control. Values: on: enabled. off: disabled (default).
- Acl
Type string - Access control method. Values: white: allowlist mode. The listener only forwards requests from IP addresses or address ranges set in the selected access control policy group. If no IP is added to the selected policy group, the listener does not forward any requests. black: denylist mode. The listener only rejects requests from IP addresses or address ranges set in the selected access control policy group. If no IP is added to the selected policy group, the listener forwards all requests. When the AclStatus parameter is set to on, AclType is required.
- Ca
Certificate stringId - CA certificate ID associated with the HTTPS listener. This parameter is used for mutual authentication in HTTPS listeners. If the certificate source is alb, you must specify the CACertificateId parameter.
- Ca
Certificate stringSource - Source of the CA certificate associated with the HTTPS listener, used for mutual authentication. alb (default): Certificate uploaded via ALB. Standard ALB instances do not support certificates from this source. pcaroot: Private root CA certificate purchased or uploaded via Volcano Engine Certificate Center. pcasub: Private subordinate CA certificate purchased or uploaded via Volcano Engine Certificate Center.
- Cert
Center stringCertificate Id - Certificate ID associated with the HTTPS listener. Required when creating an HTTPS listener with the certificate source set to cert_center.
- Certificate
Id string - Certificate ID associated with the HTTPS listener. Required when creating an HTTPS listener and the certificate source is alb.
- Certificate
Source string - The source of the default certificate associated with the HTTPS listener. Values: alb: certificate uploaded via ALB. certcenter: SSL certificate purchased or uploaded through Volcano Engine Certificate Center. pcaleaf: private leaf certificate purchased or uploaded through Volcano Engine Certificate Center.
- Created
Time string - Listener creation time.
- Customized
Cfg stringId - Personalized configuration ID. If not bound, the value is an empty string.
- Description string
- Listener description. Cannot start with http:// or https://. Must start with a letter or Chinese character. May include numbers, English commas (,), periods (.), underscores (_), spaces ( ), equals signs (=), hyphens (-), Chinese commas (,), and Chinese periods (。). Length must be between 1 and 255 characters. If not specified, defaults to an empty string.
- Domain
Extensions List<Volcengine.Listener Domain Extension> - Enable
Http2 string - HTTP2.0 feature switch. This parameter is only valid for HTTPS listeners. Values: on: enabled. off: disabled (default).
- Enable
Quic string - QUIC feature switch. This parameter is only valid for HTTPS listeners. Values: on: enabled. off: disabled (default). Only standard ALB instances support QUIC.
- Enabled string
- Listener on/off status. Values: on: On (default). off: Off.
- Listener
Id string - Listener ID.
- Listener
Name string - Listener name. If not specified, named in the format 'protocol-port'. Cannot start with http:// or https://. Must start with a letter or Chinese character and can include numbers, dot (.), underscore (_), and hyphen (-). Length must be between 1 and 128 characters.
- Load
Balancer stringId - Load balancer instance ID to which the listener belongs.
- Pca
Leaf stringCertificate Id - Private leaf certificate ID associated with the HTTPS listener. Required when creating an HTTPS listener and the certificate source is pca_leaf.
- Pca
Root stringCa Certificate Id - CA certificate ID associated with the HTTPS listener. This parameter is used for mutual authentication on HTTPS listeners. When the certificate source is pca_root, you must specify the PcaRootCACertificateId parameter.
- Pca
Sub stringCa Certificate Id - CA certificate ID associated with the HTTPS listener. This parameter is used for mutual authentication on HTTPS listeners. When the certificate source is pca_sub, you must specify the PcaSubCACertificateId parameter.
- Port int
- The listener port. Values: 1 - 65535.
- Project
Name string - Name of the project to which the listener belongs.
- Protocol string
- Listener protocol. Supports HTTP and HTTPS protocols.
- Server
Group stringId - Default server group for the listener.
- Server
Groups List<Volcengine.Listener Server Group> - Status string
- Listener status. Values: Creating: Creating. Active: Running. Pending: Changing configuration. Disabled: Stopped. Deleting: Deleting.
-
List<Volcengine.
Listener Tag> - Updated
Time string - Time of the listener's most recent operation.
- Access
Log stringRecord Customized Headers Enabled - Whether the listener has enabled the 'Log custom header in access logs' feature: on: Feature is enabled. off: Feature is not enabled.
- Acl
Ids []string - Access control policy group ID bound to the listener. When the AclStatus parameter is set to on, AclIds is required.
- Acl
Status string - Enable access control. Values: on: enabled. off: disabled (default).
- Acl
Type string - Access control method. Values: white: allowlist mode. The listener only forwards requests from IP addresses or address ranges set in the selected access control policy group. If no IP is added to the selected policy group, the listener does not forward any requests. black: denylist mode. The listener only rejects requests from IP addresses or address ranges set in the selected access control policy group. If no IP is added to the selected policy group, the listener forwards all requests. When the AclStatus parameter is set to on, AclType is required.
- Ca
Certificate stringId - CA certificate ID associated with the HTTPS listener. This parameter is used for mutual authentication in HTTPS listeners. If the certificate source is alb, you must specify the CACertificateId parameter.
- Ca
Certificate stringSource - Source of the CA certificate associated with the HTTPS listener, used for mutual authentication. alb (default): Certificate uploaded via ALB. Standard ALB instances do not support certificates from this source. pcaroot: Private root CA certificate purchased or uploaded via Volcano Engine Certificate Center. pcasub: Private subordinate CA certificate purchased or uploaded via Volcano Engine Certificate Center.
- Cert
Center stringCertificate Id - Certificate ID associated with the HTTPS listener. Required when creating an HTTPS listener with the certificate source set to cert_center.
- Certificate
Id string - Certificate ID associated with the HTTPS listener. Required when creating an HTTPS listener and the certificate source is alb.
- Certificate
Source string - The source of the default certificate associated with the HTTPS listener. Values: alb: certificate uploaded via ALB. certcenter: SSL certificate purchased or uploaded through Volcano Engine Certificate Center. pcaleaf: private leaf certificate purchased or uploaded through Volcano Engine Certificate Center.
- Created
Time string - Listener creation time.
- Customized
Cfg stringId - Personalized configuration ID. If not bound, the value is an empty string.
- Description string
- Listener description. Cannot start with http:// or https://. Must start with a letter or Chinese character. May include numbers, English commas (,), periods (.), underscores (_), spaces ( ), equals signs (=), hyphens (-), Chinese commas (,), and Chinese periods (。). Length must be between 1 and 255 characters. If not specified, defaults to an empty string.
- Domain
Extensions []ListenerDomain Extension Args - Enable
Http2 string - HTTP2.0 feature switch. This parameter is only valid for HTTPS listeners. Values: on: enabled. off: disabled (default).
- Enable
Quic string - QUIC feature switch. This parameter is only valid for HTTPS listeners. Values: on: enabled. off: disabled (default). Only standard ALB instances support QUIC.
- Enabled string
- Listener on/off status. Values: on: On (default). off: Off.
- Listener
Id string - Listener ID.
- Listener
Name string - Listener name. If not specified, named in the format 'protocol-port'. Cannot start with http:// or https://. Must start with a letter or Chinese character and can include numbers, dot (.), underscore (_), and hyphen (-). Length must be between 1 and 128 characters.
- Load
Balancer stringId - Load balancer instance ID to which the listener belongs.
- Pca
Leaf stringCertificate Id - Private leaf certificate ID associated with the HTTPS listener. Required when creating an HTTPS listener and the certificate source is pca_leaf.
- Pca
Root stringCa Certificate Id - CA certificate ID associated with the HTTPS listener. This parameter is used for mutual authentication on HTTPS listeners. When the certificate source is pca_root, you must specify the PcaRootCACertificateId parameter.
- Pca
Sub stringCa Certificate Id - CA certificate ID associated with the HTTPS listener. This parameter is used for mutual authentication on HTTPS listeners. When the certificate source is pca_sub, you must specify the PcaSubCACertificateId parameter.
- Port int
- The listener port. Values: 1 - 65535.
- Project
Name string - Name of the project to which the listener belongs.
- Protocol string
- Listener protocol. Supports HTTP and HTTPS protocols.
- Server
Group stringId - Default server group for the listener.
- Server
Groups []ListenerServer Group Args - Status string
- Listener status. Values: Creating: Creating. Active: Running. Pending: Changing configuration. Disabled: Stopped. Deleting: Deleting.
-
[]Listener
Tag Args - Updated
Time string - Time of the listener's most recent operation.
- access
Log StringRecord Customized Headers Enabled - Whether the listener has enabled the 'Log custom header in access logs' feature: on: Feature is enabled. off: Feature is not enabled.
- acl
Ids List<String> - Access control policy group ID bound to the listener. When the AclStatus parameter is set to on, AclIds is required.
- acl
Status String - Enable access control. Values: on: enabled. off: disabled (default).
- acl
Type String - Access control method. Values: white: allowlist mode. The listener only forwards requests from IP addresses or address ranges set in the selected access control policy group. If no IP is added to the selected policy group, the listener does not forward any requests. black: denylist mode. The listener only rejects requests from IP addresses or address ranges set in the selected access control policy group. If no IP is added to the selected policy group, the listener forwards all requests. When the AclStatus parameter is set to on, AclType is required.
- ca
Certificate StringId - CA certificate ID associated with the HTTPS listener. This parameter is used for mutual authentication in HTTPS listeners. If the certificate source is alb, you must specify the CACertificateId parameter.
- ca
Certificate StringSource - Source of the CA certificate associated with the HTTPS listener, used for mutual authentication. alb (default): Certificate uploaded via ALB. Standard ALB instances do not support certificates from this source. pcaroot: Private root CA certificate purchased or uploaded via Volcano Engine Certificate Center. pcasub: Private subordinate CA certificate purchased or uploaded via Volcano Engine Certificate Center.
- cert
Center StringCertificate Id - Certificate ID associated with the HTTPS listener. Required when creating an HTTPS listener with the certificate source set to cert_center.
- certificate
Id String - Certificate ID associated with the HTTPS listener. Required when creating an HTTPS listener and the certificate source is alb.
- certificate
Source String - The source of the default certificate associated with the HTTPS listener. Values: alb: certificate uploaded via ALB. certcenter: SSL certificate purchased or uploaded through Volcano Engine Certificate Center. pcaleaf: private leaf certificate purchased or uploaded through Volcano Engine Certificate Center.
- created
Time String - Listener creation time.
- customized
Cfg StringId - Personalized configuration ID. If not bound, the value is an empty string.
- description String
- Listener description. Cannot start with http:// or https://. Must start with a letter or Chinese character. May include numbers, English commas (,), periods (.), underscores (_), spaces ( ), equals signs (=), hyphens (-), Chinese commas (,), and Chinese periods (。). Length must be between 1 and 255 characters. If not specified, defaults to an empty string.
- domain
Extensions List<ListenerDomain Extension> - enable
Http2 String - HTTP2.0 feature switch. This parameter is only valid for HTTPS listeners. Values: on: enabled. off: disabled (default).
- enable
Quic String - QUIC feature switch. This parameter is only valid for HTTPS listeners. Values: on: enabled. off: disabled (default). Only standard ALB instances support QUIC.
- enabled String
- Listener on/off status. Values: on: On (default). off: Off.
- listener
Id String - Listener ID.
- listener
Name String - Listener name. If not specified, named in the format 'protocol-port'. Cannot start with http:// or https://. Must start with a letter or Chinese character and can include numbers, dot (.), underscore (_), and hyphen (-). Length must be between 1 and 128 characters.
- load
Balancer StringId - Load balancer instance ID to which the listener belongs.
- pca
Leaf StringCertificate Id - Private leaf certificate ID associated with the HTTPS listener. Required when creating an HTTPS listener and the certificate source is pca_leaf.
- pca
Root StringCa Certificate Id - CA certificate ID associated with the HTTPS listener. This parameter is used for mutual authentication on HTTPS listeners. When the certificate source is pca_root, you must specify the PcaRootCACertificateId parameter.
- pca
Sub StringCa Certificate Id - CA certificate ID associated with the HTTPS listener. This parameter is used for mutual authentication on HTTPS listeners. When the certificate source is pca_sub, you must specify the PcaSubCACertificateId parameter.
- port Integer
- The listener port. Values: 1 - 65535.
- project
Name String - Name of the project to which the listener belongs.
- protocol String
- Listener protocol. Supports HTTP and HTTPS protocols.
- server
Group StringId - Default server group for the listener.
- server
Groups List<ListenerServer Group> - status String
- Listener status. Values: Creating: Creating. Active: Running. Pending: Changing configuration. Disabled: Stopped. Deleting: Deleting.
-
List<Listener
Tag> - updated
Time String - Time of the listener's most recent operation.
- access
Log stringRecord Customized Headers Enabled - Whether the listener has enabled the 'Log custom header in access logs' feature: on: Feature is enabled. off: Feature is not enabled.
- acl
Ids string[] - Access control policy group ID bound to the listener. When the AclStatus parameter is set to on, AclIds is required.
- acl
Status string - Enable access control. Values: on: enabled. off: disabled (default).
- acl
Type string - Access control method. Values: white: allowlist mode. The listener only forwards requests from IP addresses or address ranges set in the selected access control policy group. If no IP is added to the selected policy group, the listener does not forward any requests. black: denylist mode. The listener only rejects requests from IP addresses or address ranges set in the selected access control policy group. If no IP is added to the selected policy group, the listener forwards all requests. When the AclStatus parameter is set to on, AclType is required.
- ca
Certificate stringId - CA certificate ID associated with the HTTPS listener. This parameter is used for mutual authentication in HTTPS listeners. If the certificate source is alb, you must specify the CACertificateId parameter.
- ca
Certificate stringSource - Source of the CA certificate associated with the HTTPS listener, used for mutual authentication. alb (default): Certificate uploaded via ALB. Standard ALB instances do not support certificates from this source. pcaroot: Private root CA certificate purchased or uploaded via Volcano Engine Certificate Center. pcasub: Private subordinate CA certificate purchased or uploaded via Volcano Engine Certificate Center.
- cert
Center stringCertificate Id - Certificate ID associated with the HTTPS listener. Required when creating an HTTPS listener with the certificate source set to cert_center.
- certificate
Id string - Certificate ID associated with the HTTPS listener. Required when creating an HTTPS listener and the certificate source is alb.
- certificate
Source string - The source of the default certificate associated with the HTTPS listener. Values: alb: certificate uploaded via ALB. certcenter: SSL certificate purchased or uploaded through Volcano Engine Certificate Center. pcaleaf: private leaf certificate purchased or uploaded through Volcano Engine Certificate Center.
- created
Time string - Listener creation time.
- customized
Cfg stringId - Personalized configuration ID. If not bound, the value is an empty string.
- description string
- Listener description. Cannot start with http:// or https://. Must start with a letter or Chinese character. May include numbers, English commas (,), periods (.), underscores (_), spaces ( ), equals signs (=), hyphens (-), Chinese commas (,), and Chinese periods (。). Length must be between 1 and 255 characters. If not specified, defaults to an empty string.
- domain
Extensions ListenerDomain Extension[] - enable
Http2 string - HTTP2.0 feature switch. This parameter is only valid for HTTPS listeners. Values: on: enabled. off: disabled (default).
- enable
Quic string - QUIC feature switch. This parameter is only valid for HTTPS listeners. Values: on: enabled. off: disabled (default). Only standard ALB instances support QUIC.
- enabled string
- Listener on/off status. Values: on: On (default). off: Off.
- listener
Id string - Listener ID.
- listener
Name string - Listener name. If not specified, named in the format 'protocol-port'. Cannot start with http:// or https://. Must start with a letter or Chinese character and can include numbers, dot (.), underscore (_), and hyphen (-). Length must be between 1 and 128 characters.
- load
Balancer stringId - Load balancer instance ID to which the listener belongs.
- pca
Leaf stringCertificate Id - Private leaf certificate ID associated with the HTTPS listener. Required when creating an HTTPS listener and the certificate source is pca_leaf.
- pca
Root stringCa Certificate Id - CA certificate ID associated with the HTTPS listener. This parameter is used for mutual authentication on HTTPS listeners. When the certificate source is pca_root, you must specify the PcaRootCACertificateId parameter.
- pca
Sub stringCa Certificate Id - CA certificate ID associated with the HTTPS listener. This parameter is used for mutual authentication on HTTPS listeners. When the certificate source is pca_sub, you must specify the PcaSubCACertificateId parameter.
- port number
- The listener port. Values: 1 - 65535.
- project
Name string - Name of the project to which the listener belongs.
- protocol string
- Listener protocol. Supports HTTP and HTTPS protocols.
- server
Group stringId - Default server group for the listener.
- server
Groups ListenerServer Group[] - status string
- Listener status. Values: Creating: Creating. Active: Running. Pending: Changing configuration. Disabled: Stopped. Deleting: Deleting.
-
Listener
Tag[] - updated
Time string - Time of the listener's most recent operation.
- access_
log_ strrecord_ customized_ headers_ enabled - Whether the listener has enabled the 'Log custom header in access logs' feature: on: Feature is enabled. off: Feature is not enabled.
- acl_
ids Sequence[str] - Access control policy group ID bound to the listener. When the AclStatus parameter is set to on, AclIds is required.
- acl_
status str - Enable access control. Values: on: enabled. off: disabled (default).
- acl_
type str - Access control method. Values: white: allowlist mode. The listener only forwards requests from IP addresses or address ranges set in the selected access control policy group. If no IP is added to the selected policy group, the listener does not forward any requests. black: denylist mode. The listener only rejects requests from IP addresses or address ranges set in the selected access control policy group. If no IP is added to the selected policy group, the listener forwards all requests. When the AclStatus parameter is set to on, AclType is required.
- ca_
certificate_ strid - CA certificate ID associated with the HTTPS listener. This parameter is used for mutual authentication in HTTPS listeners. If the certificate source is alb, you must specify the CACertificateId parameter.
- ca_
certificate_ strsource - Source of the CA certificate associated with the HTTPS listener, used for mutual authentication. alb (default): Certificate uploaded via ALB. Standard ALB instances do not support certificates from this source. pcaroot: Private root CA certificate purchased or uploaded via Volcano Engine Certificate Center. pcasub: Private subordinate CA certificate purchased or uploaded via Volcano Engine Certificate Center.
- cert_
center_ strcertificate_ id - Certificate ID associated with the HTTPS listener. Required when creating an HTTPS listener with the certificate source set to cert_center.
- certificate_
id str - Certificate ID associated with the HTTPS listener. Required when creating an HTTPS listener and the certificate source is alb.
- certificate_
source str - The source of the default certificate associated with the HTTPS listener. Values: alb: certificate uploaded via ALB. certcenter: SSL certificate purchased or uploaded through Volcano Engine Certificate Center. pcaleaf: private leaf certificate purchased or uploaded through Volcano Engine Certificate Center.
- created_
time str - Listener creation time.
- customized_
cfg_ strid - Personalized configuration ID. If not bound, the value is an empty string.
- description str
- Listener description. Cannot start with http:// or https://. Must start with a letter or Chinese character. May include numbers, English commas (,), periods (.), underscores (_), spaces ( ), equals signs (=), hyphens (-), Chinese commas (,), and Chinese periods (。). Length must be between 1 and 255 characters. If not specified, defaults to an empty string.
- domain_
extensions Sequence[ListenerDomain Extension Args] - enable_
http2 str - HTTP2.0 feature switch. This parameter is only valid for HTTPS listeners. Values: on: enabled. off: disabled (default).
- enable_
quic str - QUIC feature switch. This parameter is only valid for HTTPS listeners. Values: on: enabled. off: disabled (default). Only standard ALB instances support QUIC.
- enabled str
- Listener on/off status. Values: on: On (default). off: Off.
- listener_
id str - Listener ID.
- listener_
name str - Listener name. If not specified, named in the format 'protocol-port'. Cannot start with http:// or https://. Must start with a letter or Chinese character and can include numbers, dot (.), underscore (_), and hyphen (-). Length must be between 1 and 128 characters.
- load_
balancer_ strid - Load balancer instance ID to which the listener belongs.
- pca_
leaf_ strcertificate_ id - Private leaf certificate ID associated with the HTTPS listener. Required when creating an HTTPS listener and the certificate source is pca_leaf.
- pca_
root_ strca_ certificate_ id - CA certificate ID associated with the HTTPS listener. This parameter is used for mutual authentication on HTTPS listeners. When the certificate source is pca_root, you must specify the PcaRootCACertificateId parameter.
- pca_
sub_ strca_ certificate_ id - CA certificate ID associated with the HTTPS listener. This parameter is used for mutual authentication on HTTPS listeners. When the certificate source is pca_sub, you must specify the PcaSubCACertificateId parameter.
- port int
- The listener port. Values: 1 - 65535.
- project_
name str - Name of the project to which the listener belongs.
- protocol str
- Listener protocol. Supports HTTP and HTTPS protocols.
- server_
group_ strid - Default server group for the listener.
- server_
groups Sequence[ListenerServer Group Args] - status str
- Listener status. Values: Creating: Creating. Active: Running. Pending: Changing configuration. Disabled: Stopped. Deleting: Deleting.
-
Sequence[Listener
Tag Args] - updated_
time str - Time of the listener's most recent operation.
- access
Log StringRecord Customized Headers Enabled - Whether the listener has enabled the 'Log custom header in access logs' feature: on: Feature is enabled. off: Feature is not enabled.
- acl
Ids List<String> - Access control policy group ID bound to the listener. When the AclStatus parameter is set to on, AclIds is required.
- acl
Status String - Enable access control. Values: on: enabled. off: disabled (default).
- acl
Type String - Access control method. Values: white: allowlist mode. The listener only forwards requests from IP addresses or address ranges set in the selected access control policy group. If no IP is added to the selected policy group, the listener does not forward any requests. black: denylist mode. The listener only rejects requests from IP addresses or address ranges set in the selected access control policy group. If no IP is added to the selected policy group, the listener forwards all requests. When the AclStatus parameter is set to on, AclType is required.
- ca
Certificate StringId - CA certificate ID associated with the HTTPS listener. This parameter is used for mutual authentication in HTTPS listeners. If the certificate source is alb, you must specify the CACertificateId parameter.
- ca
Certificate StringSource - Source of the CA certificate associated with the HTTPS listener, used for mutual authentication. alb (default): Certificate uploaded via ALB. Standard ALB instances do not support certificates from this source. pcaroot: Private root CA certificate purchased or uploaded via Volcano Engine Certificate Center. pcasub: Private subordinate CA certificate purchased or uploaded via Volcano Engine Certificate Center.
- cert
Center StringCertificate Id - Certificate ID associated with the HTTPS listener. Required when creating an HTTPS listener with the certificate source set to cert_center.
- certificate
Id String - Certificate ID associated with the HTTPS listener. Required when creating an HTTPS listener and the certificate source is alb.
- certificate
Source String - The source of the default certificate associated with the HTTPS listener. Values: alb: certificate uploaded via ALB. certcenter: SSL certificate purchased or uploaded through Volcano Engine Certificate Center. pcaleaf: private leaf certificate purchased or uploaded through Volcano Engine Certificate Center.
- created
Time String - Listener creation time.
- customized
Cfg StringId - Personalized configuration ID. If not bound, the value is an empty string.
- description String
- Listener description. Cannot start with http:// or https://. Must start with a letter or Chinese character. May include numbers, English commas (,), periods (.), underscores (_), spaces ( ), equals signs (=), hyphens (-), Chinese commas (,), and Chinese periods (。). Length must be between 1 and 255 characters. If not specified, defaults to an empty string.
- domain
Extensions List<Property Map> - enable
Http2 String - HTTP2.0 feature switch. This parameter is only valid for HTTPS listeners. Values: on: enabled. off: disabled (default).
- enable
Quic String - QUIC feature switch. This parameter is only valid for HTTPS listeners. Values: on: enabled. off: disabled (default). Only standard ALB instances support QUIC.
- enabled String
- Listener on/off status. Values: on: On (default). off: Off.
- listener
Id String - Listener ID.
- listener
Name String - Listener name. If not specified, named in the format 'protocol-port'. Cannot start with http:// or https://. Must start with a letter or Chinese character and can include numbers, dot (.), underscore (_), and hyphen (-). Length must be between 1 and 128 characters.
- load
Balancer StringId - Load balancer instance ID to which the listener belongs.
- pca
Leaf StringCertificate Id - Private leaf certificate ID associated with the HTTPS listener. Required when creating an HTTPS listener and the certificate source is pca_leaf.
- pca
Root StringCa Certificate Id - CA certificate ID associated with the HTTPS listener. This parameter is used for mutual authentication on HTTPS listeners. When the certificate source is pca_root, you must specify the PcaRootCACertificateId parameter.
- pca
Sub StringCa Certificate Id - CA certificate ID associated with the HTTPS listener. This parameter is used for mutual authentication on HTTPS listeners. When the certificate source is pca_sub, you must specify the PcaSubCACertificateId parameter.
- port Number
- The listener port. Values: 1 - 65535.
- project
Name String - Name of the project to which the listener belongs.
- protocol String
- Listener protocol. Supports HTTP and HTTPS protocols.
- server
Group StringId - Default server group for the listener.
- server
Groups List<Property Map> - status String
- Listener status. Values: Creating: Creating. Active: Running. Pending: Changing configuration. Disabled: Stopped. Deleting: Deleting.
- List<Property Map>
- updated
Time String - Time of the listener's most recent operation.
Supporting Types
ListenerDomainExtension, ListenerDomainExtensionArgs
- Cert
Center stringCertificate Id - Server certificate ID used by the domain. Effective when the certificate source is cert_center.
- Certificate
Id string - Server certificate ID used by the domain. Effective when the certificate source is alb.
- Certificate
Source string - Source of the server certificate used by the domain. Values: alb: certificate uploaded via ALB. cert_center: SSL certificate purchased or uploaded through Volcano Engine Certificate Center.
- Domain string
- Domain name. Usually cannot be empty. If the instance supports automatic selection of extended certificates (SniAutoMatch is on), Domain must be an empty string. Must contain at least one '.' and cannot start or end with '.'. Only lowercase letters, digits, '.', '-', and '' are allowed. Length must be between 1 and 128 characters. Wildcard domain: use '' to replace one or more characters. '' must be at the beginning or end of the domain name. '' cannot appear twice in the same domain name. No characters except '.' can be before or after '*'. Exact domain: a domain name that meets domain name specifications. Domain names under the same HTTPS listener cannot be duplicated. Domain matching is case-insensitive.
- Pca
Leaf stringCertificate Id - Private leaf certificate ID associated with the HTTPS listener. Required when creating an HTTPS listener and the certificate source is pca_leaf.
- San string
- If the instance supports automatic selection of extended certificates (SniAutoMatch is on), Domain is an empty string. San refers to the extended domain names of the certificate, separated by commas.
- Cert
Center stringCertificate Id - Server certificate ID used by the domain. Effective when the certificate source is cert_center.
- Certificate
Id string - Server certificate ID used by the domain. Effective when the certificate source is alb.
- Certificate
Source string - Source of the server certificate used by the domain. Values: alb: certificate uploaded via ALB. cert_center: SSL certificate purchased or uploaded through Volcano Engine Certificate Center.
- Domain string
- Domain name. Usually cannot be empty. If the instance supports automatic selection of extended certificates (SniAutoMatch is on), Domain must be an empty string. Must contain at least one '.' and cannot start or end with '.'. Only lowercase letters, digits, '.', '-', and '' are allowed. Length must be between 1 and 128 characters. Wildcard domain: use '' to replace one or more characters. '' must be at the beginning or end of the domain name. '' cannot appear twice in the same domain name. No characters except '.' can be before or after '*'. Exact domain: a domain name that meets domain name specifications. Domain names under the same HTTPS listener cannot be duplicated. Domain matching is case-insensitive.
- Pca
Leaf stringCertificate Id - Private leaf certificate ID associated with the HTTPS listener. Required when creating an HTTPS listener and the certificate source is pca_leaf.
- San string
- If the instance supports automatic selection of extended certificates (SniAutoMatch is on), Domain is an empty string. San refers to the extended domain names of the certificate, separated by commas.
- cert
Center StringCertificate Id - Server certificate ID used by the domain. Effective when the certificate source is cert_center.
- certificate
Id String - Server certificate ID used by the domain. Effective when the certificate source is alb.
- certificate
Source String - Source of the server certificate used by the domain. Values: alb: certificate uploaded via ALB. cert_center: SSL certificate purchased or uploaded through Volcano Engine Certificate Center.
- domain String
- Domain name. Usually cannot be empty. If the instance supports automatic selection of extended certificates (SniAutoMatch is on), Domain must be an empty string. Must contain at least one '.' and cannot start or end with '.'. Only lowercase letters, digits, '.', '-', and '' are allowed. Length must be between 1 and 128 characters. Wildcard domain: use '' to replace one or more characters. '' must be at the beginning or end of the domain name. '' cannot appear twice in the same domain name. No characters except '.' can be before or after '*'. Exact domain: a domain name that meets domain name specifications. Domain names under the same HTTPS listener cannot be duplicated. Domain matching is case-insensitive.
- pca
Leaf StringCertificate Id - Private leaf certificate ID associated with the HTTPS listener. Required when creating an HTTPS listener and the certificate source is pca_leaf.
- san String
- If the instance supports automatic selection of extended certificates (SniAutoMatch is on), Domain is an empty string. San refers to the extended domain names of the certificate, separated by commas.
- cert
Center stringCertificate Id - Server certificate ID used by the domain. Effective when the certificate source is cert_center.
- certificate
Id string - Server certificate ID used by the domain. Effective when the certificate source is alb.
- certificate
Source string - Source of the server certificate used by the domain. Values: alb: certificate uploaded via ALB. cert_center: SSL certificate purchased or uploaded through Volcano Engine Certificate Center.
- domain string
- Domain name. Usually cannot be empty. If the instance supports automatic selection of extended certificates (SniAutoMatch is on), Domain must be an empty string. Must contain at least one '.' and cannot start or end with '.'. Only lowercase letters, digits, '.', '-', and '' are allowed. Length must be between 1 and 128 characters. Wildcard domain: use '' to replace one or more characters. '' must be at the beginning or end of the domain name. '' cannot appear twice in the same domain name. No characters except '.' can be before or after '*'. Exact domain: a domain name that meets domain name specifications. Domain names under the same HTTPS listener cannot be duplicated. Domain matching is case-insensitive.
- pca
Leaf stringCertificate Id - Private leaf certificate ID associated with the HTTPS listener. Required when creating an HTTPS listener and the certificate source is pca_leaf.
- san string
- If the instance supports automatic selection of extended certificates (SniAutoMatch is on), Domain is an empty string. San refers to the extended domain names of the certificate, separated by commas.
- cert_
center_ strcertificate_ id - Server certificate ID used by the domain. Effective when the certificate source is cert_center.
- certificate_
id str - Server certificate ID used by the domain. Effective when the certificate source is alb.
- certificate_
source str - Source of the server certificate used by the domain. Values: alb: certificate uploaded via ALB. cert_center: SSL certificate purchased or uploaded through Volcano Engine Certificate Center.
- domain str
- Domain name. Usually cannot be empty. If the instance supports automatic selection of extended certificates (SniAutoMatch is on), Domain must be an empty string. Must contain at least one '.' and cannot start or end with '.'. Only lowercase letters, digits, '.', '-', and '' are allowed. Length must be between 1 and 128 characters. Wildcard domain: use '' to replace one or more characters. '' must be at the beginning or end of the domain name. '' cannot appear twice in the same domain name. No characters except '.' can be before or after '*'. Exact domain: a domain name that meets domain name specifications. Domain names under the same HTTPS listener cannot be duplicated. Domain matching is case-insensitive.
- pca_
leaf_ strcertificate_ id - Private leaf certificate ID associated with the HTTPS listener. Required when creating an HTTPS listener and the certificate source is pca_leaf.
- san str
- If the instance supports automatic selection of extended certificates (SniAutoMatch is on), Domain is an empty string. San refers to the extended domain names of the certificate, separated by commas.
- cert
Center StringCertificate Id - Server certificate ID used by the domain. Effective when the certificate source is cert_center.
- certificate
Id String - Server certificate ID used by the domain. Effective when the certificate source is alb.
- certificate
Source String - Source of the server certificate used by the domain. Values: alb: certificate uploaded via ALB. cert_center: SSL certificate purchased or uploaded through Volcano Engine Certificate Center.
- domain String
- Domain name. Usually cannot be empty. If the instance supports automatic selection of extended certificates (SniAutoMatch is on), Domain must be an empty string. Must contain at least one '.' and cannot start or end with '.'. Only lowercase letters, digits, '.', '-', and '' are allowed. Length must be between 1 and 128 characters. Wildcard domain: use '' to replace one or more characters. '' must be at the beginning or end of the domain name. '' cannot appear twice in the same domain name. No characters except '.' can be before or after '*'. Exact domain: a domain name that meets domain name specifications. Domain names under the same HTTPS listener cannot be duplicated. Domain matching is case-insensitive.
- pca
Leaf StringCertificate Id - Private leaf certificate ID associated with the HTTPS listener. Required when creating an HTTPS listener and the certificate source is pca_leaf.
- san String
- If the instance supports automatic selection of extended certificates (SniAutoMatch is on), Domain is an empty string. San refers to the extended domain names of the certificate, separated by commas.
ListenerServerGroup, ListenerServerGroupArgs
- Server
Group stringId - Server group ID.
- Server
Group stringName - Server group name.
- Server
Group stringId - Server group ID.
- Server
Group stringName - Server group name.
- server
Group StringId - Server group ID.
- server
Group StringName - Server group name.
- server
Group stringId - Server group ID.
- server
Group stringName - Server group name.
- server_
group_ strid - Server group ID.
- server_
group_ strname - Server group name.
- server
Group StringId - Server group ID.
- server
Group StringName - Server group name.
ListenerTag, ListenerTagArgs
- Key string
- Tag key for user tags. Rules are as follows: Length must be between 1 and 128 characters. Case sensitive. Cannot start with any case combination of volc:. Cannot start or end with a space. Can include characters from any language, numbers, spaces, underscores (_), periods (.), colons (:), slashes (/), equals signs (=), plus signs (+), minus signs (-), and @. Tag keys for the same resource must be unique.
- Value string
- The value of the user tag. Rules: Length must be between 0 and 256 characters. Case sensitive. Cannot start or end with a space. May include characters from any language, numbers, spaces, underscores (_), periods (.), colons (:), slashes (/), equals signs (=), plus signs (+), hyphens (-), and @.
- Key string
- Tag key for user tags. Rules are as follows: Length must be between 1 and 128 characters. Case sensitive. Cannot start with any case combination of volc:. Cannot start or end with a space. Can include characters from any language, numbers, spaces, underscores (_), periods (.), colons (:), slashes (/), equals signs (=), plus signs (+), minus signs (-), and @. Tag keys for the same resource must be unique.
- Value string
- The value of the user tag. Rules: Length must be between 0 and 256 characters. Case sensitive. Cannot start or end with a space. May include characters from any language, numbers, spaces, underscores (_), periods (.), colons (:), slashes (/), equals signs (=), plus signs (+), hyphens (-), and @.
- key String
- Tag key for user tags. Rules are as follows: Length must be between 1 and 128 characters. Case sensitive. Cannot start with any case combination of volc:. Cannot start or end with a space. Can include characters from any language, numbers, spaces, underscores (_), periods (.), colons (:), slashes (/), equals signs (=), plus signs (+), minus signs (-), and @. Tag keys for the same resource must be unique.
- value String
- The value of the user tag. Rules: Length must be between 0 and 256 characters. Case sensitive. Cannot start or end with a space. May include characters from any language, numbers, spaces, underscores (_), periods (.), colons (:), slashes (/), equals signs (=), plus signs (+), hyphens (-), and @.
- key string
- Tag key for user tags. Rules are as follows: Length must be between 1 and 128 characters. Case sensitive. Cannot start with any case combination of volc:. Cannot start or end with a space. Can include characters from any language, numbers, spaces, underscores (_), periods (.), colons (:), slashes (/), equals signs (=), plus signs (+), minus signs (-), and @. Tag keys for the same resource must be unique.
- value string
- The value of the user tag. Rules: Length must be between 0 and 256 characters. Case sensitive. Cannot start or end with a space. May include characters from any language, numbers, spaces, underscores (_), periods (.), colons (:), slashes (/), equals signs (=), plus signs (+), hyphens (-), and @.
- key str
- Tag key for user tags. Rules are as follows: Length must be between 1 and 128 characters. Case sensitive. Cannot start with any case combination of volc:. Cannot start or end with a space. Can include characters from any language, numbers, spaces, underscores (_), periods (.), colons (:), slashes (/), equals signs (=), plus signs (+), minus signs (-), and @. Tag keys for the same resource must be unique.
- value str
- The value of the user tag. Rules: Length must be between 0 and 256 characters. Case sensitive. Cannot start or end with a space. May include characters from any language, numbers, spaces, underscores (_), periods (.), colons (:), slashes (/), equals signs (=), plus signs (+), hyphens (-), and @.
- key String
- Tag key for user tags. Rules are as follows: Length must be between 1 and 128 characters. Case sensitive. Cannot start with any case combination of volc:. Cannot start or end with a space. Can include characters from any language, numbers, spaces, underscores (_), periods (.), colons (:), slashes (/), equals signs (=), plus signs (+), minus signs (-), and @. Tag keys for the same resource must be unique.
- value String
- The value of the user tag. Rules: Length must be between 0 and 256 characters. Case sensitive. Cannot start or end with a space. May include characters from any language, numbers, spaces, underscores (_), periods (.), colons (:), slashes (/), equals signs (=), plus signs (+), hyphens (-), and @.
Import
$ pulumi import volcenginecc:alb/listener:Listener example "listener_id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- volcenginecc volcengine/pulumi-volcenginecc
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
volcengineccTerraform Provider.
published on Thursday, Apr 23, 2026 by Volcengine
