CloudFrontWebDistributionProps#viewerCertificate
with ViewerCertificate#acmCertificate
@Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)",
date="2023-01-25T18:29:07.119Z")
@Deprecated
public interface AliasConfiguration
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.
|
java.lang.String |
getAcmCertRef()
Deprecated.
|
java.util.List<java.lang.String> |
getNames()
Deprecated.
|
default SecurityPolicyProtocol |
getSecurityPolicy()
Deprecated.
|
default SSLMethod |
getSslMethod()
Deprecated.
|
@Deprecated java.lang.String getAcmCertRef()
@Deprecated java.util.List<java.lang.String> getNames()
Both main domain name and Subject Alternative Names.
@Deprecated 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
@Deprecated default SSLMethod getSslMethod()
See the notes on SSLMethod if you wish to use other SSL termination types.
Default: SSLMethod.SNI
@Deprecated static AliasConfiguration.Builder builder()
AliasConfiguration.Builder
of AliasConfiguration