@aws-cdk/cloud-assembly-schema 2.12.0 → 2.13.0

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.
@@ -1,566 +1,415 @@
1
1
  import { Tag } from './metadata-schema';
2
2
  /**
3
- * Identifier for the context provider.
4
- *
5
- * @stability stable
3
+ * Identifier for the context provider
6
4
  */
7
5
  export declare enum ContextProvider {
8
6
  /**
9
- * AMI provider.
10
- *
11
- * @stability stable
7
+ * AMI provider
12
8
  */
13
9
  AMI_PROVIDER = "ami",
14
10
  /**
15
- * AZ provider.
16
- *
17
- * @stability stable
11
+ * AZ provider
18
12
  */
19
13
  AVAILABILITY_ZONE_PROVIDER = "availability-zones",
20
14
  /**
21
- * Route53 Hosted Zone provider.
22
- *
23
- * @stability stable
15
+ * Route53 Hosted Zone provider
24
16
  */
25
17
  HOSTED_ZONE_PROVIDER = "hosted-zone",
26
18
  /**
27
- * SSM Parameter Provider.
28
- *
29
- * @stability stable
19
+ * SSM Parameter Provider
30
20
  */
31
21
  SSM_PARAMETER_PROVIDER = "ssm",
32
22
  /**
33
- * VPC Provider.
34
- *
35
- * @stability stable
23
+ * VPC Provider
36
24
  */
37
25
  VPC_PROVIDER = "vpc-provider",
38
26
  /**
39
- * VPC Endpoint Service AZ Provider.
40
- *
41
- * @stability stable
27
+ * VPC Endpoint Service AZ Provider
42
28
  */
43
29
  ENDPOINT_SERVICE_AVAILABILITY_ZONE_PROVIDER = "endpoint-service-availability-zones",
44
30
  /**
45
- * Load balancer provider.
46
- *
47
- * @stability stable
31
+ * Load balancer provider
48
32
  */
49
33
  LOAD_BALANCER_PROVIDER = "load-balancer",
50
34
  /**
51
- * Load balancer listener provider.
52
- *
53
- * @stability stable
35
+ * Load balancer listener provider
54
36
  */
55
37
  LOAD_BALANCER_LISTENER_PROVIDER = "load-balancer-listener",
56
38
  /**
57
- * Security group provider.
58
- *
59
- * @stability stable
39
+ * Security group provider
60
40
  */
61
41
  SECURITY_GROUP_PROVIDER = "security-group",
62
42
  /**
63
- * KMS Key Provider.
64
- *
65
- * @stability stable
43
+ * KMS Key Provider
66
44
  */
67
45
  KEY_PROVIDER = "key-provider",
68
46
  /**
69
- * A plugin provider (the actual plugin name will be in the properties).
70
- *
71
- * @stability stable
47
+ * A plugin provider (the actual plugin name will be in the properties)
72
48
  */
73
49
  PLUGIN = "plugin"
74
50
  }
75
51
  /**
76
- * Query to AMI context provider.
77
- *
78
- * @stability stable
52
+ * Query to AMI context provider
79
53
  */
80
54
  export interface AmiContextQuery {
81
55
  /**
82
- * Account to query.
83
- *
84
- * @stability stable
56
+ * Account to query
85
57
  */
86
58
  readonly account: string;
87
59
  /**
88
- * Region to query.
89
- *
90
- * @stability stable
60
+ * Region to query
91
61
  */
92
62
  readonly region: string;
93
63
  /**
94
- * The ARN of the role that should be used to look up the missing values.
64
+ * The ARN of the role that should be used to look up the missing values
95
65
  *
96
66
  * @default - None
97
- * @stability stable
98
67
  */
99
68
  readonly lookupRoleArn?: string;
100
69
  /**
101
- * Owners to DescribeImages call.
70
+ * Owners to DescribeImages call
102
71
  *
103
72
  * @default - All owners
104
- * @stability stable
105
73
  */
106
74
  readonly owners?: string[];
107
75
  /**
108
- * Filters to DescribeImages call.
109
- *
110
- * @stability stable
76
+ * Filters to DescribeImages call
111
77
  */
112
78
  readonly filters: {
113
79
  [key: string]: string[];
114
80
  };
115
81
  }
116
82
  /**
117
- * Query to availability zone context provider.
118
- *
119
- * @stability stable
83
+ * Query to availability zone context provider
120
84
  */
121
85
  export interface AvailabilityZonesContextQuery {
122
86
  /**
123
- * Query account.
124
- *
125
- * @stability stable
87
+ * Query account
126
88
  */
127
89
  readonly account: string;
128
90
  /**
129
- * Query region.
130
- *
131
- * @stability stable
91
+ * Query region
132
92
  */
133
93
  readonly region: string;
134
94
  /**
135
- * The ARN of the role that should be used to look up the missing values.
95
+ * The ARN of the role that should be used to look up the missing values
136
96
  *
137
97
  * @default - None
138
- * @stability stable
139
98
  */
140
99
  readonly lookupRoleArn?: string;
141
100
  }
142
101
  /**
143
- * Query to hosted zone context provider.
144
- *
145
- * @stability stable
102
+ * Query to hosted zone context provider
146
103
  */
147
104
  export interface HostedZoneContextQuery {
148
105
  /**
149
- * Query account.
150
- *
151
- * @stability stable
106
+ * Query account
152
107
  */
153
108
  readonly account: string;
154
109
  /**
155
- * Query region.
156
- *
157
- * @stability stable
110
+ * Query region
158
111
  */
159
112
  readonly region: string;
160
113
  /**
161
- * The ARN of the role that should be used to look up the missing values.
114
+ * The ARN of the role that should be used to look up the missing values
162
115
  *
163
116
  * @default - None
164
- * @stability stable
165
117
  */
166
118
  readonly lookupRoleArn?: string;
167
119
  /**
168
- * The domain name e.g. example.com to lookup.
169
- *
170
- * @stability stable
120
+ * The domain name e.g. example.com to lookup
171
121
  */
172
122
  readonly domainName: string;
173
123
  /**
174
- * True if the zone you want to find is a private hosted zone.
124
+ * True if the zone you want to find is a private hosted zone
175
125
  *
176
126
  * @default false
177
- * @stability stable
178
127
  */
179
128
  readonly privateZone?: boolean;
180
129
  /**
181
- * The VPC ID to that the private zone must be associated with.
130
+ * The VPC ID to that the private zone must be associated with
182
131
  *
183
132
  * If you provide VPC ID and privateZone is false, this will return no results
184
133
  * and raise an error.
185
134
  *
186
135
  * @default - Required if privateZone=true
187
- * @stability stable
188
136
  */
189
137
  readonly vpcId?: string;
190
138
  }
191
139
  /**
192
- * Query to SSM Parameter Context Provider.
193
- *
194
- * @stability stable
140
+ * Query to SSM Parameter Context Provider
195
141
  */
196
142
  export interface SSMParameterContextQuery {
197
143
  /**
198
- * Query account.
199
- *
200
- * @stability stable
144
+ * Query account
201
145
  */
202
146
  readonly account: string;
203
147
  /**
204
- * Query region.
205
- *
206
- * @stability stable
148
+ * Query region
207
149
  */
208
150
  readonly region: string;
209
151
  /**
210
- * The ARN of the role that should be used to look up the missing values.
152
+ * The ARN of the role that should be used to look up the missing values
211
153
  *
212
154
  * @default - None
213
- * @stability stable
214
155
  */
215
156
  readonly lookupRoleArn?: string;
216
157
  /**
217
- * Parameter name to query.
218
- *
219
- * @stability stable
158
+ * Parameter name to query
220
159
  */
221
160
  readonly parameterName: string;
222
161
  }
223
162
  /**
224
- * Query input for looking up a VPC.
225
- *
226
- * @stability stable
163
+ * Query input for looking up a VPC
227
164
  */
228
165
  export interface VpcContextQuery {
229
166
  /**
230
- * Query account.
231
- *
232
- * @stability stable
167
+ * Query account
233
168
  */
234
169
  readonly account: string;
235
170
  /**
236
- * Query region.
237
- *
238
- * @stability stable
171
+ * Query region
239
172
  */
240
173
  readonly region: string;
241
174
  /**
242
- * The ARN of the role that should be used to look up the missing values.
175
+ * The ARN of the role that should be used to look up the missing values
243
176
  *
244
177
  * @default - None
245
- * @stability stable
246
178
  */
247
179
  readonly lookupRoleArn?: string;
248
180
  /**
249
- * Filters to apply to the VPC.
181
+ * Filters to apply to the VPC
250
182
  *
251
183
  * Filter parameters are the same as passed to DescribeVpcs.
252
184
  *
253
185
  * @see https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeVpcs.html
254
- * @stability stable
255
186
  */
256
187
  readonly filter: {
257
188
  [key: string]: string;
258
189
  };
259
190
  /**
260
- * Whether to populate the subnetGroups field of the {@link VpcContextResponse}, which contains potentially asymmetric subnet groups.
191
+ * Whether to populate the subnetGroups field of the {@link VpcContextResponse},
192
+ * which contains potentially asymmetric subnet groups.
261
193
  *
262
194
  * @default false
263
- * @stability stable
264
195
  */
265
196
  readonly returnAsymmetricSubnets?: boolean;
266
197
  /**
267
198
  * Optional tag for subnet group name.
268
- *
269
199
  * If not provided, we'll look at the aws-cdk:subnet-name tag.
270
200
  * If the subnet does not have the specified tag,
271
201
  * we'll use its type as the name.
272
202
  *
273
203
  * @default 'aws-cdk:subnet-name'
274
- * @stability stable
275
204
  */
276
205
  readonly subnetGroupNameTag?: string;
277
206
  }
278
207
  /**
279
- * Query to endpoint service context provider.
280
- *
281
- * @stability stable
208
+ * Query to endpoint service context provider
282
209
  */
283
210
  export interface EndpointServiceAvailabilityZonesContextQuery {
284
211
  /**
285
- * Query account.
286
- *
287
- * @stability stable
212
+ * Query account
288
213
  */
289
214
  readonly account: string;
290
215
  /**
291
- * Query region.
292
- *
293
- * @stability stable
216
+ * Query region
294
217
  */
295
218
  readonly region: string;
296
219
  /**
297
- * The ARN of the role that should be used to look up the missing values.
220
+ * The ARN of the role that should be used to look up the missing values
298
221
  *
299
222
  * @default - None
300
- * @stability stable
301
223
  */
302
224
  readonly lookupRoleArn?: string;
303
225
  /**
304
- * Query service name.
305
- *
306
- * @stability stable
226
+ * Query service name
307
227
  */
308
228
  readonly serviceName: string;
309
229
  }
310
230
  /**
311
- * Type of load balancer.
312
- *
313
- * @stability stable
231
+ * Type of load balancer
314
232
  */
315
233
  export declare enum LoadBalancerType {
316
234
  /**
317
- * Network load balancer.
318
- *
319
- * @stability stable
235
+ * Network load balancer
320
236
  */
321
237
  NETWORK = "network",
322
238
  /**
323
- * Application load balancer.
324
- *
325
- * @stability stable
239
+ * Application load balancer
326
240
  */
327
241
  APPLICATION = "application"
328
242
  }
329
243
  /**
330
- * Filters for selecting load balancers.
331
- *
332
- * @stability stable
244
+ * Filters for selecting load balancers
333
245
  */
334
246
  export interface LoadBalancerFilter {
335
247
  /**
336
- * Filter load balancers by their type.
337
- *
338
- * @stability stable
248
+ * Filter load balancers by their type
339
249
  */
340
250
  readonly loadBalancerType: LoadBalancerType;
341
251
  /**
342
- * Find by load balancer's ARN.
343
- *
252
+ * Find by load balancer's ARN
344
253
  * @default - does not search by load balancer arn
345
- * @stability stable
346
254
  */
347
255
  readonly loadBalancerArn?: string;
348
256
  /**
349
- * Match load balancer tags.
350
- *
257
+ * Match load balancer tags
351
258
  * @default - does not match load balancers by tags
352
- * @stability stable
353
259
  */
354
260
  readonly loadBalancerTags?: Tag[];
355
261
  }
356
262
  /**
357
- * Query input for looking up a load balancer.
358
- *
359
- * @stability stable
263
+ * Query input for looking up a load balancer
360
264
  */
361
265
  export interface LoadBalancerContextQuery extends LoadBalancerFilter {
362
266
  /**
363
- * Query account.
364
- *
365
- * @stability stable
267
+ * Query account
366
268
  */
367
269
  readonly account: string;
368
270
  /**
369
- * Query region.
370
- *
371
- * @stability stable
271
+ * Query region
372
272
  */
373
273
  readonly region: string;
374
274
  /**
375
- * The ARN of the role that should be used to look up the missing values.
275
+ * The ARN of the role that should be used to look up the missing values
376
276
  *
377
277
  * @default - None
378
- * @stability stable
379
278
  */
380
279
  readonly lookupRoleArn?: string;
381
280
  }
382
281
  /**
383
- * The protocol for connections from clients to the load balancer.
384
- *
385
- * @stability stable
282
+ * The protocol for connections from clients to the load balancer
386
283
  */
387
284
  export declare enum LoadBalancerListenerProtocol {
388
285
  /**
389
- * HTTP protocol.
390
- *
391
- * @stability stable
286
+ * HTTP protocol
392
287
  */
393
288
  HTTP = "HTTP",
394
289
  /**
395
- * HTTPS protocol.
396
- *
397
- * @stability stable
290
+ * HTTPS protocol
398
291
  */
399
292
  HTTPS = "HTTPS",
400
293
  /**
401
- * TCP protocol.
402
- *
403
- * @stability stable
294
+ * TCP protocol
404
295
  */
405
296
  TCP = "TCP",
406
297
  /**
407
- * TLS protocol.
408
- *
409
- * @stability stable
298
+ * TLS protocol
410
299
  */
411
300
  TLS = "TLS",
412
301
  /**
413
- * UDP protocol.
414
- *
415
- * @stability stable
416
- */
302
+ * UDP protocol
303
+ * */
417
304
  UDP = "UDP",
418
305
  /**
419
- * TCP and UDP protocol.
420
- *
421
- * @stability stable
422
- */
306
+ * TCP and UDP protocol
307
+ * */
423
308
  TCP_UDP = "TCP_UDP"
424
309
  }
425
310
  /**
426
- * Query input for looking up a load balancer listener.
427
- *
428
- * @stability stable
311
+ * Query input for looking up a load balancer listener
429
312
  */
430
313
  export interface LoadBalancerListenerContextQuery extends LoadBalancerFilter {
431
314
  /**
432
- * Query account.
433
- *
434
- * @stability stable
315
+ * Query account
435
316
  */
436
317
  readonly account: string;
437
318
  /**
438
- * Query region.
439
- *
440
- * @stability stable
319
+ * Query region
441
320
  */
442
321
  readonly region: string;
443
322
  /**
444
- * The ARN of the role that should be used to look up the missing values.
323
+ * The ARN of the role that should be used to look up the missing values
445
324
  *
446
325
  * @default - None
447
- * @stability stable
448
326
  */
449
327
  readonly lookupRoleArn?: string;
450
328
  /**
451
- * Find by listener's arn.
452
- *
329
+ * Find by listener's arn
453
330
  * @default - does not find by listener arn
454
- * @stability stable
455
331
  */
456
332
  readonly listenerArn?: string;
457
333
  /**
458
- * Filter by listener protocol.
459
- *
334
+ * Filter by listener protocol
460
335
  * @default - does not filter by listener protocol
461
- * @stability stable
462
336
  */
463
337
  readonly listenerProtocol?: LoadBalancerListenerProtocol;
464
338
  /**
465
- * Filter listeners by listener port.
466
- *
339
+ * Filter listeners by listener port
467
340
  * @default - does not filter by a listener port
468
- * @stability stable
469
341
  */
470
342
  readonly listenerPort?: number;
471
343
  }
472
344
  /**
473
- * Query input for looking up a security group.
474
- *
475
- * @stability stable
345
+ * Query input for looking up a security group
476
346
  */
477
347
  export interface SecurityGroupContextQuery {
478
348
  /**
479
- * Query account.
480
- *
481
- * @stability stable
349
+ * Query account
482
350
  */
483
351
  readonly account: string;
484
352
  /**
485
- * Query region.
486
- *
487
- * @stability stable
353
+ * Query region
488
354
  */
489
355
  readonly region: string;
490
356
  /**
491
- * The ARN of the role that should be used to look up the missing values.
357
+ * The ARN of the role that should be used to look up the missing values
492
358
  *
493
359
  * @default - None
494
- * @stability stable
495
360
  */
496
361
  readonly lookupRoleArn?: string;
497
362
  /**
498
- * Security group id.
363
+ * Security group id
499
364
  *
500
365
  * @default - None
501
- * @stability stable
502
366
  */
503
367
  readonly securityGroupId?: string;
504
368
  /**
505
- * Security group name.
369
+ * Security group name
506
370
  *
507
371
  * @default - None
508
- * @stability stable
509
372
  */
510
373
  readonly securityGroupName?: string;
511
374
  /**
512
- * VPC ID.
375
+ * VPC ID
513
376
  *
514
377
  * @default - None
515
- * @stability stable
516
378
  */
517
379
  readonly vpcId?: string;
518
380
  }
519
381
  /**
520
- * Query input for looking up a KMS Key.
521
- *
522
- * @stability stable
382
+ * Query input for looking up a KMS Key
523
383
  */
524
384
  export interface KeyContextQuery {
525
385
  /**
526
- * Query account.
527
- *
528
- * @stability stable
386
+ * Query account
529
387
  */
530
388
  readonly account: string;
531
389
  /**
532
- * Query region.
533
- *
534
- * @stability stable
390
+ * Query region
535
391
  */
536
392
  readonly region: string;
537
393
  /**
538
- * The ARN of the role that should be used to look up the missing values.
394
+ * The ARN of the role that should be used to look up the missing values
539
395
  *
540
396
  * @default - None
541
- * @stability stable
542
397
  */
543
398
  readonly lookupRoleArn?: string;
544
399
  /**
545
- * Alias name used to search the Key.
546
- *
547
- * @stability stable
400
+ * Alias name used to search the Key
548
401
  */
549
402
  readonly aliasName: string;
550
403
  }
551
404
  /**
552
- * Query input for plugins.
405
+ * Query input for plugins
553
406
  *
554
407
  * This alternate branch is necessary because it needs to be able to escape all type checking
555
408
  * we do on on the cloud assembly -- we cannot know the properties that will be used a priori.
556
- *
557
- * @stability stable
558
409
  */
559
410
  export interface PluginContextQuery {
560
411
  /**
561
- * The name of the plugin.
562
- *
563
- * @stability stable
412
+ * The name of the plugin
564
413
  */
565
414
  readonly pluginName: string;
566
415
  /**