@vyriy/stack 0.7.3 → 0.7.4
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/README.md +1 -0
- package/package.json +1 -1
- package/route53/index.d.ts +2 -1
- package/route53/index.js +2 -1
package/README.md
CHANGED
|
@@ -33,6 +33,7 @@ The `aws-cdk-lib` package is listed because CDK apps and bin entrypoints use CDK
|
|
|
33
33
|
- `cf.createDistribution(scope, id, props)` creates a CloudFront distribution.
|
|
34
34
|
- `route53.getHostedZone(scope, id, props)` looks up an existing Route 53 hosted zone.
|
|
35
35
|
- `route53.createARecord(scope, id, props)` creates a Route 53 A record.
|
|
36
|
+
- `route53.createMxRecord(scope, id, props)` creates a Route 53 MX record.
|
|
36
37
|
- `route53.createCloudFrontTarget(distribution)` creates a Route 53 alias target for CloudFront.
|
|
37
38
|
- `acm.createCertificate(scope, id, props)` creates an ACM certificate.
|
|
38
39
|
- `ses.createEmailReceiving(scope, id, props)` creates an SES domain identity, receipt rule set, receipt rule, raw email bucket permissions, S3-to-Lambda notification, and optional SSM parameter read access.
|
package/package.json
CHANGED
package/route53/index.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Construct } from 'constructs';
|
|
2
2
|
import { Distribution } from 'aws-cdk-lib/aws-cloudfront';
|
|
3
|
-
import { HostedZoneProviderProps, ARecord, ARecordProps, RecordTarget } from 'aws-cdk-lib/aws-route53';
|
|
3
|
+
import { HostedZoneProviderProps, ARecord, ARecordProps, MxRecord, MxRecordProps, RecordTarget } from 'aws-cdk-lib/aws-route53';
|
|
4
4
|
export { RecordTarget } from 'aws-cdk-lib/aws-route53';
|
|
5
5
|
export declare const getHostedZone: (scope: Construct, id: string, props: HostedZoneProviderProps) => import("aws-cdk-lib/aws-route53").IHostedZone;
|
|
6
6
|
export declare const createARecord: (scope: Construct, id: string, props: ARecordProps) => ARecord;
|
|
7
|
+
export declare const createMxRecord: (scope: Construct, id: string, props: MxRecordProps) => MxRecord;
|
|
7
8
|
export declare const createCloudFrontTarget: (distribution: Distribution) => RecordTarget;
|
package/route53/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { HostedZone, ARecord, RecordTarget } from 'aws-cdk-lib/aws-route53';
|
|
1
|
+
import { HostedZone, ARecord, MxRecord, RecordTarget, } from 'aws-cdk-lib/aws-route53';
|
|
2
2
|
import { CloudFrontTarget } from 'aws-cdk-lib/aws-route53-targets';
|
|
3
3
|
export { RecordTarget } from 'aws-cdk-lib/aws-route53';
|
|
4
4
|
export const getHostedZone = (scope, id, props) => HostedZone.fromLookup(scope, id, props);
|
|
5
5
|
export const createARecord = (scope, id, props) => new ARecord(scope, id, props);
|
|
6
|
+
export const createMxRecord = (scope, id, props) => new MxRecord(scope, id, props);
|
|
6
7
|
export const createCloudFrontTarget = (distribution) => RecordTarget.fromAlias(new CloudFrontTarget(distribution));
|