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