CloudFrontWebDistributionProps#viewerCertificate with ViewerCertificate#acmCertificate@Generated(value="jsii-pacmak/1.50.0 (build d1830a4)", date="2022-01-11T17:58:48.609Z") @Stability(value=Deprecated) @Deprecated public interface AliasConfiguration extends software.amazon.jsii.JsiiSerializable
CloudFront can use a custom domain that you provide instead of a "cloudfront.net" domain. To use this feature you must provide the list of additional domains, and the ACM Certificate that CloudFront should use for these additional domains.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.cloudfront.*;
AliasConfiguration aliasConfiguration = AliasConfiguration.builder()
.acmCertRef("acmCertRef")
.names(List.of("names"))
// the properties below are optional
.securityPolicy(SecurityPolicyProtocol.SSL_V3)
.sslMethod(SSLMethod.SNI)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
AliasConfiguration.Builder
Deprecated.
|
static class |
AliasConfiguration.Jsii$Proxy
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static AliasConfiguration.Builder |
builder()
Deprecated.
|
String |
getAcmCertRef()
Deprecated.
|
List<String> |
getNames()
Deprecated.
|
default SecurityPolicyProtocol |
getSecurityPolicy()
Deprecated.
|
default SSLMethod |
getSslMethod()
Deprecated.
|
@Stability(value=Deprecated) @Deprecated @NotNull String getAcmCertRef()
@Stability(value=Deprecated) @Deprecated @NotNull List<String> getNames()
Both main domain name and Subject Alternative Names.
@Stability(value=Deprecated) @Deprecated @Nullable default SecurityPolicyProtocol getSecurityPolicy()
CloudFront serves your objects only to browsers or devices that support at least the SSL version that you specify.
Default: - SSLv3 if sslMethod VIP, TLSv1 if sslMethod SNI
@Stability(value=Deprecated) @Deprecated @Nullable default SSLMethod getSslMethod()
See the notes on SSLMethod if you wish to use other SSL termination types.
Default: SSLMethod.SNI
https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_ViewerCertificate.html@Stability(value=Deprecated) @Deprecated static AliasConfiguration.Builder builder()
AliasConfiguration.Builder of AliasConfigurationCopyright © 2022. All rights reserved.