You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Readme.md
+23-7Lines changed: 23 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,13 +58,29 @@ open serverless.yml and add the following:
58
58
59
59
custom:
60
60
customCertificate:
61
-
certificateName: 'abc.somedomain.io' //required
62
-
idempotencyToken: 'abcsomedomainio' //optional
63
-
hostedZoneName: 'somedomain.io.' //required if hostedZoneId is not set
64
-
hostedZoneId: 'XXXXXXXXX' //required if hostedZoneName is not set
65
-
writeCertInfoToFile: false // optional default is false. if you set it to true you will get a new file (after executing serverless create-cert), that contains certificate info that you can use in your deploy pipeline
66
-
certInfoFileName: 'cert-info.yml' // optional, only used when writeCertInfoToFile is set to true. It sets the name of the file containing the cert info
67
-
region: eu-west-1 // optional - default is us-east-1 which is required for custom api gateway domains of Type Edge (default)
61
+
//required
62
+
certificateName: 'abc.somedomain.io'
63
+
//optional
64
+
idempotencyToken: 'abcsomedomainio'
65
+
//required if hostedZoneId is not set
66
+
hostedZoneName: 'somedomain.io.'
67
+
//required if hostedZoneName is not set
68
+
hostedZoneId: 'XXXXXXXXX'
69
+
// optional default is false. if you set it to true you will get a new file (after executing serverless create-cert), that contains certificate info that you can use in your deploy pipeline
70
+
writeCertInfoToFile: false
71
+
// optional, only used when writeCertInfoToFile is set to true. It sets the name of the file containing the cert info
72
+
certInfoFileName: 'cert-info.yml'
73
+
// optional - default is us-east-1 which is required for custom api gateway domains of Type Edge (default)
74
+
region: eu-west-1
75
+
//optional - see SubjectAlternativeNames https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/ACM.html#requestCertificate-property
76
+
subjectAlternativeNames :
77
+
- 'www.somedomain.io'
78
+
- 'def.somedomain.io'
79
+
//optional - see https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/ACM.html#addTagsToCertificate-property
80
+
//if you want to give your certificate a name that is shown in the ACM Console you can add a Tag with the key "Name"
0 commit comments