cdk-docker-image-deployment 0.0.29 → 0.0.31
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 +3 -3
- package/lib/destination.js +1 -1
- package/lib/docker-image-deployment.js +1 -1
- package/lib/source.js +1 -1
- package/node_modules/aws-sdk/CHANGELOG.md +13 -1
- package/node_modules/aws-sdk/README.md +1 -1
- package/node_modules/aws-sdk/apis/accessanalyzer-2019-11-01.min.json +339 -339
- package/node_modules/aws-sdk/apis/codedeploy-2014-10-06.min.json +7 -1
- package/node_modules/aws-sdk/apis/devops-guru-2020-12-01.min.json +139 -127
- package/node_modules/aws-sdk/apis/dlm-2018-01-12.min.json +40 -12
- package/node_modules/aws-sdk/apis/ec2-2016-11-15.min.json +311 -303
- package/node_modules/aws-sdk/apis/runtime.sagemaker-2017-05-13.min.json +4 -0
- package/node_modules/aws-sdk/apis/sagemaker-2017-07-24.min.json +626 -534
- package/node_modules/aws-sdk/apis/snowball-2016-06-30.paginators.json +24 -0
- package/node_modules/aws-sdk/clients/accessanalyzer.d.ts +297 -297
- package/node_modules/aws-sdk/clients/codedeploy.d.ts +90 -85
- package/node_modules/aws-sdk/clients/devopsguru.d.ts +27 -11
- package/node_modules/aws-sdk/clients/dlm.d.ts +40 -8
- package/node_modules/aws-sdk/clients/ec2.d.ts +14 -1
- package/node_modules/aws-sdk/clients/sagemaker.d.ts +145 -0
- package/node_modules/aws-sdk/clients/sagemakerruntime.d.ts +6 -1
- package/node_modules/aws-sdk/clients/snowball.d.ts +13 -13
- package/node_modules/aws-sdk/clients/ssooidc.d.ts +9 -9
- package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +1 -1
- package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +9 -9
- package/node_modules/aws-sdk/dist/aws-sdk.js +321 -307
- package/node_modules/aws-sdk/dist/aws-sdk.min.js +77 -77
- package/node_modules/aws-sdk/lib/core.js +1 -1
- package/node_modules/aws-sdk/package.json +1 -1
- package/package.json +4 -5
|
@@ -240,6 +240,10 @@ declare namespace AccessAnalyzer {
|
|
|
240
240
|
export type AccessPointArn = string;
|
|
241
241
|
export type AccessPointPolicy = string;
|
|
242
242
|
export interface AccessPreview {
|
|
243
|
+
/**
|
|
244
|
+
* The unique ID for the access preview.
|
|
245
|
+
*/
|
|
246
|
+
id: AccessPreviewId;
|
|
243
247
|
/**
|
|
244
248
|
* The ARN of the analyzer used to generate the access preview.
|
|
245
249
|
*/
|
|
@@ -252,10 +256,6 @@ declare namespace AccessAnalyzer {
|
|
|
252
256
|
* The time at which the access preview was created.
|
|
253
257
|
*/
|
|
254
258
|
createdAt: Timestamp;
|
|
255
|
-
/**
|
|
256
|
-
* The unique ID for the access preview.
|
|
257
|
-
*/
|
|
258
|
-
id: AccessPreviewId;
|
|
259
259
|
/**
|
|
260
260
|
* The status of the access preview. Creating - The access preview creation is in progress. Completed - The access preview is complete. You can preview findings for external access to the resource. Failed - The access preview creation has failed.
|
|
261
261
|
*/
|
|
@@ -267,25 +267,9 @@ declare namespace AccessAnalyzer {
|
|
|
267
267
|
}
|
|
268
268
|
export interface AccessPreviewFinding {
|
|
269
269
|
/**
|
|
270
|
-
* The
|
|
271
|
-
*/
|
|
272
|
-
action?: ActionList;
|
|
273
|
-
/**
|
|
274
|
-
* Provides context on how the access preview finding compares to existing access identified in IAM Access Analyzer. New - The finding is for newly-introduced access. Unchanged - The preview finding is an existing finding that would remain unchanged. Changed - The preview finding is an existing finding with a change in status. For example, a Changed finding with preview status Resolved and existing status Active indicates the existing Active finding would become Resolved as a result of the proposed permissions change.
|
|
275
|
-
*/
|
|
276
|
-
changeType: FindingChangeType;
|
|
277
|
-
/**
|
|
278
|
-
* The condition in the analyzed policy statement that resulted in a finding.
|
|
279
|
-
*/
|
|
280
|
-
condition?: ConditionKeyMap;
|
|
281
|
-
/**
|
|
282
|
-
* The time at which the access preview finding was created.
|
|
283
|
-
*/
|
|
284
|
-
createdAt: Timestamp;
|
|
285
|
-
/**
|
|
286
|
-
* An error.
|
|
270
|
+
* The ID of the access preview finding. This ID uniquely identifies the element in the list of access preview findings and is not related to the finding ID in Access Analyzer.
|
|
287
271
|
*/
|
|
288
|
-
|
|
272
|
+
id: AccessPreviewFindingId;
|
|
289
273
|
/**
|
|
290
274
|
* The existing ID of the finding in IAM Access Analyzer, provided only for existing findings.
|
|
291
275
|
*/
|
|
@@ -295,37 +279,53 @@ declare namespace AccessAnalyzer {
|
|
|
295
279
|
*/
|
|
296
280
|
existingFindingStatus?: FindingStatus;
|
|
297
281
|
/**
|
|
298
|
-
* The
|
|
282
|
+
* The external principal that has access to a resource within the zone of trust.
|
|
299
283
|
*/
|
|
300
|
-
|
|
284
|
+
principal?: PrincipalMap;
|
|
301
285
|
/**
|
|
302
|
-
*
|
|
286
|
+
* The action in the analyzed policy statement that an external principal has permission to perform.
|
|
303
287
|
*/
|
|
304
|
-
|
|
288
|
+
action?: ActionList;
|
|
305
289
|
/**
|
|
306
|
-
* The
|
|
290
|
+
* The condition in the analyzed policy statement that resulted in a finding.
|
|
307
291
|
*/
|
|
308
|
-
|
|
292
|
+
condition?: ConditionKeyMap;
|
|
309
293
|
/**
|
|
310
294
|
* The resource that an external principal has access to. This is the resource associated with the access preview.
|
|
311
295
|
*/
|
|
312
296
|
resource?: String;
|
|
313
297
|
/**
|
|
314
|
-
*
|
|
298
|
+
* Indicates whether the policy that generated the finding allows public access to the resource.
|
|
315
299
|
*/
|
|
316
|
-
|
|
300
|
+
isPublic?: Boolean;
|
|
317
301
|
/**
|
|
318
302
|
* The type of the resource that can be accessed in the finding.
|
|
319
303
|
*/
|
|
320
304
|
resourceType: ResourceType;
|
|
321
305
|
/**
|
|
322
|
-
* The
|
|
306
|
+
* The time at which the access preview finding was created.
|
|
323
307
|
*/
|
|
324
|
-
|
|
308
|
+
createdAt: Timestamp;
|
|
309
|
+
/**
|
|
310
|
+
* Provides context on how the access preview finding compares to existing access identified in IAM Access Analyzer. New - The finding is for newly-introduced access. Unchanged - The preview finding is an existing finding that would remain unchanged. Changed - The preview finding is an existing finding with a change in status. For example, a Changed finding with preview status Resolved and existing status Active indicates the existing Active finding would become Resolved as a result of the proposed permissions change.
|
|
311
|
+
*/
|
|
312
|
+
changeType: FindingChangeType;
|
|
325
313
|
/**
|
|
326
314
|
* The preview status of the finding. This is what the status of the finding would be after permissions deployment. For example, a Changed finding with preview status Resolved and existing status Active indicates the existing Active finding would become Resolved as a result of the proposed permissions change.
|
|
327
315
|
*/
|
|
328
316
|
status: FindingStatus;
|
|
317
|
+
/**
|
|
318
|
+
* The Amazon Web Services account ID that owns the resource. For most Amazon Web Services resources, the owning account is the account in which the resource was created.
|
|
319
|
+
*/
|
|
320
|
+
resourceOwnerAccount: String;
|
|
321
|
+
/**
|
|
322
|
+
* An error.
|
|
323
|
+
*/
|
|
324
|
+
error?: String;
|
|
325
|
+
/**
|
|
326
|
+
* The sources of the finding. This indicates how the access that generated the finding is granted. It is populated for Amazon S3 bucket findings.
|
|
327
|
+
*/
|
|
328
|
+
sources?: FindingSourceList;
|
|
329
329
|
}
|
|
330
330
|
export type AccessPreviewFindingId = string;
|
|
331
331
|
export type AccessPreviewFindingsList = AccessPreviewFinding[];
|
|
@@ -339,6 +339,10 @@ declare namespace AccessAnalyzer {
|
|
|
339
339
|
}
|
|
340
340
|
export type AccessPreviewStatusReasonCode = "INTERNAL_ERROR"|"INVALID_CONFIGURATION"|string;
|
|
341
341
|
export interface AccessPreviewSummary {
|
|
342
|
+
/**
|
|
343
|
+
* The unique ID for the access preview.
|
|
344
|
+
*/
|
|
345
|
+
id: AccessPreviewId;
|
|
342
346
|
/**
|
|
343
347
|
* The ARN of the analyzer used to generate the access preview.
|
|
344
348
|
*/
|
|
@@ -347,10 +351,6 @@ declare namespace AccessAnalyzer {
|
|
|
347
351
|
* The time at which the access preview was created.
|
|
348
352
|
*/
|
|
349
353
|
createdAt: Timestamp;
|
|
350
|
-
/**
|
|
351
|
-
* The unique ID for the access preview.
|
|
352
|
-
*/
|
|
353
|
-
id: AccessPreviewId;
|
|
354
354
|
/**
|
|
355
355
|
* The status of the access preview. Creating - The access preview creation is in progress. Completed - The access preview is complete and previews the findings for external access to the resource. Failed - The access preview creation has failed.
|
|
356
356
|
*/
|
|
@@ -374,37 +374,33 @@ declare namespace AccessAnalyzer {
|
|
|
374
374
|
export type ActionList = String[];
|
|
375
375
|
export interface AnalyzedResource {
|
|
376
376
|
/**
|
|
377
|
-
* The
|
|
377
|
+
* The ARN of the resource that was analyzed.
|
|
378
378
|
*/
|
|
379
|
-
|
|
379
|
+
resourceArn: ResourceArn;
|
|
380
380
|
/**
|
|
381
|
-
* The
|
|
381
|
+
* The type of the resource that was analyzed.
|
|
382
382
|
*/
|
|
383
|
-
|
|
383
|
+
resourceType: ResourceType;
|
|
384
384
|
/**
|
|
385
385
|
* The time at which the finding was created.
|
|
386
386
|
*/
|
|
387
387
|
createdAt: Timestamp;
|
|
388
388
|
/**
|
|
389
|
-
*
|
|
390
|
-
*/
|
|
391
|
-
error?: String;
|
|
392
|
-
/**
|
|
393
|
-
* Indicates whether the policy that generated the finding grants public access to the resource.
|
|
389
|
+
* The time at which the resource was analyzed.
|
|
394
390
|
*/
|
|
395
|
-
|
|
391
|
+
analyzedAt: Timestamp;
|
|
396
392
|
/**
|
|
397
|
-
* The
|
|
393
|
+
* The time at which the finding was updated.
|
|
398
394
|
*/
|
|
399
|
-
|
|
395
|
+
updatedAt: Timestamp;
|
|
400
396
|
/**
|
|
401
|
-
*
|
|
397
|
+
* Indicates whether the policy that generated the finding grants public access to the resource.
|
|
402
398
|
*/
|
|
403
|
-
|
|
399
|
+
isPublic: Boolean;
|
|
404
400
|
/**
|
|
405
|
-
* The
|
|
401
|
+
* The actions that an external principal is granted permission to use by the policy that generated the finding.
|
|
406
402
|
*/
|
|
407
|
-
|
|
403
|
+
actions?: ActionList;
|
|
408
404
|
/**
|
|
409
405
|
* Indicates how the access that generated the finding is granted. This is populated for Amazon S3 bucket findings.
|
|
410
406
|
*/
|
|
@@ -414,9 +410,13 @@ declare namespace AccessAnalyzer {
|
|
|
414
410
|
*/
|
|
415
411
|
status?: FindingStatus;
|
|
416
412
|
/**
|
|
417
|
-
* The
|
|
413
|
+
* The Amazon Web Services account ID that owns the resource.
|
|
418
414
|
*/
|
|
419
|
-
|
|
415
|
+
resourceOwnerAccount: String;
|
|
416
|
+
/**
|
|
417
|
+
* An error message.
|
|
418
|
+
*/
|
|
419
|
+
error?: String;
|
|
420
420
|
}
|
|
421
421
|
export interface AnalyzedResourceSummary {
|
|
422
422
|
/**
|
|
@@ -440,6 +440,14 @@ declare namespace AccessAnalyzer {
|
|
|
440
440
|
* The ARN of the analyzer.
|
|
441
441
|
*/
|
|
442
442
|
arn: AnalyzerArn;
|
|
443
|
+
/**
|
|
444
|
+
* The name of the analyzer.
|
|
445
|
+
*/
|
|
446
|
+
name: Name;
|
|
447
|
+
/**
|
|
448
|
+
* The type of analyzer, which corresponds to the zone of trust chosen for the analyzer.
|
|
449
|
+
*/
|
|
450
|
+
type: Type;
|
|
443
451
|
/**
|
|
444
452
|
* A timestamp for the time at which the analyzer was created.
|
|
445
453
|
*/
|
|
@@ -453,9 +461,9 @@ declare namespace AccessAnalyzer {
|
|
|
453
461
|
*/
|
|
454
462
|
lastResourceAnalyzedAt?: Timestamp;
|
|
455
463
|
/**
|
|
456
|
-
* The
|
|
464
|
+
* The tags added to the analyzer.
|
|
457
465
|
*/
|
|
458
|
-
|
|
466
|
+
tags?: TagsMap;
|
|
459
467
|
/**
|
|
460
468
|
* The status of the analyzer. An Active analyzer successfully monitors supported resources and generates new findings. The analyzer is Disabled when a user action, such as removing trusted access for Identity and Access Management Access Analyzer from Organizations, causes the analyzer to stop generating new findings. The status is Creating when the analyzer creation is in progress and Failed when the analyzer creation has failed.
|
|
461
469
|
*/
|
|
@@ -464,14 +472,6 @@ declare namespace AccessAnalyzer {
|
|
|
464
472
|
* The statusReason provides more details about the current status of the analyzer. For example, if the creation for the analyzer fails, a Failed status is returned. For an analyzer with organization as the type, this failure can be due to an issue with creating the service-linked roles required in the member accounts of the Amazon Web Services organization.
|
|
465
473
|
*/
|
|
466
474
|
statusReason?: StatusReason;
|
|
467
|
-
/**
|
|
468
|
-
* The tags added to the analyzer.
|
|
469
|
-
*/
|
|
470
|
-
tags?: TagsMap;
|
|
471
|
-
/**
|
|
472
|
-
* The type of analyzer, which corresponds to the zone of trust chosen for the analyzer.
|
|
473
|
-
*/
|
|
474
|
-
type: Type;
|
|
475
475
|
}
|
|
476
476
|
export type AnalyzersList = AnalyzerSummary[];
|
|
477
477
|
export interface ApplyArchiveRuleRequest {
|
|
@@ -479,28 +479,28 @@ declare namespace AccessAnalyzer {
|
|
|
479
479
|
* The Amazon resource name (ARN) of the analyzer.
|
|
480
480
|
*/
|
|
481
481
|
analyzerArn: AnalyzerArn;
|
|
482
|
-
/**
|
|
483
|
-
* A client token.
|
|
484
|
-
*/
|
|
485
|
-
clientToken?: String;
|
|
486
482
|
/**
|
|
487
483
|
* The name of the rule to apply.
|
|
488
484
|
*/
|
|
489
485
|
ruleName: Name;
|
|
486
|
+
/**
|
|
487
|
+
* A client token.
|
|
488
|
+
*/
|
|
489
|
+
clientToken?: String;
|
|
490
490
|
}
|
|
491
491
|
export interface ArchiveRuleSummary {
|
|
492
492
|
/**
|
|
493
|
-
* The
|
|
493
|
+
* The name of the archive rule.
|
|
494
494
|
*/
|
|
495
|
-
|
|
495
|
+
ruleName: Name;
|
|
496
496
|
/**
|
|
497
497
|
* A filter used to define the archive rule.
|
|
498
498
|
*/
|
|
499
499
|
filter: FilterCriteriaMap;
|
|
500
500
|
/**
|
|
501
|
-
* The
|
|
501
|
+
* The time at which the archive rule was created.
|
|
502
502
|
*/
|
|
503
|
-
|
|
503
|
+
createdAt: Timestamp;
|
|
504
504
|
/**
|
|
505
505
|
* The time at which the archive rule was last updated.
|
|
506
506
|
*/
|
|
@@ -519,35 +519,35 @@ declare namespace AccessAnalyzer {
|
|
|
519
519
|
export type CloudTrailArn = string;
|
|
520
520
|
export interface CloudTrailDetails {
|
|
521
521
|
/**
|
|
522
|
-
*
|
|
522
|
+
* A Trail object that contains settings for a trail.
|
|
523
523
|
*/
|
|
524
|
-
|
|
524
|
+
trails: TrailList;
|
|
525
525
|
/**
|
|
526
|
-
* The
|
|
526
|
+
* The ARN of the service role that IAM Access Analyzer uses to access your CloudTrail trail and service last accessed information.
|
|
527
527
|
*/
|
|
528
|
-
|
|
528
|
+
accessRole: RoleArn;
|
|
529
529
|
/**
|
|
530
530
|
* The start of the time range for which IAM Access Analyzer reviews your CloudTrail events. Events with a timestamp before this time are not considered to generate a policy.
|
|
531
531
|
*/
|
|
532
532
|
startTime: Timestamp;
|
|
533
533
|
/**
|
|
534
|
-
*
|
|
534
|
+
* The end of the time range for which IAM Access Analyzer reviews your CloudTrail events. Events with a timestamp after this time are not considered to generate a policy. If this is not included in the request, the default value is the current time.
|
|
535
535
|
*/
|
|
536
|
-
|
|
536
|
+
endTime?: Timestamp;
|
|
537
537
|
}
|
|
538
538
|
export interface CloudTrailProperties {
|
|
539
539
|
/**
|
|
540
|
-
*
|
|
540
|
+
* A TrailProperties object that contains settings for trail properties.
|
|
541
541
|
*/
|
|
542
|
-
|
|
542
|
+
trailProperties: TrailPropertiesList;
|
|
543
543
|
/**
|
|
544
544
|
* The start of the time range for which IAM Access Analyzer reviews your CloudTrail events. Events with a timestamp before this time are not considered to generate a policy.
|
|
545
545
|
*/
|
|
546
546
|
startTime: Timestamp;
|
|
547
547
|
/**
|
|
548
|
-
*
|
|
548
|
+
* The end of the time range for which IAM Access Analyzer reviews your CloudTrail events. Events with a timestamp after this time are not considered to generate a policy. If this is not included in the request, the default value is the current time.
|
|
549
549
|
*/
|
|
550
|
-
|
|
550
|
+
endTime: Timestamp;
|
|
551
551
|
}
|
|
552
552
|
export type ConditionKeyMap = {[key: string]: String};
|
|
553
553
|
export interface Configuration {
|
|
@@ -559,14 +559,14 @@ declare namespace AccessAnalyzer {
|
|
|
559
559
|
* The access control configuration is for a KMS key.
|
|
560
560
|
*/
|
|
561
561
|
kmsKey?: KmsKeyConfiguration;
|
|
562
|
-
/**
|
|
563
|
-
* The access control configuration is for an Amazon S3 Bucket.
|
|
564
|
-
*/
|
|
565
|
-
s3Bucket?: S3BucketConfiguration;
|
|
566
562
|
/**
|
|
567
563
|
* The access control configuration is for a Secrets Manager secret.
|
|
568
564
|
*/
|
|
569
565
|
secretsManagerSecret?: SecretsManagerSecretConfiguration;
|
|
566
|
+
/**
|
|
567
|
+
* The access control configuration is for an Amazon S3 Bucket.
|
|
568
|
+
*/
|
|
569
|
+
s3Bucket?: S3BucketConfiguration;
|
|
570
570
|
/**
|
|
571
571
|
* The access control configuration is for an Amazon SQS queue.
|
|
572
572
|
*/
|
|
@@ -579,14 +579,14 @@ declare namespace AccessAnalyzer {
|
|
|
579
579
|
* The ARN of the account analyzer used to generate the access preview. You can only create an access preview for analyzers with an Account type and Active status.
|
|
580
580
|
*/
|
|
581
581
|
analyzerArn: AnalyzerArn;
|
|
582
|
-
/**
|
|
583
|
-
* A client token.
|
|
584
|
-
*/
|
|
585
|
-
clientToken?: String;
|
|
586
582
|
/**
|
|
587
583
|
* Access control configuration for your resource that is used to generate the access preview. The access preview includes findings for external access allowed to the resource with the proposed access control configuration. The configuration must contain exactly one element.
|
|
588
584
|
*/
|
|
589
585
|
configurations: ConfigurationsMap;
|
|
586
|
+
/**
|
|
587
|
+
* A client token.
|
|
588
|
+
*/
|
|
589
|
+
clientToken?: String;
|
|
590
590
|
}
|
|
591
591
|
export interface CreateAccessPreviewResponse {
|
|
592
592
|
/**
|
|
@@ -600,21 +600,21 @@ declare namespace AccessAnalyzer {
|
|
|
600
600
|
*/
|
|
601
601
|
analyzerName: Name;
|
|
602
602
|
/**
|
|
603
|
-
*
|
|
603
|
+
* The type of analyzer to create. Only ACCOUNT and ORGANIZATION analyzers are supported. You can create only one analyzer per account per Region. You can create up to 5 analyzers per organization per Region.
|
|
604
604
|
*/
|
|
605
|
-
|
|
605
|
+
type: Type;
|
|
606
606
|
/**
|
|
607
|
-
*
|
|
607
|
+
* Specifies the archive rules to add for the analyzer. Archive rules automatically archive findings that meet the criteria you define for the rule.
|
|
608
608
|
*/
|
|
609
|
-
|
|
609
|
+
archiveRules?: InlineArchiveRulesList;
|
|
610
610
|
/**
|
|
611
611
|
* The tags to apply to the analyzer.
|
|
612
612
|
*/
|
|
613
613
|
tags?: TagsMap;
|
|
614
614
|
/**
|
|
615
|
-
*
|
|
615
|
+
* A client token.
|
|
616
616
|
*/
|
|
617
|
-
|
|
617
|
+
clientToken?: String;
|
|
618
618
|
}
|
|
619
619
|
export interface CreateAnalyzerResponse {
|
|
620
620
|
/**
|
|
@@ -628,35 +628,35 @@ declare namespace AccessAnalyzer {
|
|
|
628
628
|
*/
|
|
629
629
|
analyzerName: Name;
|
|
630
630
|
/**
|
|
631
|
-
*
|
|
631
|
+
* The name of the rule to create.
|
|
632
632
|
*/
|
|
633
|
-
|
|
633
|
+
ruleName: Name;
|
|
634
634
|
/**
|
|
635
635
|
* The criteria for the rule.
|
|
636
636
|
*/
|
|
637
637
|
filter: FilterCriteriaMap;
|
|
638
638
|
/**
|
|
639
|
-
*
|
|
639
|
+
* A client token.
|
|
640
640
|
*/
|
|
641
|
-
|
|
641
|
+
clientToken?: String;
|
|
642
642
|
}
|
|
643
643
|
export interface Criterion {
|
|
644
|
-
/**
|
|
645
|
-
* A "contains" operator to match for the filter used to create the rule.
|
|
646
|
-
*/
|
|
647
|
-
contains?: ValueList;
|
|
648
644
|
/**
|
|
649
645
|
* An "equals" operator to match for the filter used to create the rule.
|
|
650
646
|
*/
|
|
651
647
|
eq?: ValueList;
|
|
652
|
-
/**
|
|
653
|
-
* An "exists" operator to match for the filter used to create the rule.
|
|
654
|
-
*/
|
|
655
|
-
exists?: Boolean;
|
|
656
648
|
/**
|
|
657
649
|
* A "not equals" operator to match for the filter used to create the rule.
|
|
658
650
|
*/
|
|
659
651
|
neq?: ValueList;
|
|
652
|
+
/**
|
|
653
|
+
* A "contains" operator to match for the filter used to create the rule.
|
|
654
|
+
*/
|
|
655
|
+
contains?: ValueList;
|
|
656
|
+
/**
|
|
657
|
+
* An "exists" operator to match for the filter used to create the rule.
|
|
658
|
+
*/
|
|
659
|
+
exists?: Boolean;
|
|
660
660
|
}
|
|
661
661
|
export interface DeleteAnalyzerRequest {
|
|
662
662
|
/**
|
|
@@ -673,86 +673,86 @@ declare namespace AccessAnalyzer {
|
|
|
673
673
|
* The name of the analyzer that associated with the archive rule to delete.
|
|
674
674
|
*/
|
|
675
675
|
analyzerName: Name;
|
|
676
|
-
/**
|
|
677
|
-
* A client token.
|
|
678
|
-
*/
|
|
679
|
-
clientToken?: String;
|
|
680
676
|
/**
|
|
681
677
|
* The name of the rule to delete.
|
|
682
678
|
*/
|
|
683
679
|
ruleName: Name;
|
|
680
|
+
/**
|
|
681
|
+
* A client token.
|
|
682
|
+
*/
|
|
683
|
+
clientToken?: String;
|
|
684
684
|
}
|
|
685
685
|
export type FilterCriteriaMap = {[key: string]: Criterion};
|
|
686
686
|
export interface Finding {
|
|
687
|
+
/**
|
|
688
|
+
* The ID of the finding.
|
|
689
|
+
*/
|
|
690
|
+
id: FindingId;
|
|
691
|
+
/**
|
|
692
|
+
* The external principal that access to a resource within the zone of trust.
|
|
693
|
+
*/
|
|
694
|
+
principal?: PrincipalMap;
|
|
687
695
|
/**
|
|
688
696
|
* The action in the analyzed policy statement that an external principal has permission to use.
|
|
689
697
|
*/
|
|
690
698
|
action?: ActionList;
|
|
691
699
|
/**
|
|
692
|
-
* The
|
|
700
|
+
* The resource that an external principal has access to.
|
|
693
701
|
*/
|
|
694
|
-
|
|
702
|
+
resource?: String;
|
|
695
703
|
/**
|
|
696
|
-
*
|
|
704
|
+
* Indicates whether the policy that generated the finding allows public access to the resource.
|
|
697
705
|
*/
|
|
698
|
-
|
|
706
|
+
isPublic?: Boolean;
|
|
699
707
|
/**
|
|
700
|
-
* The
|
|
708
|
+
* The type of the resource identified in the finding.
|
|
701
709
|
*/
|
|
702
|
-
|
|
710
|
+
resourceType: ResourceType;
|
|
703
711
|
/**
|
|
704
|
-
*
|
|
712
|
+
* The condition in the analyzed policy statement that resulted in a finding.
|
|
705
713
|
*/
|
|
706
|
-
|
|
714
|
+
condition: ConditionKeyMap;
|
|
707
715
|
/**
|
|
708
|
-
* The
|
|
716
|
+
* The time at which the finding was generated.
|
|
709
717
|
*/
|
|
710
|
-
|
|
718
|
+
createdAt: Timestamp;
|
|
711
719
|
/**
|
|
712
|
-
*
|
|
720
|
+
* The time at which the resource was analyzed.
|
|
713
721
|
*/
|
|
714
|
-
|
|
722
|
+
analyzedAt: Timestamp;
|
|
715
723
|
/**
|
|
716
|
-
* The
|
|
724
|
+
* The time at which the finding was updated.
|
|
717
725
|
*/
|
|
718
|
-
|
|
726
|
+
updatedAt: Timestamp;
|
|
719
727
|
/**
|
|
720
|
-
* The
|
|
728
|
+
* The current status of the finding.
|
|
721
729
|
*/
|
|
722
|
-
|
|
730
|
+
status: FindingStatus;
|
|
723
731
|
/**
|
|
724
732
|
* The Amazon Web Services account ID that owns the resource.
|
|
725
733
|
*/
|
|
726
734
|
resourceOwnerAccount: String;
|
|
727
735
|
/**
|
|
728
|
-
*
|
|
736
|
+
* An error.
|
|
729
737
|
*/
|
|
730
|
-
|
|
738
|
+
error?: String;
|
|
731
739
|
/**
|
|
732
740
|
* The sources of the finding. This indicates how the access that generated the finding is granted. It is populated for Amazon S3 bucket findings.
|
|
733
741
|
*/
|
|
734
742
|
sources?: FindingSourceList;
|
|
735
|
-
/**
|
|
736
|
-
* The current status of the finding.
|
|
737
|
-
*/
|
|
738
|
-
status: FindingStatus;
|
|
739
|
-
/**
|
|
740
|
-
* The time at which the finding was updated.
|
|
741
|
-
*/
|
|
742
|
-
updatedAt: Timestamp;
|
|
743
743
|
}
|
|
744
744
|
export type FindingChangeType = "CHANGED"|"NEW"|"UNCHANGED"|string;
|
|
745
745
|
export type FindingId = string;
|
|
746
746
|
export type FindingIdList = FindingId[];
|
|
747
747
|
export interface FindingSource {
|
|
748
|
-
/**
|
|
749
|
-
* Includes details about how the access that generated the finding is granted. This is populated for Amazon S3 bucket findings.
|
|
750
|
-
*/
|
|
751
|
-
detail?: FindingSourceDetail;
|
|
752
748
|
/**
|
|
753
749
|
* Indicates the type of access that generated the finding.
|
|
754
750
|
*/
|
|
755
751
|
type: FindingSourceType;
|
|
752
|
+
/**
|
|
753
|
+
* Includes details about how the access that generated the finding is granted. This is populated for Amazon S3 bucket findings.
|
|
754
|
+
*/
|
|
755
|
+
detail?: FindingSourceDetail;
|
|
756
756
|
}
|
|
757
757
|
export interface FindingSourceDetail {
|
|
758
758
|
/**
|
|
@@ -766,61 +766,61 @@ declare namespace AccessAnalyzer {
|
|
|
766
766
|
export type FindingStatusUpdate = "ACTIVE"|"ARCHIVED"|string;
|
|
767
767
|
export interface FindingSummary {
|
|
768
768
|
/**
|
|
769
|
-
* The
|
|
770
|
-
*/
|
|
771
|
-
action?: ActionList;
|
|
772
|
-
/**
|
|
773
|
-
* The time at which the resource-based policy that generated the finding was analyzed.
|
|
774
|
-
*/
|
|
775
|
-
analyzedAt: Timestamp;
|
|
776
|
-
/**
|
|
777
|
-
* The condition in the analyzed policy statement that resulted in a finding.
|
|
769
|
+
* The ID of the finding.
|
|
778
770
|
*/
|
|
779
|
-
|
|
771
|
+
id: FindingId;
|
|
780
772
|
/**
|
|
781
|
-
* The
|
|
773
|
+
* The external principal that has access to a resource within the zone of trust.
|
|
782
774
|
*/
|
|
783
|
-
|
|
775
|
+
principal?: PrincipalMap;
|
|
784
776
|
/**
|
|
785
|
-
* The
|
|
777
|
+
* The action in the analyzed policy statement that an external principal has permission to use.
|
|
786
778
|
*/
|
|
787
|
-
|
|
779
|
+
action?: ActionList;
|
|
788
780
|
/**
|
|
789
|
-
* The
|
|
781
|
+
* The resource that the external principal has access to.
|
|
790
782
|
*/
|
|
791
|
-
|
|
783
|
+
resource?: String;
|
|
792
784
|
/**
|
|
793
785
|
* Indicates whether the finding reports a resource that has a policy that allows public access.
|
|
794
786
|
*/
|
|
795
787
|
isPublic?: Boolean;
|
|
796
788
|
/**
|
|
797
|
-
* The
|
|
789
|
+
* The type of the resource that the external principal has access to.
|
|
798
790
|
*/
|
|
799
|
-
|
|
791
|
+
resourceType: ResourceType;
|
|
800
792
|
/**
|
|
801
|
-
* The
|
|
793
|
+
* The condition in the analyzed policy statement that resulted in a finding.
|
|
802
794
|
*/
|
|
803
|
-
|
|
795
|
+
condition: ConditionKeyMap;
|
|
804
796
|
/**
|
|
805
|
-
* The
|
|
797
|
+
* The time at which the finding was created.
|
|
806
798
|
*/
|
|
807
|
-
|
|
799
|
+
createdAt: Timestamp;
|
|
808
800
|
/**
|
|
809
|
-
* The
|
|
801
|
+
* The time at which the resource-based policy that generated the finding was analyzed.
|
|
810
802
|
*/
|
|
811
|
-
|
|
803
|
+
analyzedAt: Timestamp;
|
|
812
804
|
/**
|
|
813
|
-
* The
|
|
805
|
+
* The time at which the finding was most recently updated.
|
|
814
806
|
*/
|
|
815
|
-
|
|
807
|
+
updatedAt: Timestamp;
|
|
816
808
|
/**
|
|
817
809
|
* The status of the finding.
|
|
818
810
|
*/
|
|
819
811
|
status: FindingStatus;
|
|
820
812
|
/**
|
|
821
|
-
* The
|
|
813
|
+
* The Amazon Web Services account ID that owns the resource.
|
|
814
|
+
*/
|
|
815
|
+
resourceOwnerAccount: String;
|
|
816
|
+
/**
|
|
817
|
+
* The error that resulted in an Error finding.
|
|
818
|
+
*/
|
|
819
|
+
error?: String;
|
|
820
|
+
/**
|
|
821
|
+
* The sources of the finding. This indicates how the access that generated the finding is granted. It is populated for Amazon S3 bucket findings.
|
|
822
822
|
*/
|
|
823
|
-
|
|
823
|
+
sources?: FindingSourceList;
|
|
824
824
|
}
|
|
825
825
|
export type FindingsList = FindingSummary[];
|
|
826
826
|
export interface GeneratedPolicy {
|
|
@@ -831,10 +831,6 @@ declare namespace AccessAnalyzer {
|
|
|
831
831
|
}
|
|
832
832
|
export type GeneratedPolicyList = GeneratedPolicy[];
|
|
833
833
|
export interface GeneratedPolicyProperties {
|
|
834
|
-
/**
|
|
835
|
-
* Lists details about the Trail used to generated policy.
|
|
836
|
-
*/
|
|
837
|
-
cloudTrailProperties?: CloudTrailProperties;
|
|
838
834
|
/**
|
|
839
835
|
* This value is set to true if the generated policy contains all possible actions for a service that IAM Access Analyzer identified from the CloudTrail trail that you specified, and false otherwise.
|
|
840
836
|
*/
|
|
@@ -843,16 +839,20 @@ declare namespace AccessAnalyzer {
|
|
|
843
839
|
* The ARN of the IAM entity (user or role) for which you are generating a policy.
|
|
844
840
|
*/
|
|
845
841
|
principalArn: PrincipalArn;
|
|
846
|
-
}
|
|
847
|
-
export interface GeneratedPolicyResult {
|
|
848
842
|
/**
|
|
849
|
-
*
|
|
843
|
+
* Lists details about the Trail used to generated policy.
|
|
850
844
|
*/
|
|
851
|
-
|
|
845
|
+
cloudTrailProperties?: CloudTrailProperties;
|
|
846
|
+
}
|
|
847
|
+
export interface GeneratedPolicyResult {
|
|
852
848
|
/**
|
|
853
849
|
* A GeneratedPolicyProperties object that contains properties of the generated policy.
|
|
854
850
|
*/
|
|
855
851
|
properties: GeneratedPolicyProperties;
|
|
852
|
+
/**
|
|
853
|
+
* The text to use as the content for the new policy. The policy is created using the CreatePolicy action.
|
|
854
|
+
*/
|
|
855
|
+
generatedPolicies?: GeneratedPolicyList;
|
|
856
856
|
}
|
|
857
857
|
export interface GetAccessPreviewRequest {
|
|
858
858
|
/**
|
|
@@ -928,6 +928,10 @@ declare namespace AccessAnalyzer {
|
|
|
928
928
|
finding?: Finding;
|
|
929
929
|
}
|
|
930
930
|
export interface GetGeneratedPolicyRequest {
|
|
931
|
+
/**
|
|
932
|
+
* The JobId that is returned by the StartPolicyGeneration operation. The JobId can be used with GetGeneratedPolicy to retrieve the generated policies or used with CancelPolicyGeneration to cancel the policy generation request.
|
|
933
|
+
*/
|
|
934
|
+
jobId: JobId;
|
|
931
935
|
/**
|
|
932
936
|
* The level of detail that you want to generate. You can specify whether to generate policies with placeholders for resource ARNs for actions that support resource level granularity in policies. For example, in the resource section of a policy, you can receive a placeholder such as "Resource":"arn:aws:s3:::${BucketName}" instead of "*".
|
|
933
937
|
*/
|
|
@@ -936,20 +940,16 @@ declare namespace AccessAnalyzer {
|
|
|
936
940
|
* The level of detail that you want to generate. You can specify whether to generate service-level policies. IAM Access Analyzer uses iam:servicelastaccessed to identify services that have been used recently to create this service-level template.
|
|
937
941
|
*/
|
|
938
942
|
includeServiceLevelTemplate?: Boolean;
|
|
939
|
-
/**
|
|
940
|
-
* The JobId that is returned by the StartPolicyGeneration operation. The JobId can be used with GetGeneratedPolicy to retrieve the generated policies or used with CancelPolicyGeneration to cancel the policy generation request.
|
|
941
|
-
*/
|
|
942
|
-
jobId: JobId;
|
|
943
943
|
}
|
|
944
944
|
export interface GetGeneratedPolicyResponse {
|
|
945
|
-
/**
|
|
946
|
-
* A GeneratedPolicyResult object that contains the generated policies and associated details.
|
|
947
|
-
*/
|
|
948
|
-
generatedPolicyResult: GeneratedPolicyResult;
|
|
949
945
|
/**
|
|
950
946
|
* A GeneratedPolicyDetails object that contains details about the generated policy.
|
|
951
947
|
*/
|
|
952
948
|
jobDetails: JobDetails;
|
|
949
|
+
/**
|
|
950
|
+
* A GeneratedPolicyResult object that contains the generated policies and associated details.
|
|
951
|
+
*/
|
|
952
|
+
generatedPolicyResult: GeneratedPolicyResult;
|
|
953
953
|
}
|
|
954
954
|
export type GranteePrincipal = string;
|
|
955
955
|
export interface IamRoleConfiguration {
|
|
@@ -960,14 +960,14 @@ declare namespace AccessAnalyzer {
|
|
|
960
960
|
}
|
|
961
961
|
export type IamTrustPolicy = string;
|
|
962
962
|
export interface InlineArchiveRule {
|
|
963
|
-
/**
|
|
964
|
-
* The condition and values for a criterion.
|
|
965
|
-
*/
|
|
966
|
-
filter: FilterCriteriaMap;
|
|
967
963
|
/**
|
|
968
964
|
* The name of the rule.
|
|
969
965
|
*/
|
|
970
966
|
ruleName: Name;
|
|
967
|
+
/**
|
|
968
|
+
* The condition and values for a criterion.
|
|
969
|
+
*/
|
|
970
|
+
filter: FilterCriteriaMap;
|
|
971
971
|
}
|
|
972
972
|
export type InlineArchiveRulesList = InlineArchiveRule[];
|
|
973
973
|
export type Integer = number;
|
|
@@ -976,26 +976,26 @@ declare namespace AccessAnalyzer {
|
|
|
976
976
|
export type IssueCode = string;
|
|
977
977
|
export type IssuingAccount = string;
|
|
978
978
|
export interface JobDetails {
|
|
979
|
-
/**
|
|
980
|
-
* A timestamp of when the job was completed.
|
|
981
|
-
*/
|
|
982
|
-
completedOn?: Timestamp;
|
|
983
|
-
/**
|
|
984
|
-
* The job error for the policy generation request.
|
|
985
|
-
*/
|
|
986
|
-
jobError?: JobError;
|
|
987
979
|
/**
|
|
988
980
|
* The JobId that is returned by the StartPolicyGeneration operation. The JobId can be used with GetGeneratedPolicy to retrieve the generated policies or used with CancelPolicyGeneration to cancel the policy generation request.
|
|
989
981
|
*/
|
|
990
982
|
jobId: JobId;
|
|
983
|
+
/**
|
|
984
|
+
* The status of the job request.
|
|
985
|
+
*/
|
|
986
|
+
status: JobStatus;
|
|
991
987
|
/**
|
|
992
988
|
* A timestamp of when the job was started.
|
|
993
989
|
*/
|
|
994
990
|
startedOn: Timestamp;
|
|
995
991
|
/**
|
|
996
|
-
*
|
|
992
|
+
* A timestamp of when the job was completed.
|
|
997
993
|
*/
|
|
998
|
-
|
|
994
|
+
completedOn?: Timestamp;
|
|
995
|
+
/**
|
|
996
|
+
* The job error for the policy generation request.
|
|
997
|
+
*/
|
|
998
|
+
jobError?: JobError;
|
|
999
999
|
}
|
|
1000
1000
|
export interface JobError {
|
|
1001
1001
|
/**
|
|
@@ -1015,25 +1015,25 @@ declare namespace AccessAnalyzer {
|
|
|
1015
1015
|
export type KmsConstraintsValue = string;
|
|
1016
1016
|
export interface KmsGrantConfiguration {
|
|
1017
1017
|
/**
|
|
1018
|
-
*
|
|
1018
|
+
* A list of operations that the grant permits.
|
|
1019
1019
|
*/
|
|
1020
|
-
|
|
1020
|
+
operations: KmsGrantOperationsList;
|
|
1021
1021
|
/**
|
|
1022
1022
|
* The principal that is given permission to perform the operations that the grant permits.
|
|
1023
1023
|
*/
|
|
1024
1024
|
granteePrincipal: GranteePrincipal;
|
|
1025
1025
|
/**
|
|
1026
|
-
*
|
|
1026
|
+
* The principal that is given permission to retire the grant by using RetireGrant operation.
|
|
1027
1027
|
*/
|
|
1028
|
-
|
|
1028
|
+
retiringPrincipal?: RetiringPrincipal;
|
|
1029
1029
|
/**
|
|
1030
|
-
*
|
|
1030
|
+
* Use this structure to propose allowing cryptographic operations in the grant only when the operation request includes the specified encryption context.
|
|
1031
1031
|
*/
|
|
1032
|
-
|
|
1032
|
+
constraints?: KmsGrantConstraints;
|
|
1033
1033
|
/**
|
|
1034
|
-
*
|
|
1034
|
+
* The Amazon Web Services account under which the grant was issued. The account is used to propose KMS grants issued by accounts other than the owner of the key.
|
|
1035
1035
|
*/
|
|
1036
|
-
|
|
1036
|
+
issuingAccount: IssuingAccount;
|
|
1037
1037
|
}
|
|
1038
1038
|
export type KmsGrantConfigurationsList = KmsGrantConfiguration[];
|
|
1039
1039
|
export interface KmsGrantConstraints {
|
|
@@ -1049,14 +1049,14 @@ declare namespace AccessAnalyzer {
|
|
|
1049
1049
|
export type KmsGrantOperation = "CreateGrant"|"Decrypt"|"DescribeKey"|"Encrypt"|"GenerateDataKey"|"GenerateDataKeyPair"|"GenerateDataKeyPairWithoutPlaintext"|"GenerateDataKeyWithoutPlaintext"|"GetPublicKey"|"ReEncryptFrom"|"ReEncryptTo"|"RetireGrant"|"Sign"|"Verify"|string;
|
|
1050
1050
|
export type KmsGrantOperationsList = KmsGrantOperation[];
|
|
1051
1051
|
export interface KmsKeyConfiguration {
|
|
1052
|
-
/**
|
|
1053
|
-
* A list of proposed grant configurations for the KMS key. If the proposed grant configuration is for an existing key, the access preview uses the proposed list of grant configurations in place of the existing grants. Otherwise, the access preview uses the existing grants for the key.
|
|
1054
|
-
*/
|
|
1055
|
-
grants?: KmsGrantConfigurationsList;
|
|
1056
1052
|
/**
|
|
1057
1053
|
* Resource policy configuration for the KMS key. The only valid value for the name of the key policy is default. For more information, see Default key policy.
|
|
1058
1054
|
*/
|
|
1059
1055
|
keyPolicies?: KmsKeyPoliciesMap;
|
|
1056
|
+
/**
|
|
1057
|
+
* A list of proposed grant configurations for the KMS key. If the proposed grant configuration is for an existing key, the access preview uses the proposed list of grant configurations in place of the existing grants. Otherwise, the access preview uses the existing grants for the key.
|
|
1058
|
+
*/
|
|
1059
|
+
grants?: KmsGrantConfigurationsList;
|
|
1060
1060
|
}
|
|
1061
1061
|
export type KmsKeyPoliciesMap = {[key: string]: KmsKeyPolicy};
|
|
1062
1062
|
export type KmsKeyPolicy = string;
|
|
@@ -1074,14 +1074,14 @@ declare namespace AccessAnalyzer {
|
|
|
1074
1074
|
* Criteria to filter the returned findings.
|
|
1075
1075
|
*/
|
|
1076
1076
|
filter?: FilterCriteriaMap;
|
|
1077
|
-
/**
|
|
1078
|
-
* The maximum number of results to return in the response.
|
|
1079
|
-
*/
|
|
1080
|
-
maxResults?: Integer;
|
|
1081
1077
|
/**
|
|
1082
1078
|
* A token used for pagination of results returned.
|
|
1083
1079
|
*/
|
|
1084
1080
|
nextToken?: Token;
|
|
1081
|
+
/**
|
|
1082
|
+
* The maximum number of results to return in the response.
|
|
1083
|
+
*/
|
|
1084
|
+
maxResults?: Integer;
|
|
1085
1085
|
}
|
|
1086
1086
|
export interface ListAccessPreviewFindingsResponse {
|
|
1087
1087
|
/**
|
|
@@ -1098,14 +1098,14 @@ declare namespace AccessAnalyzer {
|
|
|
1098
1098
|
* The ARN of the analyzer used to generate the access preview.
|
|
1099
1099
|
*/
|
|
1100
1100
|
analyzerArn: AnalyzerArn;
|
|
1101
|
-
/**
|
|
1102
|
-
* The maximum number of results to return in the response.
|
|
1103
|
-
*/
|
|
1104
|
-
maxResults?: Integer;
|
|
1105
1101
|
/**
|
|
1106
1102
|
* A token used for pagination of results returned.
|
|
1107
1103
|
*/
|
|
1108
1104
|
nextToken?: Token;
|
|
1105
|
+
/**
|
|
1106
|
+
* The maximum number of results to return in the response.
|
|
1107
|
+
*/
|
|
1108
|
+
maxResults?: Integer;
|
|
1109
1109
|
}
|
|
1110
1110
|
export interface ListAccessPreviewsResponse {
|
|
1111
1111
|
/**
|
|
@@ -1123,17 +1123,17 @@ declare namespace AccessAnalyzer {
|
|
|
1123
1123
|
*/
|
|
1124
1124
|
analyzerArn: AnalyzerArn;
|
|
1125
1125
|
/**
|
|
1126
|
-
* The
|
|
1126
|
+
* The type of resource.
|
|
1127
1127
|
*/
|
|
1128
|
-
|
|
1128
|
+
resourceType?: ResourceType;
|
|
1129
1129
|
/**
|
|
1130
1130
|
* A token used for pagination of results returned.
|
|
1131
1131
|
*/
|
|
1132
1132
|
nextToken?: Token;
|
|
1133
1133
|
/**
|
|
1134
|
-
* The
|
|
1134
|
+
* The maximum number of results to return in the response.
|
|
1135
1135
|
*/
|
|
1136
|
-
|
|
1136
|
+
maxResults?: Integer;
|
|
1137
1137
|
}
|
|
1138
1138
|
export interface ListAnalyzedResourcesResponse {
|
|
1139
1139
|
/**
|
|
@@ -1146,14 +1146,14 @@ declare namespace AccessAnalyzer {
|
|
|
1146
1146
|
nextToken?: Token;
|
|
1147
1147
|
}
|
|
1148
1148
|
export interface ListAnalyzersRequest {
|
|
1149
|
-
/**
|
|
1150
|
-
* The maximum number of results to return in the response.
|
|
1151
|
-
*/
|
|
1152
|
-
maxResults?: Integer;
|
|
1153
1149
|
/**
|
|
1154
1150
|
* A token used for pagination of results returned.
|
|
1155
1151
|
*/
|
|
1156
1152
|
nextToken?: Token;
|
|
1153
|
+
/**
|
|
1154
|
+
* The maximum number of results to return in the response.
|
|
1155
|
+
*/
|
|
1156
|
+
maxResults?: Integer;
|
|
1157
1157
|
/**
|
|
1158
1158
|
* The type of analyzer.
|
|
1159
1159
|
*/
|
|
@@ -1174,14 +1174,14 @@ declare namespace AccessAnalyzer {
|
|
|
1174
1174
|
* The name of the analyzer to retrieve rules from.
|
|
1175
1175
|
*/
|
|
1176
1176
|
analyzerName: Name;
|
|
1177
|
-
/**
|
|
1178
|
-
* The maximum number of results to return in the request.
|
|
1179
|
-
*/
|
|
1180
|
-
maxResults?: Integer;
|
|
1181
1177
|
/**
|
|
1182
1178
|
* A token used for pagination of results returned.
|
|
1183
1179
|
*/
|
|
1184
1180
|
nextToken?: Token;
|
|
1181
|
+
/**
|
|
1182
|
+
* The maximum number of results to return in the request.
|
|
1183
|
+
*/
|
|
1184
|
+
maxResults?: Integer;
|
|
1185
1185
|
}
|
|
1186
1186
|
export interface ListArchiveRulesResponse {
|
|
1187
1187
|
/**
|
|
@@ -1203,17 +1203,17 @@ declare namespace AccessAnalyzer {
|
|
|
1203
1203
|
*/
|
|
1204
1204
|
filter?: FilterCriteriaMap;
|
|
1205
1205
|
/**
|
|
1206
|
-
* The
|
|
1206
|
+
* The sort order for the findings returned.
|
|
1207
1207
|
*/
|
|
1208
|
-
|
|
1208
|
+
sort?: SortCriteria;
|
|
1209
1209
|
/**
|
|
1210
1210
|
* A token used for pagination of results returned.
|
|
1211
1211
|
*/
|
|
1212
1212
|
nextToken?: Token;
|
|
1213
1213
|
/**
|
|
1214
|
-
* The
|
|
1214
|
+
* The maximum number of results to return in the response.
|
|
1215
1215
|
*/
|
|
1216
|
-
|
|
1216
|
+
maxResults?: Integer;
|
|
1217
1217
|
}
|
|
1218
1218
|
export interface ListFindingsResponse {
|
|
1219
1219
|
/**
|
|
@@ -1226,6 +1226,10 @@ declare namespace AccessAnalyzer {
|
|
|
1226
1226
|
nextToken?: Token;
|
|
1227
1227
|
}
|
|
1228
1228
|
export interface ListPolicyGenerationsRequest {
|
|
1229
|
+
/**
|
|
1230
|
+
* The ARN of the IAM entity (user or role) for which you are generating a policy. Use this with ListGeneratedPolicies to filter the results to only include results for a specific principal.
|
|
1231
|
+
*/
|
|
1232
|
+
principalArn?: PrincipalArn;
|
|
1229
1233
|
/**
|
|
1230
1234
|
* The maximum number of results to return in the response.
|
|
1231
1235
|
*/
|
|
@@ -1234,21 +1238,17 @@ declare namespace AccessAnalyzer {
|
|
|
1234
1238
|
* A token used for pagination of results returned.
|
|
1235
1239
|
*/
|
|
1236
1240
|
nextToken?: Token;
|
|
1237
|
-
/**
|
|
1238
|
-
* The ARN of the IAM entity (user or role) for which you are generating a policy. Use this with ListGeneratedPolicies to filter the results to only include results for a specific principal.
|
|
1239
|
-
*/
|
|
1240
|
-
principalArn?: PrincipalArn;
|
|
1241
1241
|
}
|
|
1242
1242
|
export type ListPolicyGenerationsRequestMaxResultsInteger = number;
|
|
1243
1243
|
export interface ListPolicyGenerationsResponse {
|
|
1244
|
-
/**
|
|
1245
|
-
* A token used for pagination of results returned.
|
|
1246
|
-
*/
|
|
1247
|
-
nextToken?: Token;
|
|
1248
1244
|
/**
|
|
1249
1245
|
* A PolicyGeneration object that contains details about the generated policy.
|
|
1250
1246
|
*/
|
|
1251
1247
|
policyGenerations: PolicyGenerationList;
|
|
1248
|
+
/**
|
|
1249
|
+
* A token used for pagination of results returned.
|
|
1250
|
+
*/
|
|
1251
|
+
nextToken?: Token;
|
|
1252
1252
|
}
|
|
1253
1253
|
export interface ListTagsForResourceRequest {
|
|
1254
1254
|
/**
|
|
@@ -1276,11 +1276,11 @@ declare namespace AccessAnalyzer {
|
|
|
1276
1276
|
export type LocationList = Location[];
|
|
1277
1277
|
export type Name = string;
|
|
1278
1278
|
export interface NetworkOriginConfiguration {
|
|
1279
|
+
vpcConfiguration?: VpcConfiguration;
|
|
1279
1280
|
/**
|
|
1280
1281
|
* The configuration for the Amazon S3 access point or multi-region access point with an Internet origin.
|
|
1281
1282
|
*/
|
|
1282
1283
|
internetConfiguration?: InternetConfiguration;
|
|
1283
|
-
vpcConfiguration?: VpcConfiguration;
|
|
1284
1284
|
}
|
|
1285
1285
|
export type OrderBy = "ASC"|"DESC"|string;
|
|
1286
1286
|
export interface PathElement {
|
|
@@ -1304,10 +1304,6 @@ declare namespace AccessAnalyzer {
|
|
|
1304
1304
|
export type PathElementList = PathElement[];
|
|
1305
1305
|
export type PolicyDocument = string;
|
|
1306
1306
|
export interface PolicyGeneration {
|
|
1307
|
-
/**
|
|
1308
|
-
* A timestamp of when the policy generation was completed.
|
|
1309
|
-
*/
|
|
1310
|
-
completedOn?: Timestamp;
|
|
1311
1307
|
/**
|
|
1312
1308
|
* The JobId that is returned by the StartPolicyGeneration operation. The JobId can be used with GetGeneratedPolicy to retrieve the generated policies or used with CancelPolicyGeneration to cancel the policy generation request.
|
|
1313
1309
|
*/
|
|
@@ -1316,14 +1312,18 @@ declare namespace AccessAnalyzer {
|
|
|
1316
1312
|
* The ARN of the IAM entity (user or role) for which you are generating a policy.
|
|
1317
1313
|
*/
|
|
1318
1314
|
principalArn: PrincipalArn;
|
|
1315
|
+
/**
|
|
1316
|
+
* The status of the policy generation request.
|
|
1317
|
+
*/
|
|
1318
|
+
status: JobStatus;
|
|
1319
1319
|
/**
|
|
1320
1320
|
* A timestamp of when the policy generation started.
|
|
1321
1321
|
*/
|
|
1322
1322
|
startedOn: Timestamp;
|
|
1323
1323
|
/**
|
|
1324
|
-
*
|
|
1324
|
+
* A timestamp of when the policy generation was completed.
|
|
1325
1325
|
*/
|
|
1326
|
-
|
|
1326
|
+
completedOn?: Timestamp;
|
|
1327
1327
|
}
|
|
1328
1328
|
export interface PolicyGenerationDetails {
|
|
1329
1329
|
/**
|
|
@@ -1335,14 +1335,14 @@ declare namespace AccessAnalyzer {
|
|
|
1335
1335
|
export type PolicyName = string;
|
|
1336
1336
|
export type PolicyType = "IDENTITY_POLICY"|"RESOURCE_POLICY"|"SERVICE_CONTROL_POLICY"|string;
|
|
1337
1337
|
export interface Position {
|
|
1338
|
-
/**
|
|
1339
|
-
* The column of the position, starting from 0.
|
|
1340
|
-
*/
|
|
1341
|
-
column: Integer;
|
|
1342
1338
|
/**
|
|
1343
1339
|
* The line of the position, starting from 1.
|
|
1344
1340
|
*/
|
|
1345
1341
|
line: Integer;
|
|
1342
|
+
/**
|
|
1343
|
+
* The column of the position, starting from 0.
|
|
1344
|
+
*/
|
|
1345
|
+
column: Integer;
|
|
1346
1346
|
/**
|
|
1347
1347
|
* The offset within the policy that corresponds to the position, starting from 0.
|
|
1348
1348
|
*/
|
|
@@ -1361,44 +1361,44 @@ declare namespace AccessAnalyzer {
|
|
|
1361
1361
|
* The access point or multi-region access point policy.
|
|
1362
1362
|
*/
|
|
1363
1363
|
accessPointPolicy?: AccessPointPolicy;
|
|
1364
|
-
/**
|
|
1365
|
-
* The proposed Internet and VpcConfiguration to apply to this Amazon S3 access point. VpcConfiguration does not apply to multi-region access points. If the access preview is for a new resource and neither is specified, the access preview uses Internet for the network origin. If the access preview is for an existing resource and neither is specified, the access preview uses the exiting network origin.
|
|
1366
|
-
*/
|
|
1367
|
-
networkOrigin?: NetworkOriginConfiguration;
|
|
1368
1364
|
/**
|
|
1369
1365
|
* The proposed S3PublicAccessBlock configuration to apply to this Amazon S3 access point or multi-region access point.
|
|
1370
1366
|
*/
|
|
1371
1367
|
publicAccessBlock?: S3PublicAccessBlockConfiguration;
|
|
1368
|
+
/**
|
|
1369
|
+
* The proposed Internet and VpcConfiguration to apply to this Amazon S3 access point. VpcConfiguration does not apply to multi-region access points. If the access preview is for a new resource and neither is specified, the access preview uses Internet for the network origin. If the access preview is for an existing resource and neither is specified, the access preview uses the exiting network origin.
|
|
1370
|
+
*/
|
|
1371
|
+
networkOrigin?: NetworkOriginConfiguration;
|
|
1372
1372
|
}
|
|
1373
1373
|
export type S3AccessPointConfigurationsMap = {[key: string]: S3AccessPointConfiguration};
|
|
1374
1374
|
export interface S3BucketAclGrantConfiguration {
|
|
1375
|
-
/**
|
|
1376
|
-
* The grantee to whom you’re assigning access rights.
|
|
1377
|
-
*/
|
|
1378
|
-
grantee: AclGrantee;
|
|
1379
1375
|
/**
|
|
1380
1376
|
* The permissions being granted.
|
|
1381
1377
|
*/
|
|
1382
1378
|
permission: AclPermission;
|
|
1379
|
+
/**
|
|
1380
|
+
* The grantee to whom you’re assigning access rights.
|
|
1381
|
+
*/
|
|
1382
|
+
grantee: AclGrantee;
|
|
1383
1383
|
}
|
|
1384
1384
|
export type S3BucketAclGrantConfigurationsList = S3BucketAclGrantConfiguration[];
|
|
1385
1385
|
export interface S3BucketConfiguration {
|
|
1386
1386
|
/**
|
|
1387
|
-
* The
|
|
1387
|
+
* The proposed bucket policy for the Amazon S3 bucket.
|
|
1388
1388
|
*/
|
|
1389
|
-
|
|
1389
|
+
bucketPolicy?: S3BucketPolicy;
|
|
1390
1390
|
/**
|
|
1391
1391
|
* The proposed list of ACL grants for the Amazon S3 bucket. You can propose up to 100 ACL grants per bucket. If the proposed grant configuration is for an existing bucket, the access preview uses the proposed list of grant configurations in place of the existing grants. Otherwise, the access preview uses the existing grants for the bucket.
|
|
1392
1392
|
*/
|
|
1393
1393
|
bucketAclGrants?: S3BucketAclGrantConfigurationsList;
|
|
1394
|
-
/**
|
|
1395
|
-
* The proposed bucket policy for the Amazon S3 bucket.
|
|
1396
|
-
*/
|
|
1397
|
-
bucketPolicy?: S3BucketPolicy;
|
|
1398
1394
|
/**
|
|
1399
1395
|
* The proposed block public access configuration for the Amazon S3 bucket.
|
|
1400
1396
|
*/
|
|
1401
1397
|
bucketPublicAccessBlock?: S3PublicAccessBlockConfiguration;
|
|
1398
|
+
/**
|
|
1399
|
+
* The configuration of Amazon S3 access points or multi-region access points for the bucket. You can propose up to 10 new access points per bucket.
|
|
1400
|
+
*/
|
|
1401
|
+
accessPoints?: S3AccessPointConfigurationsMap;
|
|
1402
1402
|
}
|
|
1403
1403
|
export type S3BucketPolicy = string;
|
|
1404
1404
|
export interface S3PublicAccessBlockConfiguration {
|
|
@@ -1435,14 +1435,14 @@ declare namespace AccessAnalyzer {
|
|
|
1435
1435
|
orderBy?: OrderBy;
|
|
1436
1436
|
}
|
|
1437
1437
|
export interface Span {
|
|
1438
|
-
/**
|
|
1439
|
-
* The end position of the span (exclusive).
|
|
1440
|
-
*/
|
|
1441
|
-
end: Position;
|
|
1442
1438
|
/**
|
|
1443
1439
|
* The start position of the span (inclusive).
|
|
1444
1440
|
*/
|
|
1445
1441
|
start: Position;
|
|
1442
|
+
/**
|
|
1443
|
+
* The end position of the span (exclusive).
|
|
1444
|
+
*/
|
|
1445
|
+
end: Position;
|
|
1446
1446
|
}
|
|
1447
1447
|
export interface SqsQueueConfiguration {
|
|
1448
1448
|
/**
|
|
@@ -1453,17 +1453,17 @@ declare namespace AccessAnalyzer {
|
|
|
1453
1453
|
export type SqsQueuePolicy = string;
|
|
1454
1454
|
export interface StartPolicyGenerationRequest {
|
|
1455
1455
|
/**
|
|
1456
|
-
*
|
|
1456
|
+
* Contains the ARN of the IAM entity (user or role) for which you are generating a policy.
|
|
1457
1457
|
*/
|
|
1458
|
-
|
|
1458
|
+
policyGenerationDetails: PolicyGenerationDetails;
|
|
1459
1459
|
/**
|
|
1460
1460
|
* A CloudTrailDetails object that contains details about a Trail that you want to analyze to generate policies.
|
|
1461
1461
|
*/
|
|
1462
1462
|
cloudTrailDetails?: CloudTrailDetails;
|
|
1463
1463
|
/**
|
|
1464
|
-
*
|
|
1464
|
+
* A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, the subsequent retries with the same client token return the result from the original successful request and they have no additional effect. If you do not specify a client token, one is automatically generated by the Amazon Web Services SDK.
|
|
1465
1465
|
*/
|
|
1466
|
-
|
|
1466
|
+
clientToken?: String;
|
|
1467
1467
|
}
|
|
1468
1468
|
export interface StartPolicyGenerationResponse {
|
|
1469
1469
|
/**
|
|
@@ -1489,14 +1489,14 @@ declare namespace AccessAnalyzer {
|
|
|
1489
1489
|
}
|
|
1490
1490
|
export type String = string;
|
|
1491
1491
|
export interface Substring {
|
|
1492
|
-
/**
|
|
1493
|
-
* The length of the substring.
|
|
1494
|
-
*/
|
|
1495
|
-
length: Integer;
|
|
1496
1492
|
/**
|
|
1497
1493
|
* The start index of the substring, starting from 0.
|
|
1498
1494
|
*/
|
|
1499
1495
|
start: Integer;
|
|
1496
|
+
/**
|
|
1497
|
+
* The length of the substring.
|
|
1498
|
+
*/
|
|
1499
|
+
length: Integer;
|
|
1500
1500
|
}
|
|
1501
1501
|
export type TagKeys = String[];
|
|
1502
1502
|
export interface TagResourceRequest {
|
|
@@ -1515,10 +1515,6 @@ declare namespace AccessAnalyzer {
|
|
|
1515
1515
|
export type Timestamp = Date;
|
|
1516
1516
|
export type Token = string;
|
|
1517
1517
|
export interface Trail {
|
|
1518
|
-
/**
|
|
1519
|
-
* Possible values are true or false. If set to true, IAM Access Analyzer retrieves CloudTrail data from all regions to analyze and generate a policy.
|
|
1520
|
-
*/
|
|
1521
|
-
allRegions?: Boolean;
|
|
1522
1518
|
/**
|
|
1523
1519
|
* Specifies the ARN of the trail. The format of a trail ARN is arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail.
|
|
1524
1520
|
*/
|
|
@@ -1527,13 +1523,13 @@ declare namespace AccessAnalyzer {
|
|
|
1527
1523
|
* A list of regions to get CloudTrail data from and analyze to generate a policy.
|
|
1528
1524
|
*/
|
|
1529
1525
|
regions?: RegionList;
|
|
1530
|
-
}
|
|
1531
|
-
export type TrailList = Trail[];
|
|
1532
|
-
export interface TrailProperties {
|
|
1533
1526
|
/**
|
|
1534
1527
|
* Possible values are true or false. If set to true, IAM Access Analyzer retrieves CloudTrail data from all regions to analyze and generate a policy.
|
|
1535
1528
|
*/
|
|
1536
1529
|
allRegions?: Boolean;
|
|
1530
|
+
}
|
|
1531
|
+
export type TrailList = Trail[];
|
|
1532
|
+
export interface TrailProperties {
|
|
1537
1533
|
/**
|
|
1538
1534
|
* Specifies the ARN of the trail. The format of a trail ARN is arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail.
|
|
1539
1535
|
*/
|
|
@@ -1542,6 +1538,10 @@ declare namespace AccessAnalyzer {
|
|
|
1542
1538
|
* A list of regions to get CloudTrail data from and analyze to generate a policy.
|
|
1543
1539
|
*/
|
|
1544
1540
|
regions?: RegionList;
|
|
1541
|
+
/**
|
|
1542
|
+
* Possible values are true or false. If set to true, IAM Access Analyzer retrieves CloudTrail data from all regions to analyze and generate a policy.
|
|
1543
|
+
*/
|
|
1544
|
+
allRegions?: Boolean;
|
|
1545
1545
|
}
|
|
1546
1546
|
export type TrailPropertiesList = TrailProperties[];
|
|
1547
1547
|
export type Type = "ACCOUNT"|"ORGANIZATION"|string;
|
|
@@ -1563,17 +1563,17 @@ declare namespace AccessAnalyzer {
|
|
|
1563
1563
|
*/
|
|
1564
1564
|
analyzerName: Name;
|
|
1565
1565
|
/**
|
|
1566
|
-
*
|
|
1566
|
+
* The name of the rule to update.
|
|
1567
1567
|
*/
|
|
1568
|
-
|
|
1568
|
+
ruleName: Name;
|
|
1569
1569
|
/**
|
|
1570
1570
|
* A filter to match for the rules to update. Only rules that match the filter are updated.
|
|
1571
1571
|
*/
|
|
1572
1572
|
filter: FilterCriteriaMap;
|
|
1573
1573
|
/**
|
|
1574
|
-
*
|
|
1574
|
+
* A client token.
|
|
1575
1575
|
*/
|
|
1576
|
-
|
|
1576
|
+
clientToken?: String;
|
|
1577
1577
|
}
|
|
1578
1578
|
export interface UpdateFindingsRequest {
|
|
1579
1579
|
/**
|
|
@@ -1581,9 +1581,9 @@ declare namespace AccessAnalyzer {
|
|
|
1581
1581
|
*/
|
|
1582
1582
|
analyzerArn: AnalyzerArn;
|
|
1583
1583
|
/**
|
|
1584
|
-
*
|
|
1584
|
+
* The state represents the action to take to update the finding Status. Use ARCHIVE to change an Active finding to an Archived finding. Use ACTIVE to change an Archived finding to an Active finding.
|
|
1585
1585
|
*/
|
|
1586
|
-
|
|
1586
|
+
status: FindingStatusUpdate;
|
|
1587
1587
|
/**
|
|
1588
1588
|
* The IDs of the findings to update.
|
|
1589
1589
|
*/
|
|
@@ -1593,9 +1593,9 @@ declare namespace AccessAnalyzer {
|
|
|
1593
1593
|
*/
|
|
1594
1594
|
resourceArn?: ResourceArn;
|
|
1595
1595
|
/**
|
|
1596
|
-
*
|
|
1596
|
+
* A client token.
|
|
1597
1597
|
*/
|
|
1598
|
-
|
|
1598
|
+
clientToken?: String;
|
|
1599
1599
|
}
|
|
1600
1600
|
export interface ValidatePolicyFinding {
|
|
1601
1601
|
/**
|
|
@@ -1647,7 +1647,7 @@ declare namespace AccessAnalyzer {
|
|
|
1647
1647
|
*/
|
|
1648
1648
|
validatePolicyResourceType?: ValidatePolicyResourceType;
|
|
1649
1649
|
}
|
|
1650
|
-
export type ValidatePolicyResourceType = "AWS::S3::Bucket"|"AWS::S3::AccessPoint"|"AWS::S3::MultiRegionAccessPoint"|"AWS::S3ObjectLambda::AccessPoint"|string;
|
|
1650
|
+
export type ValidatePolicyResourceType = "AWS::S3::Bucket"|"AWS::S3::AccessPoint"|"AWS::S3::MultiRegionAccessPoint"|"AWS::S3ObjectLambda::AccessPoint"|"AWS::IAM::AssumeRolePolicyDocument"|string;
|
|
1651
1651
|
export interface ValidatePolicyResponse {
|
|
1652
1652
|
/**
|
|
1653
1653
|
* The list of findings in a policy returned by IAM Access Analyzer based on its suite of policy checks.
|