@Stability(value=Stable) public static final class IngressTls.Builder extends Object implements software.amazon.jsii.Builder<IngressTls>
IngressTls| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
IngressTls |
build()
Builds the configured instance.
|
IngressTls.Builder |
hosts(List<String> hosts)
Sets the value of
IngressTls.getHosts() |
IngressTls.Builder |
secret(ISecret secret)
Sets the value of
IngressTls.getSecret() |
@Stability(value=Stable) public IngressTls.Builder hosts(List<String> hosts)
IngressTls.getHosts()hosts - Hosts are a list of hosts included in the TLS certificate.
The values in
this list must match the name/s used in the TLS Secret.this@Stability(value=Stable) public IngressTls.Builder secret(ISecret secret)
IngressTls.getSecret()secret - Secret is the secret that contains the certificate and key used to terminate SSL traffic on 443.
If the SNI host in a listener conflicts with
the "Host" header field used by an IngressRule, the SNI host is used for
termination and value of the Host header is used for routing.this@Stability(value=Stable) public IngressTls build()
build in interface software.amazon.jsii.Builder<IngressTls>IngressTlsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.