File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
packages/domain-hosting/lib Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -27,17 +27,17 @@ type DNSRecord =
2727
2828export interface DomainHostingProps {
2929 /**
30- * Domain name for the hosted zone. This is also the base for the certificate if created.
30+ * Domain name for the hosted zone. This is also the base for the certificate if created
3131 */
3232 domainName : string ;
3333 /**
34- * If you are using a zone that already exists just put its id instead.
34+ * If you are using a zone that already exists just put its id instead
3535 * This will make the CDK update the existing zone in place (it will not remove records that aren't in the code yet)
3636 */
3737 hostedZoneId ?: string ;
3838 /**
39- * Explicitly state if you want a certificate created for the default domain `domainName` value.
40- * Hosted Zones do not require a cert on creation.
39+ * Explicitly state if you want a certificate created for the default domain `domainName` value.
40+ * Hosted Zones do not require a cert on creation
4141 * This is set to true if you pass in `certificateSubDomains`
4242 * Created in `us-east-1`
4343 * @default false
@@ -94,7 +94,9 @@ export class DomainHosting extends Construct {
9494 // @deprecated but no replacement for generating cert and creating CNAMEs in zone
9595 new DnsValidatedCertificate ( this , "Certificate" , {
9696 domainName : domainName ,
97- subjectAlternativeNames : [ ...certificateSubDomains . map ( s => `${ s } .${ domainName } ` ) ] ,
97+ subjectAlternativeNames : [
98+ ...certificateSubDomains . map ( s => `${ s } .${ domainName } ` ) ,
99+ ] ,
98100 hostedZone : hostedZone ,
99101 region : "us-east-1" ,
100102 } ) ;
You can’t perform that action at this time.
0 commit comments