@vyriy/stack 0.7.2 → 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 +76 -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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vyriy/stack",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.4",
|
|
4
4
|
"description": "AWS CDK stack helpers for Vyriy infrastructure",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"dependencies": {
|
|
@@ -22,6 +22,11 @@
|
|
|
22
22
|
"import": "./index.js",
|
|
23
23
|
"default": "./index.js"
|
|
24
24
|
},
|
|
25
|
+
"./apigateway": {
|
|
26
|
+
"types": "./apigateway/index.d.ts",
|
|
27
|
+
"import": "./apigateway/index.js",
|
|
28
|
+
"default": "./apigateway/index.js"
|
|
29
|
+
},
|
|
25
30
|
"./apigateway/index": {
|
|
26
31
|
"types": "./apigateway/index.d.ts",
|
|
27
32
|
"import": "./apigateway/index.js",
|
|
@@ -32,6 +37,11 @@
|
|
|
32
37
|
"import": "./apigateway/index.js",
|
|
33
38
|
"default": "./apigateway/index.js"
|
|
34
39
|
},
|
|
40
|
+
"./certificatemanager": {
|
|
41
|
+
"types": "./certificatemanager/index.d.ts",
|
|
42
|
+
"import": "./certificatemanager/index.js",
|
|
43
|
+
"default": "./certificatemanager/index.js"
|
|
44
|
+
},
|
|
35
45
|
"./certificatemanager/index": {
|
|
36
46
|
"types": "./certificatemanager/index.d.ts",
|
|
37
47
|
"import": "./certificatemanager/index.js",
|
|
@@ -42,6 +52,11 @@
|
|
|
42
52
|
"import": "./certificatemanager/index.js",
|
|
43
53
|
"default": "./certificatemanager/index.js"
|
|
44
54
|
},
|
|
55
|
+
"./cloudfront": {
|
|
56
|
+
"types": "./cloudfront/index.d.ts",
|
|
57
|
+
"import": "./cloudfront/index.js",
|
|
58
|
+
"default": "./cloudfront/index.js"
|
|
59
|
+
},
|
|
45
60
|
"./cloudfront/index": {
|
|
46
61
|
"types": "./cloudfront/index.d.ts",
|
|
47
62
|
"import": "./cloudfront/index.js",
|
|
@@ -52,6 +67,11 @@
|
|
|
52
67
|
"import": "./cloudfront/index.js",
|
|
53
68
|
"default": "./cloudfront/index.js"
|
|
54
69
|
},
|
|
70
|
+
"./deployment": {
|
|
71
|
+
"types": "./deployment/index.d.ts",
|
|
72
|
+
"import": "./deployment/index.js",
|
|
73
|
+
"default": "./deployment/index.js"
|
|
74
|
+
},
|
|
55
75
|
"./deployment/index": {
|
|
56
76
|
"types": "./deployment/index.d.ts",
|
|
57
77
|
"import": "./deployment/index.js",
|
|
@@ -62,6 +82,11 @@
|
|
|
62
82
|
"import": "./deployment/index.js",
|
|
63
83
|
"default": "./deployment/index.js"
|
|
64
84
|
},
|
|
85
|
+
"./dynamodb": {
|
|
86
|
+
"types": "./dynamodb/index.d.ts",
|
|
87
|
+
"import": "./dynamodb/index.js",
|
|
88
|
+
"default": "./dynamodb/index.js"
|
|
89
|
+
},
|
|
65
90
|
"./dynamodb/index": {
|
|
66
91
|
"types": "./dynamodb/index.d.ts",
|
|
67
92
|
"import": "./dynamodb/index.js",
|
|
@@ -72,6 +97,11 @@
|
|
|
72
97
|
"import": "./dynamodb/index.js",
|
|
73
98
|
"default": "./dynamodb/index.js"
|
|
74
99
|
},
|
|
100
|
+
"./ec2": {
|
|
101
|
+
"types": "./ec2/index.d.ts",
|
|
102
|
+
"import": "./ec2/index.js",
|
|
103
|
+
"default": "./ec2/index.js"
|
|
104
|
+
},
|
|
75
105
|
"./ec2/index": {
|
|
76
106
|
"types": "./ec2/index.d.ts",
|
|
77
107
|
"import": "./ec2/index.js",
|
|
@@ -82,6 +112,11 @@
|
|
|
82
112
|
"import": "./ec2/index.js",
|
|
83
113
|
"default": "./ec2/index.js"
|
|
84
114
|
},
|
|
115
|
+
"./ecr": {
|
|
116
|
+
"types": "./ecr/index.d.ts",
|
|
117
|
+
"import": "./ecr/index.js",
|
|
118
|
+
"default": "./ecr/index.js"
|
|
119
|
+
},
|
|
85
120
|
"./ecr/index": {
|
|
86
121
|
"types": "./ecr/index.d.ts",
|
|
87
122
|
"import": "./ecr/index.js",
|
|
@@ -92,6 +127,11 @@
|
|
|
92
127
|
"import": "./ecr/index.js",
|
|
93
128
|
"default": "./ecr/index.js"
|
|
94
129
|
},
|
|
130
|
+
"./ecs": {
|
|
131
|
+
"types": "./ecs/index.d.ts",
|
|
132
|
+
"import": "./ecs/index.js",
|
|
133
|
+
"default": "./ecs/index.js"
|
|
134
|
+
},
|
|
95
135
|
"./ecs/index": {
|
|
96
136
|
"types": "./ecs/index.d.ts",
|
|
97
137
|
"import": "./ecs/index.js",
|
|
@@ -112,6 +152,11 @@
|
|
|
112
152
|
"import": "./index.js",
|
|
113
153
|
"default": "./index.js"
|
|
114
154
|
},
|
|
155
|
+
"./lambda": {
|
|
156
|
+
"types": "./lambda/index.d.ts",
|
|
157
|
+
"import": "./lambda/index.js",
|
|
158
|
+
"default": "./lambda/index.js"
|
|
159
|
+
},
|
|
115
160
|
"./lambda/index": {
|
|
116
161
|
"types": "./lambda/index.d.ts",
|
|
117
162
|
"import": "./lambda/index.js",
|
|
@@ -122,6 +167,11 @@
|
|
|
122
167
|
"import": "./lambda/index.js",
|
|
123
168
|
"default": "./lambda/index.js"
|
|
124
169
|
},
|
|
170
|
+
"./route53": {
|
|
171
|
+
"types": "./route53/index.d.ts",
|
|
172
|
+
"import": "./route53/index.js",
|
|
173
|
+
"default": "./route53/index.js"
|
|
174
|
+
},
|
|
125
175
|
"./route53/index": {
|
|
126
176
|
"types": "./route53/index.d.ts",
|
|
127
177
|
"import": "./route53/index.js",
|
|
@@ -132,6 +182,11 @@
|
|
|
132
182
|
"import": "./route53/index.js",
|
|
133
183
|
"default": "./route53/index.js"
|
|
134
184
|
},
|
|
185
|
+
"./s3": {
|
|
186
|
+
"types": "./s3/index.d.ts",
|
|
187
|
+
"import": "./s3/index.js",
|
|
188
|
+
"default": "./s3/index.js"
|
|
189
|
+
},
|
|
135
190
|
"./s3/index": {
|
|
136
191
|
"types": "./s3/index.d.ts",
|
|
137
192
|
"import": "./s3/index.js",
|
|
@@ -142,6 +197,11 @@
|
|
|
142
197
|
"import": "./s3/index.js",
|
|
143
198
|
"default": "./s3/index.js"
|
|
144
199
|
},
|
|
200
|
+
"./ses": {
|
|
201
|
+
"types": "./ses/index.d.ts",
|
|
202
|
+
"import": "./ses/index.js",
|
|
203
|
+
"default": "./ses/index.js"
|
|
204
|
+
},
|
|
145
205
|
"./ses/index": {
|
|
146
206
|
"types": "./ses/index.d.ts",
|
|
147
207
|
"import": "./ses/index.js",
|
|
@@ -152,6 +212,11 @@
|
|
|
152
212
|
"import": "./ses/index.js",
|
|
153
213
|
"default": "./ses/index.js"
|
|
154
214
|
},
|
|
215
|
+
"./sns": {
|
|
216
|
+
"types": "./sns/index.d.ts",
|
|
217
|
+
"import": "./sns/index.js",
|
|
218
|
+
"default": "./sns/index.js"
|
|
219
|
+
},
|
|
155
220
|
"./sns/index": {
|
|
156
221
|
"types": "./sns/index.d.ts",
|
|
157
222
|
"import": "./sns/index.js",
|
|
@@ -162,6 +227,11 @@
|
|
|
162
227
|
"import": "./sns/index.js",
|
|
163
228
|
"default": "./sns/index.js"
|
|
164
229
|
},
|
|
230
|
+
"./sqs": {
|
|
231
|
+
"types": "./sqs/index.d.ts",
|
|
232
|
+
"import": "./sqs/index.js",
|
|
233
|
+
"default": "./sqs/index.js"
|
|
234
|
+
},
|
|
165
235
|
"./sqs/index": {
|
|
166
236
|
"types": "./sqs/index.d.ts",
|
|
167
237
|
"import": "./sqs/index.js",
|
|
@@ -172,6 +242,11 @@
|
|
|
172
242
|
"import": "./sqs/index.js",
|
|
173
243
|
"default": "./sqs/index.js"
|
|
174
244
|
},
|
|
245
|
+
"./ssm": {
|
|
246
|
+
"types": "./ssm/index.d.ts",
|
|
247
|
+
"import": "./ssm/index.js",
|
|
248
|
+
"default": "./ssm/index.js"
|
|
249
|
+
},
|
|
175
250
|
"./ssm/index": {
|
|
176
251
|
"types": "./ssm/index.d.ts",
|
|
177
252
|
"import": "./ssm/index.js",
|
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));
|