Interface AliasConfiguration

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
AliasConfiguration.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:43.414Z") @Stability(Deprecated) @Deprecated public interface AliasConfiguration extends software.amazon.jsii.JsiiSerializable
Deprecated.
see
invalid @link
CloudFrontWebDistributionProps#viewerCertificate
with
invalid @link
ViewerCertificate#acmCertificate
(deprecated) Configuration for custom domain names.

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();
 

  • Method Details