@maestro-js/aws-cdk-recipes 1.0.0-alpha.0 → 1.0.0-alpha.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +9 -0
- package/dist/index.js +1 -0
- package/package.json +5 -3
package/dist/index.d.ts
CHANGED
|
@@ -2008,6 +2008,7 @@ declare namespace Redis {
|
|
|
2008
2008
|
* ```ts
|
|
2009
2009
|
* const email = new Email(this, 'Transactional', {
|
|
2010
2010
|
* sender: 'notifications.example.com',
|
|
2011
|
+
* configurationSetName: 'transactional',
|
|
2011
2012
|
* hostedZone: zone,
|
|
2012
2013
|
* events: [{ types: ['bounce', 'complaint'], snsTopic: alertsTopic }]
|
|
2013
2014
|
* })
|
|
@@ -2029,6 +2030,7 @@ declare class Email extends Construct {
|
|
|
2029
2030
|
* ```ts
|
|
2030
2031
|
* const props: Email.Props = {
|
|
2031
2032
|
* sender: 'notifications.example.com',
|
|
2033
|
+
* configurationSetName: 'transactional',
|
|
2032
2034
|
* hostedZone: zone,
|
|
2033
2035
|
* dmarc: 'v=DMARC1; p=quarantine; rua=mailto:dmarc@example.com;'
|
|
2034
2036
|
* }
|
|
@@ -2070,6 +2072,13 @@ declare namespace Email {
|
|
|
2070
2072
|
* or an email address (e.g. `'hello@example.com'`) to verify a single address.
|
|
2071
2073
|
*/
|
|
2072
2074
|
sender: string;
|
|
2075
|
+
/**
|
|
2076
|
+
* The name of the SES configuration set.
|
|
2077
|
+
*
|
|
2078
|
+
* This is required so that the name is predictable and can be passed to the
|
|
2079
|
+
* `@maestro-js/mail` SES driver at runtime.
|
|
2080
|
+
*/
|
|
2081
|
+
configurationSetName: string;
|
|
2073
2082
|
/**
|
|
2074
2083
|
* A Route 53 hosted zone for automatic DNS verification and DMARC record creation.
|
|
2075
2084
|
*
|
package/dist/index.js
CHANGED
|
@@ -2029,6 +2029,7 @@ var Email = class extends Construct17 {
|
|
|
2029
2029
|
throw new Error("DMARC records can only be configured for domain senders, not email addresses");
|
|
2030
2030
|
}
|
|
2031
2031
|
let configurationSetProps = {
|
|
2032
|
+
configurationSetName: props.configurationSetName,
|
|
2032
2033
|
reputationMetrics: true
|
|
2033
2034
|
};
|
|
2034
2035
|
if (props.transform?.configurationSet) {
|
package/package.json
CHANGED
|
@@ -12,13 +12,15 @@
|
|
|
12
12
|
"constructs": "^10.4.2"
|
|
13
13
|
},
|
|
14
14
|
"peerDependencies": {
|
|
15
|
-
"aws-cdk-lib": "^2.178.0"
|
|
15
|
+
"aws-cdk-lib": "^2.178.0",
|
|
16
|
+
"esbuild": "^0.25.0"
|
|
16
17
|
},
|
|
17
18
|
"devDependencies": {
|
|
18
19
|
"@types/node": "^22.0.0",
|
|
19
|
-
"aws-cdk-lib": "^2.178.0"
|
|
20
|
+
"aws-cdk-lib": "^2.178.0",
|
|
21
|
+
"esbuild": "^0.25.0"
|
|
20
22
|
},
|
|
21
|
-
"version": "1.0.0-alpha.
|
|
23
|
+
"version": "1.0.0-alpha.10",
|
|
22
24
|
"publishConfig": {
|
|
23
25
|
"access": "restricted"
|
|
24
26
|
},
|