@maestro-js/aws-cdk-recipes 1.0.0-alpha.2 → 1.0.0-alpha.20

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 CHANGED
@@ -917,6 +917,7 @@ declare namespace ReactRouterSsrSiteLambda {
917
917
  }
918
918
  }
919
919
 
920
+ type EcsLogRetention = LogRetention;
920
921
  /**
921
922
  * A Fargate service with task definition, containers, optional ALB, auto-scaling, Spot capacity,
922
923
  * and IAM permissions. Supports multi-container sidecars and conditional ALB routing rules.
@@ -960,7 +961,7 @@ declare class EcsFargateService extends Construct {
960
961
  * ```
961
962
  */
962
963
  declare namespace EcsFargateService {
963
- type LogRetention = LogRetention;
964
+ type LogRetention = EcsLogRetention;
964
965
  interface ImageBuildProps {
965
966
  /**
966
967
  * The path to the Docker build context directory.
@@ -2008,6 +2009,7 @@ declare namespace Redis {
2008
2009
  * ```ts
2009
2010
  * const email = new Email(this, 'Transactional', {
2010
2011
  * sender: 'notifications.example.com',
2012
+ * configurationSetName: 'transactional',
2011
2013
  * hostedZone: zone,
2012
2014
  * events: [{ types: ['bounce', 'complaint'], snsTopic: alertsTopic }]
2013
2015
  * })
@@ -2029,6 +2031,7 @@ declare class Email extends Construct {
2029
2031
  * ```ts
2030
2032
  * const props: Email.Props = {
2031
2033
  * sender: 'notifications.example.com',
2034
+ * configurationSetName: 'transactional',
2032
2035
  * hostedZone: zone,
2033
2036
  * dmarc: 'v=DMARC1; p=quarantine; rua=mailto:dmarc@example.com;'
2034
2037
  * }
@@ -2070,6 +2073,13 @@ declare namespace Email {
2070
2073
  * or an email address (e.g. `'hello@example.com'`) to verify a single address.
2071
2074
  */
2072
2075
  sender: string;
2076
+ /**
2077
+ * The name of the SES configuration set.
2078
+ *
2079
+ * This is required so that the name is predictable and can be passed to the
2080
+ * `@maestro-js/mail` SES driver at runtime.
2081
+ */
2082
+ configurationSetName: string;
2073
2083
  /**
2074
2084
  * A Route 53 hosted zone for automatic DNS verification and DMARC record creation.
2075
2085
  *
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.2",
23
+ "version": "1.0.0-alpha.20",
22
24
  "publishConfig": {
23
25
  "access": "restricted"
24
26
  },