@gemeentenijmegen/webapp 1.1.0 → 1.1.2
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 +12 -12
- package/assets/webapp/auth/auth.lambda/index.js +54 -33
- package/assets/webapp/login/login.lambda/index.js +54 -33
- package/assets/webapp/logout/logout.lambda/index.js +53 -32
- package/lib/webapp/Criticality.js +1 -1
- package/lib/webapp/Webapp.js +1 -1
- package/lib/webapp/Webpage.js +1 -1
- package/lib/webapp/util/Files.js +1 -1
- package/node_modules/@aws-sdk/client-dynamodb/README.md +1 -1
- package/node_modules/@aws-sdk/client-dynamodb/dist-cjs/index.js +35 -30
- package/node_modules/@aws-sdk/client-dynamodb/dist-cjs/runtimeConfig.browser.js +1 -1
- package/node_modules/@aws-sdk/client-dynamodb/dist-cjs/runtimeConfig.js +2 -1
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/DynamoDBClient.js +12 -10
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/models/models_0.js +15 -15
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/protocols/Aws_json1_0.js +3 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/runtimeConfig.browser.js +2 -2
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/runtimeConfig.js +3 -2
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/DynamoDBClient.d.ts +3 -3
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/CreateGlobalTableCommand.d.ts +10 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/CreateTableCommand.d.ts +28 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DeleteTableCommand.d.ts +20 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeGlobalTableCommand.d.ts +10 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeImportCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeTableCommand.d.ts +20 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ImportTableCommand.d.ts +8 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/RestoreTableFromBackupCommand.d.ts +24 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/RestoreTableToPointInTimeCommand.d.ts +24 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UpdateGlobalTableCommand.d.ts +10 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UpdateTableCommand.d.ts +32 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/models/models_0.d.ts +758 -655
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/runtimeConfig.browser.d.ts +2 -1
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/runtimeConfig.d.ts +2 -1
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/runtimeConfig.native.d.ts +2 -1
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/DynamoDBClient.d.ts +7 -1
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/models/models_0.d.ts +744 -641
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -3
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/runtimeConfig.d.ts +6 -3
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -3
- package/node_modules/@aws-sdk/client-dynamodb/package.json +38 -38
- package/node_modules/@aws-sdk/client-s3/README.md +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +240 -179
- package/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.browser.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.js +2 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectsCommand.js +0 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectCommand.js +0 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAccelerateConfigurationCommand.js +0 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAclCommand.js +0 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketCorsCommand.js +0 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketEncryptionCommand.js +0 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketLifecycleConfigurationCommand.js +2 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketLoggingCommand.js +0 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketOwnershipControlsCommand.js +0 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketPolicyCommand.js +0 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketReplicationCommand.js +0 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketRequestPaymentCommand.js +0 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketTaggingCommand.js +0 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketVersioningCommand.js +0 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketWebsiteCommand.js +0 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectAclCommand.js +0 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectCommand.js +0 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectLegalHoldCommand.js +0 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectLockConfigurationCommand.js +0 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectRetentionCommand.js +0 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectTaggingCommand.js +0 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutPublicAccessBlockCommand.js +0 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/RestoreObjectCommand.js +0 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/UploadPartCommand.js +0 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/models/models_0.js +4 -28
- package/node_modules/@aws-sdk/client-s3/dist-es/models/models_1.js +48 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/protocols/Aws_restXml.js +131 -100
- package/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.browser.js +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.js +3 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/AbortMultipartUploadCommand.d.ts +16 -13
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/CompleteMultipartUploadCommand.d.ts +47 -42
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/CopyObjectCommand.d.ts +77 -57
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketCommand.d.ts +60 -45
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateMultipartUploadCommand.d.ts +92 -66
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateSessionCommand.d.ts +31 -17
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketCommand.d.ts +10 -3
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketCorsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketEncryptionCommand.d.ts +18 -10
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketInventoryConfigurationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketLifecycleCommand.d.ts +52 -9
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketMetricsConfigurationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketOwnershipControlsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketPolicyCommand.d.ts +25 -21
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketReplicationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketTaggingCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketWebsiteCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectCommand.d.ts +44 -50
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectTaggingCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectsCommand.d.ts +63 -49
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeletePublicAccessBlockCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAccelerateConfigurationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAclCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAnalyticsConfigurationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketCorsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketEncryptionCommand.d.ts +18 -10
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketInventoryConfigurationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +63 -18
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLocationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLoggingCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketMetricsConfigurationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketNotificationConfigurationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketOwnershipControlsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketPolicyCommand.d.ts +30 -21
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketPolicyStatusCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketReplicationCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketRequestPaymentCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketTaggingCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketVersioningCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketWebsiteCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAclCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAttributesCommand.d.ts +62 -44
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectCommand.d.ts +81 -62
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectLegalHoldCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectLockConfigurationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectRetentionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectTaggingCommand.d.ts +20 -20
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectTorrentCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetPublicAccessBlockCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadBucketCommand.d.ts +32 -16
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadObjectCommand.d.ts +61 -39
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketInventoryConfigurationsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketMetricsConfigurationsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketsCommand.d.ts +14 -3
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListDirectoryBucketsCommand.d.ts +13 -3
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListMultipartUploadsCommand.d.ts +82 -65
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectVersionsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsV2Command.d.ts +23 -14
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListPartsCommand.d.ts +22 -17
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAccelerateConfigurationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAclCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAnalyticsConfigurationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketCorsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketEncryptionCommand.d.ts +48 -33
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +93 -53
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLoggingCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketMetricsConfigurationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketOwnershipControlsCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketPolicyCommand.d.ts +30 -21
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketReplicationCommand.d.ts +4 -5
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketRequestPaymentCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketTaggingCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketVersioningCommand.d.ts +3 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketWebsiteCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectAclCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectCommand.d.ts +123 -75
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectLegalHoldCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectLockConfigurationCommand.d.ts +3 -3
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectRetentionCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectTaggingCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutPublicAccessBlockCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/RestoreObjectCommand.d.ts +1 -5
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/SelectObjectContentCommand.d.ts +1 -5
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCommand.d.ts +52 -41
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCopyCommand.d.ts +66 -52
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/WriteGetObjectResponseCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/models/models_0.d.ts +1835 -1569
- package/node_modules/@aws-sdk/client-s3/dist-types/models/models_1.d.ts +613 -459
- package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.browser.d.ts +2 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.d.ts +2 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.native.d.ts +2 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketLifecycleConfigurationCommand.d.ts +7 -3
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketNotificationConfigurationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketOwnershipControlsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_0.d.ts +812 -882
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_1.d.ts +313 -275
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -3
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.d.ts +8 -3
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -3
- package/node_modules/@aws-sdk/client-s3/package.json +58 -59
- package/node_modules/@aws-sdk/client-secrets-manager/README.md +1 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-cjs/runtimeConfig.browser.js +1 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-cjs/runtimeConfig.js +2 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-es/runtimeConfig.browser.js +2 -2
- package/node_modules/@aws-sdk/client-secrets-manager/dist-es/runtimeConfig.js +3 -2
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/models/models_0.d.ts +184 -184
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/runtimeConfig.browser.d.ts +2 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/runtimeConfig.d.ts +2 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/runtimeConfig.native.d.ts +2 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/models/models_0.d.ts +184 -184
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -3
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/runtimeConfig.d.ts +6 -3
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -3
- package/node_modules/@aws-sdk/client-secrets-manager/package.json +36 -36
- package/node_modules/@aws-sdk/client-ssm/README.md +40 -8
- package/node_modules/@aws-sdk/client-ssm/dist-cjs/index.js +834 -437
- package/node_modules/@aws-sdk/client-ssm/dist-cjs/runtimeConfig.browser.js +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-cjs/runtimeConfig.js +2 -1
- package/node_modules/@aws-sdk/client-ssm/dist-es/SSM.js +8 -0
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetExecutionPreviewCommand.js +22 -0
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/ListNodesCommand.js +23 -0
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/ListNodesSummaryCommand.js +22 -0
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/SendCommandCommand.js +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/StartExecutionPreviewCommand.js +22 -0
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/index.js +4 -0
- package/node_modules/@aws-sdk/client-ssm/dist-es/models/models_1.js +99 -144
- package/node_modules/@aws-sdk/client-ssm/dist-es/models/models_2.js +167 -1
- package/node_modules/@aws-sdk/client-ssm/dist-es/pagination/ListNodesPaginator.js +4 -0
- package/node_modules/@aws-sdk/client-ssm/dist-es/pagination/ListNodesSummaryPaginator.js +4 -0
- package/node_modules/@aws-sdk/client-ssm/dist-es/pagination/index.js +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-es/protocols/Aws_json1_1.js +159 -3
- package/node_modules/@aws-sdk/client-ssm/dist-es/runtimeConfig.browser.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/runtimeConfig.js +3 -2
- package/node_modules/@aws-sdk/client-ssm/dist-types/SSM.d.ts +29 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/SSMClient.d.ts +6 -2
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateResourceDataSyncCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteActivationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeActivationsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeInstancePatchStatesForPatchGroupCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeInstancePatchesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeInstancePropertiesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetExecutionPreviewCommand.d.ts +98 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetInventoryCommand.d.ts +3 -4
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetOpsSummaryCommand.d.ts +3 -4
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListComplianceItemsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListComplianceSummariesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListInventoryEntriesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListNodesCommand.d.ts +123 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListNodesSummaryCommand.d.ts +123 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListResourceComplianceSummariesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/ResetServiceSettingCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/ResumeSessionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/SendAutomationSignalCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/SendCommandCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/StartAssociationsOnceCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/StartAutomationExecutionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/StartExecutionPreviewCommand.d.ts +141 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/index.d.ts +4 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/models/models_0.d.ts +711 -706
- package/node_modules/@aws-sdk/client-ssm/dist-types/models/models_1.d.ts +2303 -2337
- package/node_modules/@aws-sdk/client-ssm/dist-types/models/models_2.d.ts +961 -196
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListNodesPaginator.d.ts +7 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListNodesSummaryPaginator.d.ts +7 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/index.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/protocols/Aws_json1_1.d.ts +36 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.browser.d.ts +2 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.d.ts +2 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.native.d.ts +2 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/SSM.d.ts +69 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/SSMClient.d.ts +24 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetExecutionPreviewCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListNodesCommand.d.ts +47 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListNodesSummaryCommand.d.ts +48 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ResetServiceSettingCommand.d.ts +2 -4
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ResumeSessionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/SendAutomationSignalCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/SendCommandCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/StartAssociationsOnceCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/StartAutomationExecutionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/StartExecutionPreviewCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/models_0.d.ts +706 -702
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/models_1.d.ts +1010 -1004
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/models_2.d.ts +436 -198
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/ListNodesPaginator.d.ts +11 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/ListNodesSummaryPaginator.d.ts +11 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +48 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -3
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.d.ts +6 -3
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -3
- package/node_modules/@aws-sdk/client-ssm/package.json +37 -37
- package/node_modules/@aws-sdk/client-sso/README.md +1 -1
- package/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.browser.js +1 -1
- package/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.js +2 -1
- package/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.browser.js +2 -2
- package/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.js +3 -2
- package/node_modules/@aws-sdk/client-sso/dist-types/models/models_0.d.ts +18 -18
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.browser.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.native.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/models/models_0.d.ts +18 -18
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -3
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.d.ts +6 -3
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -3
- package/node_modules/@aws-sdk/client-sso/package.json +32 -32
- package/node_modules/@aws-sdk/client-sso-oidc/README.md +1 -1
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.browser.js +1 -1
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.js +2 -1
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.browser.js +2 -2
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.js +3 -2
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/models/models_0.d.ts +74 -74
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.browser.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.native.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/models/models_0.d.ts +74 -74
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -3
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.d.ts +6 -3
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -3
- package/node_modules/@aws-sdk/client-sso-oidc/package.json +34 -34
- package/node_modules/@aws-sdk/client-sts/README.md +9 -1
- package/node_modules/@aws-sdk/client-sts/dist-cjs/index.js +99 -14
- package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.browser.js +1 -1
- package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.js +2 -1
- package/node_modules/@aws-sdk/client-sts/dist-es/STS.js +2 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRootCommand.js +23 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/index.js +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/defaultStsRoleAssumers.js +10 -2
- package/node_modules/@aws-sdk/client-sts/dist-es/models/models_0.js +4 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/protocols/Aws_query.js +53 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.browser.js +2 -2
- package/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.js +3 -2
- package/node_modules/@aws-sdk/client-sts/dist-types/STS.d.ts +7 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/STSClient.d.ts +3 -2
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleCommand.d.ts +13 -13
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleWithSAMLCommand.d.ts +8 -8
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleWithWebIdentityCommand.d.ts +15 -30
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRootCommand.d.ts +129 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/DecodeAuthorizationMessageCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetFederationTokenCommand.d.ts +8 -8
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetSessionTokenCommand.d.ts +6 -6
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/models/models_0.d.ts +202 -88
- package/node_modules/@aws-sdk/client-sts/dist-types/protocols/Aws_query.d.ts +9 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.browser.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.native.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/STS.d.ts +17 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/STSClient.d.ts +6 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/AssumeRootCommand.d.ts +47 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/models/models_0.d.ts +68 -56
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/protocols/Aws_query.d.ts +12 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -3
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.d.ts +6 -3
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -3
- package/node_modules/@aws-sdk/client-sts/package.json +36 -36
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/account-id-endpoint/index.js +3 -3
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +36 -5
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +6 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.js +1 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/emitWarningIfUnsupportedVersion.js +5 -3
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/index.js +2 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/setCredentialFeature.js +7 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/setFeature.js +11 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.js +6 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/emitWarningIfUnsupportedVersion.d.ts +3 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/index.d.ts +2 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/setCredentialFeature.d.ts +7 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/setFeature.d.ts +12 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/emitWarningIfUnsupportedVersion.d.ts +3 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/index.d.ts +2 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/setCredentialFeature.d.ts +11 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/setFeature.d.ts +6 -0
- package/node_modules/@aws-sdk/core/package.json +14 -11
- package/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js +4 -1
- package/node_modules/@aws-sdk/credential-provider-env/dist-es/fromEnv.js +4 -1
- package/node_modules/@aws-sdk/credential-provider-env/package.json +7 -5
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js +2 -1
- package/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/fromHttp.js +2 -1
- package/node_modules/@aws-sdk/credential-provider-http/package.json +12 -10
- package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +29 -13
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveAssumeRoleCredentials.js +3 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveCredentialSource.js +5 -3
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProcessCredentials.js +2 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProfileData.js +1 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveSsoCredentials.js +10 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveStaticCredentials.js +5 -3
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveWebIdentityCredentials.js +2 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveAssumeRoleCredentials.d.ts +2 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveSsoCredentials.d.ts +2 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveAssumeRoleCredentials.d.ts +2 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveSsoCredentials.d.ts +3 -2
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +15 -13
- package/node_modules/@aws-sdk/credential-provider-node/package.json +15 -14
- package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +4 -1
- package/node_modules/@aws-sdk/credential-provider-process/dist-es/getValidatedProcessCredentials.js +4 -1
- package/node_modules/@aws-sdk/credential-provider-process/package.json +8 -6
- package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +8 -1
- package/node_modules/@aws-sdk/credential-provider-sso/dist-es/resolveSSOCredentials.js +9 -1
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +10 -8
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js +6 -1
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromTokenFile.js +6 -1
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +10 -8
- package/node_modules/@aws-sdk/endpoint-cache/package.json +3 -2
- package/node_modules/@aws-sdk/middleware-bucket-endpoint/package.json +8 -7
- package/node_modules/@aws-sdk/middleware-endpoint-discovery/package.json +10 -8
- package/node_modules/@aws-sdk/middleware-expect-continue/package.json +8 -6
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/getCrc32ChecksumAlgorithmFunction.browser.js +6 -0
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/getCrc32ChecksumAlgorithmFunction.js +28 -0
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/index.js +35 -10
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/flexibleChecksumsMiddleware.js +18 -2
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/getChecksum.js +1 -5
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/getCrc32ChecksumAlgorithmFunction.browser.js +2 -0
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/getCrc32ChecksumAlgorithmFunction.js +23 -0
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/selectChecksumAlgorithmFunction.js +2 -2
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/validateChecksumFromResponse.js +14 -2
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/flexibleChecksumsMiddleware.d.ts +0 -3
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/getChecksum.d.ts +2 -3
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/getCrc32ChecksumAlgorithmFunction.browser.d.ts +2 -0
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/getCrc32ChecksumAlgorithmFunction.d.ts +10 -0
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/flexibleChecksumsMiddleware.d.ts +0 -1
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/getChecksum.d.ts +2 -8
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/getCrc32ChecksumAlgorithmFunction.browser.d.ts +2 -0
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/getCrc32ChecksumAlgorithmFunction.d.ts +12 -0
- package/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +17 -9
- package/node_modules/@aws-sdk/middleware-host-header/package.json +8 -6
- package/node_modules/@aws-sdk/middleware-location-constraint/package.json +7 -5
- package/node_modules/@aws-sdk/middleware-logger/package.json +7 -5
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +8 -6
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/index.js +18 -15
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/region-redirect-middleware.js +13 -13
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/functions/s3ExpressMiddleware.js +2 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +20 -16
- package/node_modules/@aws-sdk/middleware-ssec/package.json +7 -5
- package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +112 -4
- package/node_modules/@aws-sdk/middleware-user-agent/dist-es/check-features.js +49 -0
- package/node_modules/@aws-sdk/middleware-user-agent/dist-es/configurations.js +22 -0
- package/node_modules/@aws-sdk/middleware-user-agent/dist-es/encode-features.js +18 -0
- package/node_modules/@aws-sdk/middleware-user-agent/dist-es/user-agent-middleware.js +11 -1
- package/node_modules/@aws-sdk/middleware-user-agent/dist-types/check-features.d.ts +18 -0
- package/node_modules/@aws-sdk/middleware-user-agent/dist-types/configurations.d.ts +14 -1
- package/node_modules/@aws-sdk/middleware-user-agent/dist-types/encode-features.d.ts +5 -0
- package/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/check-features.d.ts +20 -0
- package/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/configurations.d.ts +5 -1
- package/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/encode-features.d.ts +2 -0
- package/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/user-agent-middleware.d.ts +2 -1
- package/node_modules/@aws-sdk/middleware-user-agent/dist-types/user-agent-middleware.d.ts +2 -1
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +12 -8
- package/node_modules/@aws-sdk/region-config-resolver/package.json +7 -6
- package/node_modules/@aws-sdk/s3-request-presigner/README.md +23 -41
- package/node_modules/@aws-sdk/s3-request-presigner/dist-cjs/index.js +24 -6
- package/node_modules/@aws-sdk/s3-request-presigner/dist-es/presigner.js +8 -4
- package/node_modules/@aws-sdk/s3-request-presigner/dist-types/presigner.d.ts +2 -2
- package/node_modules/@aws-sdk/s3-request-presigner/dist-types/ts3.4/presigner.d.ts +2 -0
- package/node_modules/@aws-sdk/s3-request-presigner/package.json +12 -11
- package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +8 -7
- package/node_modules/@aws-sdk/token-providers/package.json +8 -7
- package/node_modules/@aws-sdk/types/dist-es/feature-ids.js +1 -0
- package/node_modules/@aws-sdk/types/dist-es/index.js +1 -0
- package/node_modules/@aws-sdk/types/dist-types/feature-ids.d.ts +59 -0
- package/node_modules/@aws-sdk/types/dist-types/identity/AwsCredentialIdentity.d.ts +5 -0
- package/node_modules/@aws-sdk/types/dist-types/index.d.ts +1 -0
- package/node_modules/@aws-sdk/types/dist-types/middleware.d.ts +12 -0
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/feature-ids.d.ts +54 -0
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/AwsCredentialIdentity.d.ts +5 -0
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/middleware.d.ts +7 -0
- package/node_modules/@aws-sdk/types/package.json +2 -2
- package/node_modules/@aws-sdk/util-arn-parser/dist-cjs/index.js +1 -0
- package/node_modules/@aws-sdk/util-arn-parser/package.json +3 -2
- package/node_modules/@aws-sdk/util-endpoints/package.json +8 -6
- package/node_modules/@aws-sdk/util-format-url/package.json +6 -5
- package/node_modules/@aws-sdk/util-locate-window/dist-cjs/index.js +1 -0
- package/node_modules/@aws-sdk/util-locate-window/package.json +3 -2
- package/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/index.js +9 -4
- package/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/index.native.js +9 -4
- package/node_modules/@aws-sdk/util-user-agent-browser/dist-es/index.js +7 -2
- package/node_modules/@aws-sdk/util-user-agent-browser/dist-es/index.native.js +7 -2
- package/node_modules/@aws-sdk/util-user-agent-browser/dist-types/index.d.ts +9 -1
- package/node_modules/@aws-sdk/util-user-agent-browser/dist-types/index.native.d.ts +9 -1
- package/node_modules/@aws-sdk/util-user-agent-browser/dist-types/ts3.4/index.d.ts +12 -1
- package/node_modules/@aws-sdk/util-user-agent-browser/dist-types/ts3.4/index.native.d.ts +12 -1
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +5 -4
- package/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js +46 -39
- package/node_modules/@aws-sdk/util-user-agent-node/dist-es/defaultUserAgent.js +29 -0
- package/node_modules/@aws-sdk/util-user-agent-node/dist-es/index.js +2 -39
- package/node_modules/@aws-sdk/util-user-agent-node/dist-es/nodeAppIdConfigOptions.js +8 -0
- package/node_modules/@aws-sdk/util-user-agent-node/dist-types/defaultUserAgent.d.ts +23 -0
- package/node_modules/@aws-sdk/util-user-agent-node/dist-types/index.d.ts +2 -20
- package/node_modules/@aws-sdk/util-user-agent-node/dist-types/nodeAppIdConfigOptions.d.ts +13 -0
- package/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/defaultUserAgent.d.ts +21 -0
- package/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/index.d.ts +2 -12
- package/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/nodeAppIdConfigOptions.d.ts +6 -0
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +7 -5
- package/node_modules/@aws-sdk/xml-builder/package.json +4 -3
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/.jsii +5 -5
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/lib/index.js +1 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk/integ-tests-alpha/.jsii +2 -2
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk/integ-tests-alpha/.jsii.tabl.json.gz +0 -0
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk/integ-tests-alpha/lib/assertions/api-call-base.js +1 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk/integ-tests-alpha/lib/assertions/assertions.js +1 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk/integ-tests-alpha/lib/assertions/common.js +2 -2
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk/integ-tests-alpha/lib/assertions/http-call.js +1 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk/integ-tests-alpha/lib/assertions/match.js +1 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk/integ-tests-alpha/lib/assertions/providers/provider.js +1 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk/integ-tests-alpha/lib/assertions/sdk.js +2 -2
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk/integ-tests-alpha/lib/assertions/waiter-state-machine.js +1 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk/integ-tests-alpha/lib/test-case.js +3 -3
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk/integ-tests-alpha/package.json +7 -7
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/.jsii +325 -18
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/index.d.ts +2 -0
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/index.js +3 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/apigateway-defaults.js +2 -2
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/cloudfront-distribution-helper.js +2 -2
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/kendra-defaults.js +2 -2
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/kendra-helper.js +2 -2
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/pipes-defaults.d.ts +15 -0
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/pipes-defaults.js +33 -0
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/pipes-helper.d.ts +56 -0
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/pipes-helper.js +197 -0
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/step-function-helper.d.ts +2 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/step-function-helper.js +10 -4
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/utils.d.ts +9 -0
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/utils.js +28 -2
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/package.json +4 -4
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/pipes-helper.test.d.ts +13 -0
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/pipes-helper.test.js +695 -0
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/step-function-helper.test.js +35 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/test-helper.d.ts +1 -0
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/test-helper.js +8 -3
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/utils.test.js +16 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/constructs/.jsii +85 -45
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/constructs/API.md +841 -255
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/constructs/Dockerfile +2 -2
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/constructs/README.md +5 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/constructs/lib/construct.d.ts +20 -3
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/constructs/lib/construct.js +36 -30
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/constructs/lib/dependency.d.ts +0 -4
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/constructs/lib/dependency.js +5 -9
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/constructs/lib/private/stack-trace.js +1 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/constructs/lib/private/uniqueid.js +1 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/constructs/package.json +35 -31
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/package.json +6 -6
- package/node_modules/@gemeentenijmegen/apiclient/package.json +8 -8
- package/node_modules/@gemeentenijmegen/apigateway-http/package.json +5 -5
- package/node_modules/@gemeentenijmegen/session/package.json +6 -6
- package/node_modules/@gemeentenijmegen/utils/package.json +8 -8
- package/node_modules/@smithy/abort-controller/package.json +4 -3
- package/node_modules/@smithy/chunked-blob-reader/dist-cjs/index.js +8 -23
- package/node_modules/@smithy/chunked-blob-reader/dist-es/index.js +8 -22
- package/node_modules/@smithy/chunked-blob-reader/dist-types/index.d.ts +1 -0
- package/node_modules/@smithy/chunked-blob-reader/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@smithy/chunked-blob-reader/package.json +2 -2
- package/node_modules/@smithy/chunked-blob-reader-native/package.json +2 -2
- package/node_modules/@smithy/config-resolver/package.json +7 -6
- package/node_modules/@smithy/core/dist-cjs/index.js +79 -158
- package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +34 -9
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +164 -0
- package/node_modules/@smithy/core/dist-es/index.js +4 -3
- package/node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/getHttpAuthSchemeEndpointRuleSetPlugin.js +1 -2
- package/node_modules/@smithy/core/dist-es/middleware-http-signing/getHttpSigningMiddleware.js +1 -2
- package/node_modules/@smithy/core/dist-es/protocols/requestBuilder.js +1 -67
- package/node_modules/@smithy/core/dist-es/setFeature.js +11 -0
- package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-decode.js +2 -2
- package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-encode.js +11 -1
- package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-types.js +5 -0
- package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor.js +8 -2
- package/node_modules/@smithy/core/dist-es/submodules/cbor/index.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +4 -3
- package/node_modules/@smithy/core/dist-es/submodules/protocols/collect-stream-body.js +11 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/extended-encode-uri-component.js +5 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/index.js +4 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/requestBuilder.js +67 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/resolve-path.js +19 -0
- package/node_modules/@smithy/core/dist-types/index.d.ts +4 -3
- package/node_modules/@smithy/core/dist-types/protocols/requestBuilder.d.ts +2 -48
- package/node_modules/@smithy/core/dist-types/setFeature.d.ts +12 -0
- package/node_modules/@smithy/core/dist-types/submodules/cbor/cbor-types.d.ts +23 -0
- package/node_modules/@smithy/core/dist-types/submodules/cbor/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/submodules/cbor/parseCborBody.d.ts +4 -2
- package/node_modules/@smithy/core/dist-types/submodules/protocols/collect-stream-body.d.ts +10 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/extended-encode-uri-component.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/index.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/requestBuilder.d.ts +51 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/resolve-path.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/index.d.ts +4 -3
- package/node_modules/@smithy/core/dist-types/ts3.4/protocols/requestBuilder.d.ts +2 -48
- package/node_modules/@smithy/core/dist-types/ts3.4/setFeature.d.ts +12 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor-types.d.ts +23 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/parseCborBody.d.ts +4 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/collect-stream-body.d.ts +10 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/extended-encode-uri-component.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/index.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/requestBuilder.d.ts +51 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/resolve-path.d.ts +4 -0
- package/node_modules/@smithy/core/package.json +19 -11
- package/node_modules/@smithy/core/protocols.d.ts +7 -0
- package/node_modules/@smithy/core/protocols.js +6 -0
- package/node_modules/@smithy/credential-provider-imds/package.json +7 -7
- package/node_modules/@smithy/eventstream-codec/package.json +4 -3
- package/node_modules/@smithy/eventstream-serde-browser/package.json +3 -3
- package/node_modules/@smithy/eventstream-serde-config-resolver/package.json +5 -4
- package/node_modules/@smithy/eventstream-serde-node/package.json +3 -3
- package/node_modules/@smithy/eventstream-serde-universal/package.json +5 -4
- package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +12 -30
- package/node_modules/@smithy/fetch-http-handler/dist-es/create-request.js +3 -0
- package/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +3 -2
- package/node_modules/@smithy/fetch-http-handler/dist-es/stream-collector.js +3 -26
- package/node_modules/@smithy/fetch-http-handler/dist-types/create-request.d.ts +6 -0
- package/node_modules/@smithy/fetch-http-handler/dist-types/fetch-http-handler.d.ts +6 -0
- package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/create-request.d.ts +6 -0
- package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/fetch-http-handler.d.ts +6 -0
- package/node_modules/@smithy/fetch-http-handler/package.json +9 -6
- package/node_modules/@smithy/hash-blob-browser/package.json +6 -5
- package/node_modules/@smithy/hash-node/package.json +4 -3
- package/node_modules/@smithy/hash-stream-node/package.json +4 -3
- package/node_modules/@smithy/invalid-dependency/package.json +4 -3
- package/node_modules/@smithy/md5-js/package.json +4 -3
- package/node_modules/@smithy/middleware-content-length/package.json +5 -4
- package/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +4 -0
- package/node_modules/@smithy/middleware-endpoint/dist-es/endpointMiddleware.js +4 -0
- package/node_modules/@smithy/middleware-endpoint/package.json +11 -9
- package/node_modules/@smithy/middleware-retry/package.json +12 -10
- package/node_modules/@smithy/middleware-serde/package.json +6 -4
- package/node_modules/@smithy/middleware-stack/package.json +4 -3
- package/node_modules/@smithy/node-config-provider/package.json +6 -5
- package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +20 -14
- package/node_modules/@smithy/node-http-handler/dist-cjs/timing.js +1 -0
- package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +5 -4
- package/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-manager.js +1 -1
- package/node_modules/@smithy/node-http-handler/dist-es/server.mock.js +9 -2
- package/node_modules/@smithy/node-http-handler/dist-es/set-connection-timeout.js +5 -4
- package/node_modules/@smithy/node-http-handler/dist-es/set-socket-keep-alive.js +2 -1
- package/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js +2 -1
- package/node_modules/@smithy/node-http-handler/dist-es/timing.js +4 -0
- package/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js +4 -3
- package/node_modules/@smithy/node-http-handler/dist-types/timing.d.ts +8 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/timing.d.ts +8 -0
- package/node_modules/@smithy/node-http-handler/package.json +7 -6
- package/node_modules/@smithy/property-provider/package.json +4 -3
- package/node_modules/@smithy/protocol-http/package.json +4 -3
- package/node_modules/@smithy/querystring-builder/package.json +2 -2
- package/node_modules/@smithy/querystring-parser/package.json +4 -3
- package/node_modules/@smithy/service-error-classification/package.json +4 -3
- package/node_modules/@smithy/shared-ini-file-loader/package.json +4 -3
- package/node_modules/@smithy/signature-v4/package.json +6 -5
- package/node_modules/@smithy/smithy-client/dist-cjs/index.js +59 -36
- package/node_modules/@smithy/smithy-client/dist-cjs/quote-header.js +1 -0
- package/node_modules/@smithy/smithy-client/dist-cjs/split-header.js +1 -0
- package/node_modules/@smithy/smithy-client/dist-es/collect-stream-body.js +1 -11
- package/node_modules/@smithy/smithy-client/dist-es/extended-encode-uri-component.js +1 -5
- package/node_modules/@smithy/smithy-client/dist-es/index.js +2 -0
- package/node_modules/@smithy/smithy-client/dist-es/quote-header.js +6 -0
- package/node_modules/@smithy/smithy-client/dist-es/resolve-path.js +1 -19
- package/node_modules/@smithy/smithy-client/dist-es/split-header.js +37 -0
- package/node_modules/@smithy/smithy-client/dist-types/collect-stream-body.d.ts +2 -7
- package/node_modules/@smithy/smithy-client/dist-types/extended-encode-uri-component.d.ts +2 -4
- package/node_modules/@smithy/smithy-client/dist-types/index.d.ts +2 -0
- package/node_modules/@smithy/smithy-client/dist-types/quote-header.d.ts +6 -0
- package/node_modules/@smithy/smithy-client/dist-types/resolve-path.d.ts +2 -1
- package/node_modules/@smithy/smithy-client/dist-types/split-header.d.ts +5 -0
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/collect-stream-body.d.ts +2 -7
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extended-encode-uri-component.d.ts +2 -4
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/index.d.ts +2 -0
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/quote-header.d.ts +6 -0
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/resolve-path.d.ts +2 -1
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/split-header.d.ts +5 -0
- package/node_modules/@smithy/smithy-client/package.json +9 -7
- package/node_modules/@smithy/types/dist-cjs/feature-ids.js +1 -0
- package/node_modules/@smithy/types/dist-es/feature-ids.js +1 -0
- package/node_modules/@smithy/types/dist-es/index.js +1 -0
- package/node_modules/@smithy/types/dist-types/feature-ids.d.ts +16 -0
- package/node_modules/@smithy/types/dist-types/http.d.ts +1 -0
- package/node_modules/@smithy/types/dist-types/index.d.ts +1 -0
- package/node_modules/@smithy/types/dist-types/middleware.d.ts +30 -6
- package/node_modules/@smithy/types/dist-types/transform/no-undefined.d.ts +3 -2
- package/node_modules/@smithy/types/dist-types/ts3.4/feature-ids.d.ts +16 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/http.d.ts +1 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/middleware.d.ts +26 -2
- package/node_modules/@smithy/types/dist-types/ts3.4/transform/no-undefined.d.ts +3 -2
- package/node_modules/@smithy/types/package.json +1 -1
- package/node_modules/@smithy/url-parser/package.json +5 -4
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +6 -5
- package/node_modules/@smithy/util-defaults-mode-node/package.json +9 -8
- package/node_modules/@smithy/util-endpoints/package.json +7 -5
- package/node_modules/@smithy/util-middleware/package.json +4 -3
- package/node_modules/@smithy/util-retry/dist-cjs/index.js +5 -1
- package/node_modules/@smithy/util-retry/dist-es/DefaultRateLimiter.js +2 -1
- package/node_modules/@smithy/util-retry/dist-types/DefaultRateLimiter.d.ts +4 -0
- package/node_modules/@smithy/util-retry/dist-types/ts3.4/DefaultRateLimiter.d.ts +4 -0
- package/node_modules/@smithy/util-retry/package.json +5 -4
- package/node_modules/@smithy/util-stream/dist-cjs/checksum/ChecksumStream.browser.js +7 -0
- package/node_modules/@smithy/util-stream/dist-cjs/checksum/ChecksumStream.js +49 -0
- package/node_modules/@smithy/util-stream/dist-cjs/checksum/createChecksumStream.browser.js +40 -0
- package/node_modules/@smithy/util-stream/dist-cjs/checksum/createChecksumStream.js +13 -0
- package/node_modules/@smithy/util-stream/dist-cjs/index.js +6 -1
- package/node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.js +1 -2
- package/node_modules/@smithy/util-stream/dist-cjs/splitStream.js +1 -1
- package/node_modules/@smithy/util-stream/dist-cjs/stream-type-check.js +6 -1
- package/node_modules/@smithy/util-stream/dist-es/checksum/ChecksumStream.browser.js +3 -0
- package/node_modules/@smithy/util-stream/dist-es/checksum/ChecksumStream.js +44 -0
- package/node_modules/@smithy/util-stream/dist-es/checksum/createChecksumStream.browser.js +35 -0
- package/node_modules/@smithy/util-stream/dist-es/checksum/createChecksumStream.js +9 -0
- package/node_modules/@smithy/util-stream/dist-es/index.js +2 -0
- package/node_modules/@smithy/util-stream/dist-es/sdk-stream-mixin.js +0 -1
- package/node_modules/@smithy/util-stream/dist-es/splitStream.js +2 -2
- package/node_modules/@smithy/util-stream/dist-es/stream-type-check.js +3 -0
- package/node_modules/@smithy/util-stream/dist-types/checksum/ChecksumStream.browser.d.ts +37 -0
- package/node_modules/@smithy/util-stream/dist-types/checksum/ChecksumStream.d.ts +61 -0
- package/node_modules/@smithy/util-stream/dist-types/checksum/createChecksumStream.browser.d.ts +15 -0
- package/node_modules/@smithy/util-stream/dist-types/checksum/createChecksumStream.d.ts +12 -0
- package/node_modules/@smithy/util-stream/dist-types/index.d.ts +2 -0
- package/node_modules/@smithy/util-stream/dist-types/stream-type-check.d.ts +4 -0
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/ChecksumStream.browser.d.ts +37 -0
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/ChecksumStream.d.ts +60 -0
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/createChecksumStream.browser.d.ts +15 -0
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/createChecksumStream.d.ts +12 -0
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/index.d.ts +2 -0
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/stream-type-check.d.ts +4 -0
- package/node_modules/@smithy/util-stream/package.json +16 -6
- package/node_modules/@smithy/util-waiter/package.json +5 -4
- package/node_modules/@types/uuid/LICENSE +21 -0
- package/node_modules/@types/uuid/README.md +15 -0
- package/node_modules/@types/uuid/index.d.mts +12 -0
- package/node_modules/@types/uuid/index.d.ts +86 -0
- package/node_modules/@types/uuid/package.json +54 -0
- package/node_modules/cookie/index.js +118 -57
- package/node_modules/cookie/package.json +3 -3
- package/node_modules/form-data/Readme.md +4 -4
- package/node_modules/form-data/lib/form_data.js +1 -1
- package/node_modules/form-data/package.json +9 -6
- package/node_modules/tslib/modules/index.d.ts +1 -0
- package/node_modules/tslib/modules/index.js +2 -0
- package/node_modules/tslib/package.json +1 -1
- package/node_modules/tslib/tslib.d.ts +7 -0
- package/node_modules/tslib/tslib.es6.js +24 -1
- package/node_modules/tslib/tslib.es6.mjs +24 -1
- package/node_modules/tslib/tslib.js +56 -1
- package/package.json +18 -18
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/constructs/.gitattributes +0 -28
- package/node_modules/cookie/HISTORY.md +0 -147
- package/node_modules/form-data/README.md.bak +0 -358
- /package/node_modules/{@aws-sdk/endpoint-cache/dist-cjs/Endpoint.js → @smithy/core/dist-cjs/setFeature.js} +0 -0
- /package/node_modules/{@aws-sdk/endpoint-cache/dist-cjs/EndpointCache.js → @smithy/fetch-http-handler/dist-cjs/create-request.js} +0 -0
package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/constructs/API.md
CHANGED
|
@@ -1,86 +1,192 @@
|
|
|
1
|
-
# API Reference
|
|
1
|
+
# API Reference <a name="API Reference" id="api-reference"></a>
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
## Constructs <a name="Constructs" id="Constructs"></a>
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
----|-----------
|
|
7
|
-
[Construct](#constructs-construct)|Represents the building block of the construct graph.
|
|
8
|
-
[Dependable](#constructs-dependable)|Trait for IDependable.
|
|
9
|
-
[DependencyGroup](#constructs-dependencygroup)|A set of constructs to be used as a dependable.
|
|
10
|
-
[Node](#constructs-node)|Represents the construct node in the scope tree.
|
|
5
|
+
### Construct <a name="Construct" id="constructs.Construct"></a>
|
|
11
6
|
|
|
7
|
+
- *Implements:* <a href="#constructs.IConstruct">IConstruct</a>
|
|
12
8
|
|
|
13
|
-
|
|
9
|
+
Represents the building block of the construct graph.
|
|
14
10
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
[MetadataEntry](#constructs-metadataentry)|An entry in the construct metadata table.
|
|
18
|
-
[MetadataOptions](#constructs-metadataoptions)|Options for `construct.addMetadata()`.
|
|
11
|
+
All constructs besides the root construct must be created within the scope of
|
|
12
|
+
another construct.
|
|
19
13
|
|
|
14
|
+
#### Initializers <a name="Initializers" id="constructs.Construct.Initializer"></a>
|
|
20
15
|
|
|
21
|
-
|
|
16
|
+
```typescript
|
|
17
|
+
import { Construct } from 'constructs'
|
|
22
18
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
[IConstruct](#constructs-iconstruct)|Represents a construct.
|
|
26
|
-
[IDependable](#constructs-idependable)|Trait marker for classes that can be depended upon.
|
|
27
|
-
[IValidation](#constructs-ivalidation)|Implement this interface in order for the construct to be able to validate itself.
|
|
19
|
+
new Construct(scope: Construct, id: string)
|
|
20
|
+
```
|
|
28
21
|
|
|
22
|
+
| **Name** | **Type** | **Description** |
|
|
23
|
+
| --- | --- | --- |
|
|
24
|
+
| <code><a href="#constructs.Construct.Initializer.parameter.scope">scope</a></code> | <code><a href="#constructs.Construct">Construct</a></code> | The scope in which to define this construct. |
|
|
25
|
+
| <code><a href="#constructs.Construct.Initializer.parameter.id">id</a></code> | <code>string</code> | The scoped construct ID. |
|
|
29
26
|
|
|
30
|
-
|
|
27
|
+
---
|
|
31
28
|
|
|
32
|
-
|
|
33
|
-
----|-----------
|
|
34
|
-
[ConstructOrder](#constructs-constructorder)|In what order to return constructs.
|
|
29
|
+
##### `scope`<sup>Required</sup> <a name="scope" id="constructs.Construct.Initializer.parameter.scope"></a>
|
|
35
30
|
|
|
31
|
+
- *Type:* <a href="#constructs.Construct">Construct</a>
|
|
36
32
|
|
|
33
|
+
The scope in which to define this construct.
|
|
37
34
|
|
|
38
|
-
|
|
35
|
+
---
|
|
39
36
|
|
|
40
|
-
|
|
37
|
+
##### `id`<sup>Required</sup> <a name="id" id="constructs.Construct.Initializer.parameter.id"></a>
|
|
41
38
|
|
|
42
|
-
|
|
43
|
-
another construct.
|
|
39
|
+
- *Type:* string
|
|
44
40
|
|
|
45
|
-
|
|
41
|
+
The scoped construct ID.
|
|
46
42
|
|
|
47
|
-
|
|
43
|
+
Must be unique amongst siblings. If
|
|
44
|
+
the ID includes a path separator (`/`), then it will be replaced by double
|
|
45
|
+
dash `--`.
|
|
48
46
|
|
|
47
|
+
---
|
|
49
48
|
|
|
50
|
-
|
|
49
|
+
#### Methods <a name="Methods" id="Methods"></a>
|
|
51
50
|
|
|
52
|
-
|
|
53
|
-
|
|
51
|
+
| **Name** | **Description** |
|
|
52
|
+
| --- | --- |
|
|
53
|
+
| <code><a href="#constructs.Construct.toString">toString</a></code> | Returns a string representation of this construct. |
|
|
54
|
+
|
|
55
|
+
---
|
|
56
|
+
|
|
57
|
+
##### `toString` <a name="toString" id="constructs.Construct.toString"></a>
|
|
58
|
+
|
|
59
|
+
```typescript
|
|
60
|
+
public toString(): string
|
|
54
61
|
```
|
|
55
62
|
|
|
56
|
-
|
|
57
|
-
* **id** (<code>string</code>) The scoped construct ID.
|
|
63
|
+
Returns a string representation of this construct.
|
|
58
64
|
|
|
65
|
+
#### Static Functions <a name="Static Functions" id="Static Functions"></a>
|
|
59
66
|
|
|
67
|
+
| **Name** | **Description** |
|
|
68
|
+
| --- | --- |
|
|
69
|
+
| <code><a href="#constructs.Construct.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
|
|
60
70
|
|
|
61
|
-
|
|
71
|
+
---
|
|
62
72
|
|
|
73
|
+
##### `isConstruct` <a name="isConstruct" id="constructs.Construct.isConstruct"></a>
|
|
63
74
|
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
**node** | <code>[Node](#constructs-node)</code> | The tree node.
|
|
75
|
+
```typescript
|
|
76
|
+
import { Construct } from 'constructs'
|
|
67
77
|
|
|
68
|
-
|
|
78
|
+
Construct.isConstruct(x: any)
|
|
79
|
+
```
|
|
69
80
|
|
|
81
|
+
Checks if `x` is a construct.
|
|
70
82
|
|
|
71
|
-
|
|
83
|
+
Use this method instead of `instanceof` to properly detect `Construct`
|
|
84
|
+
instances, even when the construct library is symlinked.
|
|
85
|
+
|
|
86
|
+
Explanation: in JavaScript, multiple copies of the `constructs` library on
|
|
87
|
+
disk are seen as independent, completely different libraries. As a
|
|
88
|
+
consequence, the class `Construct` in each copy of the `constructs` library
|
|
89
|
+
is seen as a different class, and an instance of one class will not test as
|
|
90
|
+
`instanceof` the other class. `npm install` will not create installations
|
|
91
|
+
like this, but users may manually symlink construct libraries together or
|
|
92
|
+
use a monorepo tool: in those cases, multiple copies of the `constructs`
|
|
93
|
+
library can be accidentally installed, and `instanceof` will behave
|
|
94
|
+
unpredictably. It is safest to avoid using `instanceof`, and using
|
|
95
|
+
this type-testing method instead.
|
|
96
|
+
|
|
97
|
+
###### `x`<sup>Required</sup> <a name="x" id="constructs.Construct.isConstruct.parameter.x"></a>
|
|
98
|
+
|
|
99
|
+
- *Type:* any
|
|
100
|
+
|
|
101
|
+
Any object.
|
|
102
|
+
|
|
103
|
+
---
|
|
104
|
+
|
|
105
|
+
#### Properties <a name="Properties" id="Properties"></a>
|
|
106
|
+
|
|
107
|
+
| **Name** | **Type** | **Description** |
|
|
108
|
+
| --- | --- | --- |
|
|
109
|
+
| <code><a href="#constructs.Construct.property.node">node</a></code> | <code><a href="#constructs.Node">Node</a></code> | The tree node. |
|
|
110
|
+
|
|
111
|
+
---
|
|
112
|
+
|
|
113
|
+
##### `node`<sup>Required</sup> <a name="node" id="constructs.Construct.property.node"></a>
|
|
114
|
+
|
|
115
|
+
```typescript
|
|
116
|
+
public readonly node: Node;
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
- *Type:* <a href="#constructs.Node">Node</a>
|
|
120
|
+
|
|
121
|
+
The tree node.
|
|
122
|
+
|
|
123
|
+
---
|
|
72
124
|
|
|
73
|
-
Returns a string representation of this construct.
|
|
74
125
|
|
|
75
|
-
|
|
76
|
-
|
|
126
|
+
### RootConstruct <a name="RootConstruct" id="constructs.RootConstruct"></a>
|
|
127
|
+
|
|
128
|
+
Creates a new root construct node.
|
|
129
|
+
|
|
130
|
+
The root construct represents the top of the construct tree and is not contained within a parent scope itself.
|
|
131
|
+
For root constructs, the id is optional.
|
|
132
|
+
|
|
133
|
+
#### Initializers <a name="Initializers" id="constructs.RootConstruct.Initializer"></a>
|
|
134
|
+
|
|
135
|
+
```typescript
|
|
136
|
+
import { RootConstruct } from 'constructs'
|
|
137
|
+
|
|
138
|
+
new RootConstruct(id?: string)
|
|
77
139
|
```
|
|
78
140
|
|
|
141
|
+
| **Name** | **Type** | **Description** |
|
|
142
|
+
| --- | --- | --- |
|
|
143
|
+
| <code><a href="#constructs.RootConstruct.Initializer.parameter.id">id</a></code> | <code>string</code> | The scoped construct ID. |
|
|
144
|
+
|
|
145
|
+
---
|
|
146
|
+
|
|
147
|
+
##### `id`<sup>Optional</sup> <a name="id" id="constructs.RootConstruct.Initializer.parameter.id"></a>
|
|
148
|
+
|
|
149
|
+
- *Type:* string
|
|
150
|
+
|
|
151
|
+
The scoped construct ID.
|
|
152
|
+
|
|
153
|
+
Must be unique amongst siblings. If
|
|
154
|
+
the ID includes a path separator (`/`), then it will be replaced by double
|
|
155
|
+
dash `--`.
|
|
156
|
+
|
|
157
|
+
---
|
|
158
|
+
|
|
159
|
+
#### Methods <a name="Methods" id="Methods"></a>
|
|
160
|
+
|
|
161
|
+
| **Name** | **Description** |
|
|
162
|
+
| --- | --- |
|
|
163
|
+
| <code><a href="#constructs.RootConstruct.toString">toString</a></code> | Returns a string representation of this construct. |
|
|
164
|
+
|
|
165
|
+
---
|
|
166
|
+
|
|
167
|
+
##### `toString` <a name="toString" id="constructs.RootConstruct.toString"></a>
|
|
168
|
+
|
|
169
|
+
```typescript
|
|
170
|
+
public toString(): string
|
|
171
|
+
```
|
|
172
|
+
|
|
173
|
+
Returns a string representation of this construct.
|
|
174
|
+
|
|
175
|
+
#### Static Functions <a name="Static Functions" id="Static Functions"></a>
|
|
176
|
+
|
|
177
|
+
| **Name** | **Description** |
|
|
178
|
+
| --- | --- |
|
|
179
|
+
| <code><a href="#constructs.RootConstruct.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
|
|
79
180
|
|
|
80
|
-
|
|
81
|
-
* <code>string</code>
|
|
181
|
+
---
|
|
82
182
|
|
|
83
|
-
|
|
183
|
+
##### `isConstruct` <a name="isConstruct" id="constructs.RootConstruct.isConstruct"></a>
|
|
184
|
+
|
|
185
|
+
```typescript
|
|
186
|
+
import { RootConstruct } from 'constructs'
|
|
187
|
+
|
|
188
|
+
RootConstruct.isConstruct(x: any)
|
|
189
|
+
```
|
|
84
190
|
|
|
85
191
|
Checks if `x` is a construct.
|
|
86
192
|
|
|
@@ -98,18 +204,150 @@ library can be accidentally installed, and `instanceof` will behave
|
|
|
98
204
|
unpredictably. It is safest to avoid using `instanceof`, and using
|
|
99
205
|
this type-testing method instead.
|
|
100
206
|
|
|
101
|
-
|
|
102
|
-
|
|
207
|
+
###### `x`<sup>Required</sup> <a name="x" id="constructs.RootConstruct.isConstruct.parameter.x"></a>
|
|
208
|
+
|
|
209
|
+
- *Type:* any
|
|
210
|
+
|
|
211
|
+
Any object.
|
|
212
|
+
|
|
213
|
+
---
|
|
214
|
+
|
|
215
|
+
#### Properties <a name="Properties" id="Properties"></a>
|
|
216
|
+
|
|
217
|
+
| **Name** | **Type** | **Description** |
|
|
218
|
+
| --- | --- | --- |
|
|
219
|
+
| <code><a href="#constructs.RootConstruct.property.node">node</a></code> | <code><a href="#constructs.Node">Node</a></code> | The tree node. |
|
|
220
|
+
|
|
221
|
+
---
|
|
222
|
+
|
|
223
|
+
##### `node`<sup>Required</sup> <a name="node" id="constructs.RootConstruct.property.node"></a>
|
|
224
|
+
|
|
225
|
+
```typescript
|
|
226
|
+
public readonly node: Node;
|
|
227
|
+
```
|
|
228
|
+
|
|
229
|
+
- *Type:* <a href="#constructs.Node">Node</a>
|
|
230
|
+
|
|
231
|
+
The tree node.
|
|
232
|
+
|
|
233
|
+
---
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
## Structs <a name="Structs" id="Structs"></a>
|
|
237
|
+
|
|
238
|
+
### MetadataEntry <a name="MetadataEntry" id="constructs.MetadataEntry"></a>
|
|
239
|
+
|
|
240
|
+
An entry in the construct metadata table.
|
|
241
|
+
|
|
242
|
+
#### Initializer <a name="Initializer" id="constructs.MetadataEntry.Initializer"></a>
|
|
243
|
+
|
|
244
|
+
```typescript
|
|
245
|
+
import { MetadataEntry } from 'constructs'
|
|
246
|
+
|
|
247
|
+
const metadataEntry: MetadataEntry = { ... }
|
|
248
|
+
```
|
|
249
|
+
|
|
250
|
+
#### Properties <a name="Properties" id="Properties"></a>
|
|
251
|
+
|
|
252
|
+
| **Name** | **Type** | **Description** |
|
|
253
|
+
| --- | --- | --- |
|
|
254
|
+
| <code><a href="#constructs.MetadataEntry.property.data">data</a></code> | <code>any</code> | The data. |
|
|
255
|
+
| <code><a href="#constructs.MetadataEntry.property.type">type</a></code> | <code>string</code> | The metadata entry type. |
|
|
256
|
+
| <code><a href="#constructs.MetadataEntry.property.trace">trace</a></code> | <code>string[]</code> | Stack trace at the point of adding the metadata. |
|
|
257
|
+
|
|
258
|
+
---
|
|
259
|
+
|
|
260
|
+
##### `data`<sup>Required</sup> <a name="data" id="constructs.MetadataEntry.property.data"></a>
|
|
261
|
+
|
|
262
|
+
```typescript
|
|
263
|
+
public readonly data: any;
|
|
264
|
+
```
|
|
265
|
+
|
|
266
|
+
- *Type:* any
|
|
267
|
+
|
|
268
|
+
The data.
|
|
269
|
+
|
|
270
|
+
---
|
|
271
|
+
|
|
272
|
+
##### `type`<sup>Required</sup> <a name="type" id="constructs.MetadataEntry.property.type"></a>
|
|
273
|
+
|
|
274
|
+
```typescript
|
|
275
|
+
public readonly type: string;
|
|
276
|
+
```
|
|
277
|
+
|
|
278
|
+
- *Type:* string
|
|
279
|
+
|
|
280
|
+
The metadata entry type.
|
|
281
|
+
|
|
282
|
+
---
|
|
283
|
+
|
|
284
|
+
##### `trace`<sup>Optional</sup> <a name="trace" id="constructs.MetadataEntry.property.trace"></a>
|
|
285
|
+
|
|
286
|
+
```typescript
|
|
287
|
+
public readonly trace: string[];
|
|
288
|
+
```
|
|
289
|
+
|
|
290
|
+
- *Type:* string[]
|
|
291
|
+
- *Default:* no trace information
|
|
292
|
+
|
|
293
|
+
Stack trace at the point of adding the metadata.
|
|
294
|
+
|
|
295
|
+
Only available if `addMetadata()` is called with `stackTrace: true`.
|
|
296
|
+
|
|
297
|
+
---
|
|
298
|
+
|
|
299
|
+
### MetadataOptions <a name="MetadataOptions" id="constructs.MetadataOptions"></a>
|
|
300
|
+
|
|
301
|
+
Options for `construct.addMetadata()`.
|
|
302
|
+
|
|
303
|
+
#### Initializer <a name="Initializer" id="constructs.MetadataOptions.Initializer"></a>
|
|
304
|
+
|
|
305
|
+
```typescript
|
|
306
|
+
import { MetadataOptions } from 'constructs'
|
|
307
|
+
|
|
308
|
+
const metadataOptions: MetadataOptions = { ... }
|
|
309
|
+
```
|
|
310
|
+
|
|
311
|
+
#### Properties <a name="Properties" id="Properties"></a>
|
|
312
|
+
|
|
313
|
+
| **Name** | **Type** | **Description** |
|
|
314
|
+
| --- | --- | --- |
|
|
315
|
+
| <code><a href="#constructs.MetadataOptions.property.stackTrace">stackTrace</a></code> | <code>boolean</code> | Include stack trace with metadata entry. |
|
|
316
|
+
| <code><a href="#constructs.MetadataOptions.property.traceFromFunction">traceFromFunction</a></code> | <code>any</code> | A JavaScript function to begin tracing from. |
|
|
317
|
+
|
|
318
|
+
---
|
|
319
|
+
|
|
320
|
+
##### `stackTrace`<sup>Optional</sup> <a name="stackTrace" id="constructs.MetadataOptions.property.stackTrace"></a>
|
|
321
|
+
|
|
322
|
+
```typescript
|
|
323
|
+
public readonly stackTrace: boolean;
|
|
324
|
+
```
|
|
325
|
+
|
|
326
|
+
- *Type:* boolean
|
|
327
|
+
- *Default:* false
|
|
328
|
+
|
|
329
|
+
Include stack trace with metadata entry.
|
|
330
|
+
|
|
331
|
+
---
|
|
332
|
+
|
|
333
|
+
##### `traceFromFunction`<sup>Optional</sup> <a name="traceFromFunction" id="constructs.MetadataOptions.property.traceFromFunction"></a>
|
|
334
|
+
|
|
335
|
+
```typescript
|
|
336
|
+
public readonly traceFromFunction: any;
|
|
103
337
|
```
|
|
104
338
|
|
|
105
|
-
*
|
|
339
|
+
- *Type:* any
|
|
340
|
+
- *Default:* addMetadata()
|
|
341
|
+
|
|
342
|
+
A JavaScript function to begin tracing from.
|
|
106
343
|
|
|
107
|
-
|
|
108
|
-
* <code>boolean</code>
|
|
344
|
+
This option is ignored unless `stackTrace` is `true`.
|
|
109
345
|
|
|
346
|
+
---
|
|
110
347
|
|
|
348
|
+
## Classes <a name="Classes" id="Classes"></a>
|
|
111
349
|
|
|
112
|
-
|
|
350
|
+
### Dependable <a name="Dependable" id="constructs.Dependable"></a>
|
|
113
351
|
|
|
114
352
|
Trait for IDependable.
|
|
115
353
|
|
|
@@ -119,455 +357,803 @@ explicitly. This is used to implement certain framework features that are
|
|
|
119
357
|
not intended to be used by Construct consumers, and so should be hidden
|
|
120
358
|
from accidental use.
|
|
121
359
|
|
|
360
|
+
*Example*
|
|
361
|
+
|
|
362
|
+
```typescript
|
|
363
|
+
// Usage
|
|
364
|
+
const roots = Dependable.of(construct).dependencyRoots;
|
|
122
365
|
|
|
123
|
-
|
|
366
|
+
// Definition
|
|
367
|
+
Dependable.implement(construct, {
|
|
368
|
+
dependencyRoots: [construct],
|
|
369
|
+
});
|
|
370
|
+
```
|
|
124
371
|
|
|
125
372
|
|
|
373
|
+
#### Initializers <a name="Initializers" id="constructs.Dependable.Initializer"></a>
|
|
126
374
|
|
|
375
|
+
```typescript
|
|
376
|
+
import { Dependable } from 'constructs'
|
|
127
377
|
|
|
128
|
-
```ts
|
|
129
378
|
new Dependable()
|
|
130
379
|
```
|
|
131
380
|
|
|
381
|
+
| **Name** | **Type** | **Description** |
|
|
382
|
+
| --- | --- | --- |
|
|
132
383
|
|
|
384
|
+
---
|
|
133
385
|
|
|
134
386
|
|
|
135
|
-
|
|
387
|
+
#### Static Functions <a name="Static Functions" id="Static Functions"></a>
|
|
136
388
|
|
|
389
|
+
| **Name** | **Description** |
|
|
390
|
+
| --- | --- |
|
|
391
|
+
| <code><a href="#constructs.Dependable.get">get</a></code> | Return the matching Dependable for the given class instance. |
|
|
392
|
+
| <code><a href="#constructs.Dependable.implement">implement</a></code> | Turn any object into an IDependable. |
|
|
393
|
+
| <code><a href="#constructs.Dependable.of">of</a></code> | Return the matching Dependable for the given class instance. |
|
|
137
394
|
|
|
138
|
-
|
|
139
|
-
-----|------|-------------
|
|
140
|
-
**dependencyRoots**🔹 | <code>Array<[IConstruct](#constructs-iconstruct)></code> | The set of constructs that form the root of this dependable.
|
|
395
|
+
---
|
|
141
396
|
|
|
142
|
-
|
|
397
|
+
##### ~~`get`~~ <a name="get" id="constructs.Dependable.get"></a>
|
|
143
398
|
|
|
399
|
+
```typescript
|
|
400
|
+
import { Dependable } from 'constructs'
|
|
144
401
|
|
|
145
|
-
|
|
402
|
+
Dependable.get(instance: IDependable)
|
|
403
|
+
```
|
|
146
404
|
|
|
147
405
|
Return the matching Dependable for the given class instance.
|
|
148
406
|
|
|
149
|
-
|
|
150
|
-
static get(instance: IDependable): Dependable
|
|
151
|
-
```
|
|
407
|
+
###### `instance`<sup>Required</sup> <a name="instance" id="constructs.Dependable.get.parameter.instance"></a>
|
|
152
408
|
|
|
153
|
-
*
|
|
409
|
+
- *Type:* <a href="#constructs.IDependable">IDependable</a>
|
|
154
410
|
|
|
155
|
-
|
|
156
|
-
* <code>[Dependable](#constructs-dependable)</code>
|
|
411
|
+
---
|
|
157
412
|
|
|
158
|
-
|
|
413
|
+
##### `implement` <a name="implement" id="constructs.Dependable.implement"></a>
|
|
159
414
|
|
|
160
|
-
|
|
415
|
+
```typescript
|
|
416
|
+
import { Dependable } from 'constructs'
|
|
161
417
|
|
|
162
|
-
|
|
163
|
-
static implement(instance: IDependable, trait: Dependable): void
|
|
418
|
+
Dependable.implement(instance: IDependable, trait: Dependable)
|
|
164
419
|
```
|
|
165
420
|
|
|
166
|
-
|
|
167
|
-
|
|
421
|
+
Turn any object into an IDependable.
|
|
422
|
+
|
|
423
|
+
###### `instance`<sup>Required</sup> <a name="instance" id="constructs.Dependable.implement.parameter.instance"></a>
|
|
424
|
+
|
|
425
|
+
- *Type:* <a href="#constructs.IDependable">IDependable</a>
|
|
426
|
+
|
|
427
|
+
---
|
|
168
428
|
|
|
429
|
+
###### `trait`<sup>Required</sup> <a name="trait" id="constructs.Dependable.implement.parameter.trait"></a>
|
|
169
430
|
|
|
431
|
+
- *Type:* <a href="#constructs.Dependable">Dependable</a>
|
|
170
432
|
|
|
433
|
+
---
|
|
171
434
|
|
|
172
|
-
|
|
435
|
+
##### `of` <a name="of" id="constructs.Dependable.of"></a>
|
|
436
|
+
|
|
437
|
+
```typescript
|
|
438
|
+
import { Dependable } from 'constructs'
|
|
439
|
+
|
|
440
|
+
Dependable.of(instance: IDependable)
|
|
441
|
+
```
|
|
173
442
|
|
|
174
443
|
Return the matching Dependable for the given class instance.
|
|
175
444
|
|
|
176
|
-
|
|
177
|
-
|
|
445
|
+
###### `instance`<sup>Required</sup> <a name="instance" id="constructs.Dependable.of.parameter.instance"></a>
|
|
446
|
+
|
|
447
|
+
- *Type:* <a href="#constructs.IDependable">IDependable</a>
|
|
448
|
+
|
|
449
|
+
---
|
|
450
|
+
|
|
451
|
+
#### Properties <a name="Properties" id="Properties"></a>
|
|
452
|
+
|
|
453
|
+
| **Name** | **Type** | **Description** |
|
|
454
|
+
| --- | --- | --- |
|
|
455
|
+
| <code><a href="#constructs.Dependable.property.dependencyRoots">dependencyRoots</a></code> | <code><a href="#constructs.IConstruct">IConstruct</a>[]</code> | The set of constructs that form the root of this dependable. |
|
|
456
|
+
|
|
457
|
+
---
|
|
458
|
+
|
|
459
|
+
##### `dependencyRoots`<sup>Required</sup> <a name="dependencyRoots" id="constructs.Dependable.property.dependencyRoots"></a>
|
|
460
|
+
|
|
461
|
+
```typescript
|
|
462
|
+
public readonly dependencyRoots: IConstruct[];
|
|
178
463
|
```
|
|
179
464
|
|
|
180
|
-
*
|
|
465
|
+
- *Type:* <a href="#constructs.IConstruct">IConstruct</a>[]
|
|
181
466
|
|
|
182
|
-
|
|
183
|
-
* <code>[Dependable](#constructs-dependable)</code>
|
|
467
|
+
The set of constructs that form the root of this dependable.
|
|
184
468
|
|
|
469
|
+
All resources under all returned constructs are included in the ordering
|
|
470
|
+
dependency.
|
|
185
471
|
|
|
472
|
+
---
|
|
186
473
|
|
|
187
|
-
|
|
474
|
+
|
|
475
|
+
### DependencyGroup <a name="DependencyGroup" id="constructs.DependencyGroup"></a>
|
|
476
|
+
|
|
477
|
+
- *Implements:* <a href="#constructs.IDependable">IDependable</a>
|
|
188
478
|
|
|
189
479
|
A set of constructs to be used as a dependable.
|
|
190
480
|
|
|
191
481
|
This class can be used when a set of constructs which are disjoint in the
|
|
192
482
|
construct tree needs to be combined to be used as a single dependable.
|
|
193
483
|
|
|
194
|
-
|
|
484
|
+
#### Initializers <a name="Initializers" id="constructs.DependencyGroup.Initializer"></a>
|
|
195
485
|
|
|
196
|
-
|
|
486
|
+
```typescript
|
|
487
|
+
import { DependencyGroup } from 'constructs'
|
|
197
488
|
|
|
489
|
+
new DependencyGroup(deps: ...IDependable[])
|
|
490
|
+
```
|
|
198
491
|
|
|
492
|
+
| **Name** | **Type** | **Description** |
|
|
493
|
+
| --- | --- | --- |
|
|
494
|
+
| <code><a href="#constructs.DependencyGroup.Initializer.parameter.deps">deps</a></code> | <code>...<a href="#constructs.IDependable">IDependable</a>[]</code> | *No description.* |
|
|
199
495
|
|
|
496
|
+
---
|
|
200
497
|
|
|
201
|
-
|
|
202
|
-
new DependencyGroup(...deps: IDependable[])
|
|
203
|
-
```
|
|
498
|
+
##### `deps`<sup>Required</sup> <a name="deps" id="constructs.DependencyGroup.Initializer.parameter.deps"></a>
|
|
204
499
|
|
|
205
|
-
*
|
|
500
|
+
- *Type:* ...<a href="#constructs.IDependable">IDependable</a>[]
|
|
206
501
|
|
|
502
|
+
---
|
|
207
503
|
|
|
208
|
-
|
|
504
|
+
#### Methods <a name="Methods" id="Methods"></a>
|
|
209
505
|
|
|
506
|
+
| **Name** | **Description** |
|
|
507
|
+
| --- | --- |
|
|
508
|
+
| <code><a href="#constructs.DependencyGroup.add">add</a></code> | Add a construct to the dependency roots. |
|
|
210
509
|
|
|
211
|
-
|
|
510
|
+
---
|
|
212
511
|
|
|
213
|
-
|
|
512
|
+
##### `add` <a name="add" id="constructs.DependencyGroup.add"></a>
|
|
214
513
|
|
|
215
|
-
```
|
|
216
|
-
add(
|
|
514
|
+
```typescript
|
|
515
|
+
public add(scopes: ...IDependable[]): void
|
|
217
516
|
```
|
|
218
517
|
|
|
219
|
-
|
|
518
|
+
Add a construct to the dependency roots.
|
|
220
519
|
|
|
520
|
+
###### `scopes`<sup>Required</sup> <a name="scopes" id="constructs.DependencyGroup.add.parameter.scopes"></a>
|
|
221
521
|
|
|
522
|
+
- *Type:* ...<a href="#constructs.IDependable">IDependable</a>[]
|
|
222
523
|
|
|
524
|
+
---
|
|
223
525
|
|
|
224
526
|
|
|
225
527
|
|
|
226
|
-
|
|
528
|
+
|
|
529
|
+
### Node <a name="Node" id="constructs.Node"></a>
|
|
227
530
|
|
|
228
531
|
Represents the construct node in the scope tree.
|
|
229
532
|
|
|
533
|
+
#### Initializers <a name="Initializers" id="constructs.Node.Initializer"></a>
|
|
230
534
|
|
|
231
|
-
|
|
535
|
+
```typescript
|
|
536
|
+
import { Node } from 'constructs'
|
|
232
537
|
|
|
538
|
+
new Node(host: Construct, scope: IConstruct, id: string)
|
|
539
|
+
```
|
|
233
540
|
|
|
541
|
+
| **Name** | **Type** | **Description** |
|
|
542
|
+
| --- | --- | --- |
|
|
543
|
+
| <code><a href="#constructs.Node.Initializer.parameter.host">host</a></code> | <code><a href="#constructs.Construct">Construct</a></code> | *No description.* |
|
|
544
|
+
| <code><a href="#constructs.Node.Initializer.parameter.scope">scope</a></code> | <code><a href="#constructs.IConstruct">IConstruct</a></code> | *No description.* |
|
|
545
|
+
| <code><a href="#constructs.Node.Initializer.parameter.id">id</a></code> | <code>string</code> | *No description.* |
|
|
234
546
|
|
|
547
|
+
---
|
|
235
548
|
|
|
236
|
-
|
|
237
|
-
new Node(host: Construct, scope: IConstruct, id: string)
|
|
238
|
-
```
|
|
549
|
+
##### `host`<sup>Required</sup> <a name="host" id="constructs.Node.Initializer.parameter.host"></a>
|
|
239
550
|
|
|
240
|
-
*
|
|
241
|
-
* **scope** (<code>[IConstruct](#constructs-iconstruct)</code>) *No description*
|
|
242
|
-
* **id** (<code>string</code>) *No description*
|
|
551
|
+
- *Type:* <a href="#constructs.Construct">Construct</a>
|
|
243
552
|
|
|
553
|
+
---
|
|
244
554
|
|
|
555
|
+
##### `scope`<sup>Required</sup> <a name="scope" id="constructs.Node.Initializer.parameter.scope"></a>
|
|
245
556
|
|
|
246
|
-
|
|
557
|
+
- *Type:* <a href="#constructs.IConstruct">IConstruct</a>
|
|
247
558
|
|
|
559
|
+
---
|
|
248
560
|
|
|
249
|
-
|
|
250
|
-
-----|------|-------------
|
|
251
|
-
**addr** | <code>string</code> | Returns an opaque tree-unique address for this construct.
|
|
252
|
-
**children** | <code>Array<[IConstruct](#constructs-iconstruct)></code> | All direct children of this construct.
|
|
253
|
-
**dependencies** | <code>Array<[IConstruct](#constructs-iconstruct)></code> | Return all dependencies registered on this node (non-recursive).
|
|
254
|
-
**id** | <code>string</code> | The id of this construct within the current scope.
|
|
255
|
-
**locked** | <code>boolean</code> | Returns true if this construct or the scopes in which it is defined are locked.
|
|
256
|
-
**metadata** | <code>Array<[MetadataEntry](#constructs-metadataentry)></code> | An immutable array of metadata objects associated with this construct.
|
|
257
|
-
**path** | <code>string</code> | The full, absolute path of this construct in the tree.
|
|
258
|
-
**root** | <code>[IConstruct](#constructs-iconstruct)</code> | Returns the root of the construct tree.
|
|
259
|
-
**scopes** | <code>Array<[IConstruct](#constructs-iconstruct)></code> | All parent scopes of this construct.
|
|
260
|
-
**defaultChild**? | <code>[IConstruct](#constructs-iconstruct)</code> | Returns the child construct that has the id `Default` or `Resource"`.<br/>__*Optional*__
|
|
261
|
-
**scope**? | <code>[IConstruct](#constructs-iconstruct)</code> | Returns the scope in which this construct is defined.<br/>__*Optional*__
|
|
262
|
-
*static* **PATH_SEP** | <code>string</code> | Separator used to delimit construct path components.
|
|
561
|
+
##### `id`<sup>Required</sup> <a name="id" id="constructs.Node.Initializer.parameter.id"></a>
|
|
263
562
|
|
|
264
|
-
|
|
563
|
+
- *Type:* string
|
|
265
564
|
|
|
565
|
+
---
|
|
266
566
|
|
|
267
|
-
####
|
|
567
|
+
#### Methods <a name="Methods" id="Methods"></a>
|
|
268
568
|
|
|
269
|
-
|
|
569
|
+
| **Name** | **Description** |
|
|
570
|
+
| --- | --- |
|
|
571
|
+
| <code><a href="#constructs.Node.addDependency">addDependency</a></code> | Add an ordering dependency on another construct. |
|
|
572
|
+
| <code><a href="#constructs.Node.addMetadata">addMetadata</a></code> | Adds a metadata entry to this construct. |
|
|
573
|
+
| <code><a href="#constructs.Node.addValidation">addValidation</a></code> | Adds a validation to this construct. |
|
|
574
|
+
| <code><a href="#constructs.Node.findAll">findAll</a></code> | Return this construct and all of its children in the given order. |
|
|
575
|
+
| <code><a href="#constructs.Node.findChild">findChild</a></code> | Return a direct child by id. |
|
|
576
|
+
| <code><a href="#constructs.Node.getAllContext">getAllContext</a></code> | Retrieves the all context of a node from tree context. |
|
|
577
|
+
| <code><a href="#constructs.Node.getContext">getContext</a></code> | Retrieves a value from tree context if present. Otherwise, would throw an error. |
|
|
578
|
+
| <code><a href="#constructs.Node.lock">lock</a></code> | Locks this construct from allowing more children to be added. |
|
|
579
|
+
| <code><a href="#constructs.Node.setContext">setContext</a></code> | This can be used to set contextual values. |
|
|
580
|
+
| <code><a href="#constructs.Node.tryFindChild">tryFindChild</a></code> | Return a direct child by id, or undefined. |
|
|
581
|
+
| <code><a href="#constructs.Node.tryGetContext">tryGetContext</a></code> | Retrieves a value from tree context. |
|
|
582
|
+
| <code><a href="#constructs.Node.tryRemoveChild">tryRemoveChild</a></code> | Remove the child with the given name, if present. |
|
|
583
|
+
| <code><a href="#constructs.Node.validate">validate</a></code> | Validates this construct. |
|
|
270
584
|
|
|
271
|
-
|
|
585
|
+
---
|
|
586
|
+
|
|
587
|
+
##### `addDependency` <a name="addDependency" id="constructs.Node.addDependency"></a>
|
|
272
588
|
|
|
273
|
-
```
|
|
274
|
-
addDependency(
|
|
589
|
+
```typescript
|
|
590
|
+
public addDependency(deps: ...IDependable[]): void
|
|
275
591
|
```
|
|
276
592
|
|
|
277
|
-
|
|
593
|
+
Add an ordering dependency on another construct.
|
|
594
|
+
|
|
595
|
+
An `IDependable`
|
|
596
|
+
|
|
597
|
+
###### `deps`<sup>Required</sup> <a name="deps" id="constructs.Node.addDependency.parameter.deps"></a>
|
|
278
598
|
|
|
599
|
+
- *Type:* ...<a href="#constructs.IDependable">IDependable</a>[]
|
|
279
600
|
|
|
601
|
+
---
|
|
280
602
|
|
|
603
|
+
##### `addMetadata` <a name="addMetadata" id="constructs.Node.addMetadata"></a>
|
|
281
604
|
|
|
282
|
-
|
|
605
|
+
```typescript
|
|
606
|
+
public addMetadata(type: string, data: any, options?: MetadataOptions): void
|
|
607
|
+
```
|
|
283
608
|
|
|
284
609
|
Adds a metadata entry to this construct.
|
|
285
610
|
|
|
286
611
|
Entries are arbitrary values and will also include a stack trace to allow tracing back to
|
|
287
612
|
the code location for when the entry was added. It can be used, for example, to include source
|
|
288
613
|
mapping in CloudFormation templates to improve diagnostics.
|
|
614
|
+
Note that construct metadata is not the same as CloudFormation resource metadata and is never written to the CloudFormation template.
|
|
615
|
+
The metadata entries are written to the Cloud Assembly Manifest if the `treeMetadata` property is specified in the props of the App that contains this Construct.
|
|
289
616
|
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
617
|
+
###### `type`<sup>Required</sup> <a name="type" id="constructs.Node.addMetadata.parameter.type"></a>
|
|
618
|
+
|
|
619
|
+
- *Type:* string
|
|
293
620
|
|
|
294
|
-
|
|
295
|
-
* **data** (<code>any</code>) the value of the metadata (can be a Token).
|
|
296
|
-
* **options** (<code>[MetadataOptions](#constructs-metadataoptions)</code>) options.
|
|
297
|
-
* **stackTrace** (<code>boolean</code>) Include stack trace with metadata entry. __*Default*__: false
|
|
298
|
-
* **traceFromFunction** (<code>any</code>) A JavaScript function to begin tracing from. __*Default*__: addMetadata()
|
|
621
|
+
a string denoting the type of metadata.
|
|
299
622
|
|
|
623
|
+
---
|
|
300
624
|
|
|
625
|
+
###### `data`<sup>Required</sup> <a name="data" id="constructs.Node.addMetadata.parameter.data"></a>
|
|
301
626
|
|
|
627
|
+
- *Type:* any
|
|
302
628
|
|
|
303
|
-
|
|
629
|
+
the value of the metadata (can be a Token).
|
|
630
|
+
|
|
631
|
+
If null/undefined, metadata will not be added.
|
|
632
|
+
|
|
633
|
+
---
|
|
634
|
+
|
|
635
|
+
###### `options`<sup>Optional</sup> <a name="options" id="constructs.Node.addMetadata.parameter.options"></a>
|
|
636
|
+
|
|
637
|
+
- *Type:* <a href="#constructs.MetadataOptions">MetadataOptions</a>
|
|
638
|
+
|
|
639
|
+
options.
|
|
640
|
+
|
|
641
|
+
---
|
|
642
|
+
|
|
643
|
+
##### `addValidation` <a name="addValidation" id="constructs.Node.addValidation"></a>
|
|
644
|
+
|
|
645
|
+
```typescript
|
|
646
|
+
public addValidation(validation: IValidation): void
|
|
647
|
+
```
|
|
304
648
|
|
|
305
649
|
Adds a validation to this construct.
|
|
306
650
|
|
|
307
651
|
When `node.validate()` is called, the `validate()` method will be called on
|
|
308
652
|
all validations and all errors will be returned.
|
|
309
653
|
|
|
310
|
-
|
|
311
|
-
addValidation(validation: IValidation): void
|
|
312
|
-
```
|
|
654
|
+
###### `validation`<sup>Required</sup> <a name="validation" id="constructs.Node.addValidation.parameter.validation"></a>
|
|
313
655
|
|
|
314
|
-
*
|
|
656
|
+
- *Type:* <a href="#constructs.IValidation">IValidation</a>
|
|
315
657
|
|
|
658
|
+
The validation object.
|
|
316
659
|
|
|
660
|
+
---
|
|
317
661
|
|
|
662
|
+
##### `findAll` <a name="findAll" id="constructs.Node.findAll"></a>
|
|
318
663
|
|
|
319
|
-
|
|
664
|
+
```typescript
|
|
665
|
+
public findAll(order?: ConstructOrder): IConstruct[]
|
|
666
|
+
```
|
|
320
667
|
|
|
321
668
|
Return this construct and all of its children in the given order.
|
|
322
669
|
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
670
|
+
###### `order`<sup>Optional</sup> <a name="order" id="constructs.Node.findAll.parameter.order"></a>
|
|
671
|
+
|
|
672
|
+
- *Type:* <a href="#constructs.ConstructOrder">ConstructOrder</a>
|
|
326
673
|
|
|
327
|
-
|
|
674
|
+
---
|
|
328
675
|
|
|
329
|
-
|
|
330
|
-
* <code>Array<[IConstruct](#constructs-iconstruct)></code>
|
|
676
|
+
##### `findChild` <a name="findChild" id="constructs.Node.findChild"></a>
|
|
331
677
|
|
|
332
|
-
|
|
678
|
+
```typescript
|
|
679
|
+
public findChild(id: string): IConstruct
|
|
680
|
+
```
|
|
333
681
|
|
|
334
682
|
Return a direct child by id.
|
|
335
683
|
|
|
336
684
|
Throws an error if the child is not found.
|
|
337
685
|
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
686
|
+
###### `id`<sup>Required</sup> <a name="id" id="constructs.Node.findChild.parameter.id"></a>
|
|
687
|
+
|
|
688
|
+
- *Type:* string
|
|
341
689
|
|
|
342
|
-
|
|
690
|
+
Identifier of direct child.
|
|
343
691
|
|
|
344
|
-
|
|
345
|
-
* <code>[IConstruct](#constructs-iconstruct)</code>
|
|
692
|
+
---
|
|
346
693
|
|
|
347
|
-
|
|
694
|
+
##### `getAllContext` <a name="getAllContext" id="constructs.Node.getAllContext"></a>
|
|
695
|
+
|
|
696
|
+
```typescript
|
|
697
|
+
public getAllContext(defaults?: object): any
|
|
698
|
+
```
|
|
348
699
|
|
|
349
700
|
Retrieves the all context of a node from tree context.
|
|
350
701
|
|
|
351
702
|
Context is usually initialized at the root, but can be overridden at any point in the tree.
|
|
352
703
|
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
704
|
+
###### `defaults`<sup>Optional</sup> <a name="defaults" id="constructs.Node.getAllContext.parameter.defaults"></a>
|
|
705
|
+
|
|
706
|
+
- *Type:* object
|
|
707
|
+
|
|
708
|
+
Any keys to override the retrieved context.
|
|
356
709
|
|
|
357
|
-
|
|
710
|
+
---
|
|
358
711
|
|
|
359
|
-
|
|
360
|
-
* <code>any</code>
|
|
712
|
+
##### `getContext` <a name="getContext" id="constructs.Node.getContext"></a>
|
|
361
713
|
|
|
362
|
-
|
|
714
|
+
```typescript
|
|
715
|
+
public getContext(key: string): any
|
|
716
|
+
```
|
|
363
717
|
|
|
364
718
|
Retrieves a value from tree context if present. Otherwise, would throw an error.
|
|
365
719
|
|
|
366
720
|
Context is usually initialized at the root, but can be overridden at any point in the tree.
|
|
367
721
|
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
722
|
+
###### `key`<sup>Required</sup> <a name="key" id="constructs.Node.getContext.parameter.key"></a>
|
|
723
|
+
|
|
724
|
+
- *Type:* string
|
|
371
725
|
|
|
372
|
-
|
|
726
|
+
The context key.
|
|
373
727
|
|
|
374
|
-
|
|
375
|
-
* <code>any</code>
|
|
728
|
+
---
|
|
376
729
|
|
|
377
|
-
|
|
730
|
+
##### `lock` <a name="lock" id="constructs.Node.lock"></a>
|
|
731
|
+
|
|
732
|
+
```typescript
|
|
733
|
+
public lock(): void
|
|
734
|
+
```
|
|
378
735
|
|
|
379
736
|
Locks this construct from allowing more children to be added.
|
|
380
737
|
|
|
381
738
|
After this
|
|
382
739
|
call, no more children can be added to this construct or to any children.
|
|
383
740
|
|
|
384
|
-
|
|
385
|
-
|
|
741
|
+
##### `setContext` <a name="setContext" id="constructs.Node.setContext"></a>
|
|
742
|
+
|
|
743
|
+
```typescript
|
|
744
|
+
public setContext(key: string, value: any): void
|
|
386
745
|
```
|
|
387
746
|
|
|
747
|
+
This can be used to set contextual values.
|
|
388
748
|
|
|
749
|
+
Context must be set before any children are added, since children may consult context info during construction.
|
|
750
|
+
If the key already exists, it will be overridden.
|
|
389
751
|
|
|
752
|
+
###### `key`<sup>Required</sup> <a name="key" id="constructs.Node.setContext.parameter.key"></a>
|
|
390
753
|
|
|
754
|
+
- *Type:* string
|
|
391
755
|
|
|
392
|
-
|
|
756
|
+
The context key.
|
|
393
757
|
|
|
394
|
-
|
|
758
|
+
---
|
|
395
759
|
|
|
396
|
-
|
|
397
|
-
If the key already exists, it will be overridden.
|
|
398
|
-
|
|
399
|
-
```ts
|
|
400
|
-
setContext(key: string, value: any): void
|
|
401
|
-
```
|
|
760
|
+
###### `value`<sup>Required</sup> <a name="value" id="constructs.Node.setContext.parameter.value"></a>
|
|
402
761
|
|
|
403
|
-
*
|
|
404
|
-
* **value** (<code>any</code>) The context value.
|
|
762
|
+
- *Type:* any
|
|
405
763
|
|
|
764
|
+
The context value.
|
|
406
765
|
|
|
766
|
+
---
|
|
407
767
|
|
|
768
|
+
##### `tryFindChild` <a name="tryFindChild" id="constructs.Node.tryFindChild"></a>
|
|
408
769
|
|
|
409
|
-
|
|
770
|
+
```typescript
|
|
771
|
+
public tryFindChild(id: string): IConstruct
|
|
772
|
+
```
|
|
410
773
|
|
|
411
774
|
Return a direct child by id, or undefined.
|
|
412
775
|
|
|
413
|
-
|
|
414
|
-
tryFindChild(id: string): IConstruct
|
|
415
|
-
```
|
|
776
|
+
###### `id`<sup>Required</sup> <a name="id" id="constructs.Node.tryFindChild.parameter.id"></a>
|
|
416
777
|
|
|
417
|
-
*
|
|
778
|
+
- *Type:* string
|
|
418
779
|
|
|
419
|
-
|
|
420
|
-
* <code>[IConstruct](#constructs-iconstruct)</code>
|
|
780
|
+
Identifier of direct child.
|
|
421
781
|
|
|
422
|
-
|
|
782
|
+
---
|
|
783
|
+
|
|
784
|
+
##### `tryGetContext` <a name="tryGetContext" id="constructs.Node.tryGetContext"></a>
|
|
785
|
+
|
|
786
|
+
```typescript
|
|
787
|
+
public tryGetContext(key: string): any
|
|
788
|
+
```
|
|
423
789
|
|
|
424
790
|
Retrieves a value from tree context.
|
|
425
791
|
|
|
426
792
|
Context is usually initialized at the root, but can be overridden at any point in the tree.
|
|
427
793
|
|
|
428
|
-
|
|
429
|
-
tryGetContext(key: string): any
|
|
430
|
-
```
|
|
794
|
+
###### `key`<sup>Required</sup> <a name="key" id="constructs.Node.tryGetContext.parameter.key"></a>
|
|
431
795
|
|
|
432
|
-
*
|
|
796
|
+
- *Type:* string
|
|
433
797
|
|
|
434
|
-
|
|
435
|
-
* <code>any</code>
|
|
798
|
+
The context key.
|
|
436
799
|
|
|
437
|
-
|
|
800
|
+
---
|
|
438
801
|
|
|
439
|
-
|
|
802
|
+
##### `tryRemoveChild` <a name="tryRemoveChild" id="constructs.Node.tryRemoveChild"></a>
|
|
440
803
|
|
|
441
|
-
```
|
|
442
|
-
tryRemoveChild(childName: string): boolean
|
|
804
|
+
```typescript
|
|
805
|
+
public tryRemoveChild(childName: string): boolean
|
|
443
806
|
```
|
|
444
807
|
|
|
445
|
-
|
|
808
|
+
Remove the child with the given name, if present.
|
|
809
|
+
|
|
810
|
+
###### `childName`<sup>Required</sup> <a name="childName" id="constructs.Node.tryRemoveChild.parameter.childName"></a>
|
|
811
|
+
|
|
812
|
+
- *Type:* string
|
|
446
813
|
|
|
447
|
-
|
|
448
|
-
* <code>boolean</code>
|
|
814
|
+
---
|
|
449
815
|
|
|
450
|
-
|
|
816
|
+
##### `validate` <a name="validate" id="constructs.Node.validate"></a>
|
|
817
|
+
|
|
818
|
+
```typescript
|
|
819
|
+
public validate(): string[]
|
|
820
|
+
```
|
|
451
821
|
|
|
452
822
|
Validates this construct.
|
|
453
823
|
|
|
454
824
|
Invokes the `validate()` method on all validations added through
|
|
455
825
|
`addValidation()`.
|
|
456
826
|
|
|
457
|
-
|
|
458
|
-
validate(): Array<string>
|
|
459
|
-
```
|
|
827
|
+
#### Static Functions <a name="Static Functions" id="Static Functions"></a>
|
|
460
828
|
|
|
829
|
+
| **Name** | **Description** |
|
|
830
|
+
| --- | --- |
|
|
831
|
+
| <code><a href="#constructs.Node.of">of</a></code> | Returns the node associated with a construct. |
|
|
461
832
|
|
|
462
|
-
|
|
463
|
-
* <code>Array<string></code>
|
|
833
|
+
---
|
|
464
834
|
|
|
465
|
-
|
|
835
|
+
##### ~~`of`~~ <a name="of" id="constructs.Node.of"></a>
|
|
836
|
+
|
|
837
|
+
```typescript
|
|
838
|
+
import { Node } from 'constructs'
|
|
839
|
+
|
|
840
|
+
Node.of(construct: IConstruct)
|
|
841
|
+
```
|
|
466
842
|
|
|
467
843
|
Returns the node associated with a construct.
|
|
468
844
|
|
|
469
|
-
|
|
470
|
-
|
|
845
|
+
###### `construct`<sup>Required</sup> <a name="construct" id="constructs.Node.of.parameter.construct"></a>
|
|
846
|
+
|
|
847
|
+
- *Type:* <a href="#constructs.IConstruct">IConstruct</a>
|
|
848
|
+
|
|
849
|
+
the construct.
|
|
850
|
+
|
|
851
|
+
---
|
|
852
|
+
|
|
853
|
+
#### Properties <a name="Properties" id="Properties"></a>
|
|
854
|
+
|
|
855
|
+
| **Name** | **Type** | **Description** |
|
|
856
|
+
| --- | --- | --- |
|
|
857
|
+
| <code><a href="#constructs.Node.property.addr">addr</a></code> | <code>string</code> | Returns an opaque tree-unique address for this construct. |
|
|
858
|
+
| <code><a href="#constructs.Node.property.children">children</a></code> | <code><a href="#constructs.IConstruct">IConstruct</a>[]</code> | All direct children of this construct. |
|
|
859
|
+
| <code><a href="#constructs.Node.property.dependencies">dependencies</a></code> | <code><a href="#constructs.IConstruct">IConstruct</a>[]</code> | Return all dependencies registered on this node (non-recursive). |
|
|
860
|
+
| <code><a href="#constructs.Node.property.id">id</a></code> | <code>string</code> | The id of this construct within the current scope. |
|
|
861
|
+
| <code><a href="#constructs.Node.property.locked">locked</a></code> | <code>boolean</code> | Returns true if this construct or the scopes in which it is defined are locked. |
|
|
862
|
+
| <code><a href="#constructs.Node.property.metadata">metadata</a></code> | <code><a href="#constructs.MetadataEntry">MetadataEntry</a>[]</code> | An immutable array of metadata objects associated with this construct. |
|
|
863
|
+
| <code><a href="#constructs.Node.property.path">path</a></code> | <code>string</code> | The full, absolute path of this construct in the tree. |
|
|
864
|
+
| <code><a href="#constructs.Node.property.root">root</a></code> | <code><a href="#constructs.IConstruct">IConstruct</a></code> | Returns the root of the construct tree. |
|
|
865
|
+
| <code><a href="#constructs.Node.property.scopes">scopes</a></code> | <code><a href="#constructs.IConstruct">IConstruct</a>[]</code> | All parent scopes of this construct. |
|
|
866
|
+
| <code><a href="#constructs.Node.property.scope">scope</a></code> | <code><a href="#constructs.IConstruct">IConstruct</a></code> | Returns the scope in which this construct is defined. |
|
|
867
|
+
| <code><a href="#constructs.Node.property.defaultChild">defaultChild</a></code> | <code><a href="#constructs.IConstruct">IConstruct</a></code> | Returns the child construct that has the id `Default` or `Resource"`. |
|
|
868
|
+
|
|
869
|
+
---
|
|
870
|
+
|
|
871
|
+
##### `addr`<sup>Required</sup> <a name="addr" id="constructs.Node.property.addr"></a>
|
|
872
|
+
|
|
873
|
+
```typescript
|
|
874
|
+
public readonly addr: string;
|
|
471
875
|
```
|
|
472
876
|
|
|
473
|
-
*
|
|
877
|
+
- *Type:* string
|
|
474
878
|
|
|
475
|
-
|
|
476
|
-
* <code>[Node](#constructs-node)</code>
|
|
879
|
+
Returns an opaque tree-unique address for this construct.
|
|
477
880
|
|
|
881
|
+
Addresses are 42 characters hexadecimal strings. They begin with "c8"
|
|
882
|
+
followed by 40 lowercase hexadecimal characters (0-9a-f).
|
|
478
883
|
|
|
884
|
+
Addresses are calculated using a SHA-1 of the components of the construct
|
|
885
|
+
path.
|
|
479
886
|
|
|
480
|
-
|
|
887
|
+
To enable refactoring of construct trees, constructs with the ID `Default`
|
|
888
|
+
will be excluded from the calculation. In those cases constructs in the
|
|
889
|
+
same tree may have the same address.
|
|
481
890
|
|
|
482
|
-
|
|
483
|
-
__Obtainable from__: [Node](#constructs-node).[findChild](#constructs-node#constructs-node-findchild)(), [Node](#constructs-node).[tryFindChild](#constructs-node#constructs-node-tryfindchild)()
|
|
891
|
+
---
|
|
484
892
|
|
|
485
|
-
|
|
893
|
+
*Example*
|
|
486
894
|
|
|
487
|
-
|
|
895
|
+
```typescript
|
|
896
|
+
c83a2846e506bcc5f10682b564084bca2d275709ee
|
|
897
|
+
```
|
|
488
898
|
|
|
489
899
|
|
|
490
|
-
|
|
491
|
-
-----|------|-------------
|
|
492
|
-
**node** | <code>[Node](#constructs-node)</code> | The tree node.
|
|
900
|
+
##### `children`<sup>Required</sup> <a name="children" id="constructs.Node.property.children"></a>
|
|
493
901
|
|
|
902
|
+
```typescript
|
|
903
|
+
public readonly children: IConstruct[];
|
|
904
|
+
```
|
|
494
905
|
|
|
906
|
+
- *Type:* <a href="#constructs.IConstruct">IConstruct</a>[]
|
|
495
907
|
|
|
496
|
-
|
|
908
|
+
All direct children of this construct.
|
|
497
909
|
|
|
498
|
-
|
|
910
|
+
---
|
|
499
911
|
|
|
500
|
-
|
|
912
|
+
##### `dependencies`<sup>Required</sup> <a name="dependencies" id="constructs.Node.property.dependencies"></a>
|
|
501
913
|
|
|
502
|
-
|
|
503
|
-
|
|
914
|
+
```typescript
|
|
915
|
+
public readonly dependencies: IConstruct[];
|
|
916
|
+
```
|
|
504
917
|
|
|
505
|
-
|
|
506
|
-
constructs. An ordering dependency implies that the resources represented by
|
|
507
|
-
those constructs are deployed before the resources depending ON them are
|
|
508
|
-
deployed.
|
|
918
|
+
- *Type:* <a href="#constructs.IConstruct">IConstruct</a>[]
|
|
509
919
|
|
|
920
|
+
Return all dependencies registered on this node (non-recursive).
|
|
510
921
|
|
|
511
|
-
|
|
922
|
+
---
|
|
512
923
|
|
|
924
|
+
##### `id`<sup>Required</sup> <a name="id" id="constructs.Node.property.id"></a>
|
|
513
925
|
|
|
514
|
-
|
|
515
|
-
|
|
926
|
+
```typescript
|
|
927
|
+
public readonly id: string;
|
|
928
|
+
```
|
|
516
929
|
|
|
930
|
+
- *Type:* string
|
|
517
931
|
|
|
518
|
-
|
|
932
|
+
The id of this construct within the current scope.
|
|
519
933
|
|
|
520
|
-
|
|
934
|
+
This is a scope-unique id. To obtain an app-unique id for this construct, use `addr`.
|
|
521
935
|
|
|
522
|
-
|
|
523
|
-
|
|
936
|
+
---
|
|
937
|
+
|
|
938
|
+
##### `locked`<sup>Required</sup> <a name="locked" id="constructs.Node.property.locked"></a>
|
|
524
939
|
|
|
525
|
-
```
|
|
526
|
-
|
|
940
|
+
```typescript
|
|
941
|
+
public readonly locked: boolean;
|
|
527
942
|
```
|
|
528
943
|
|
|
944
|
+
- *Type:* boolean
|
|
529
945
|
|
|
530
|
-
|
|
531
|
-
* <code>Array<string></code>
|
|
946
|
+
Returns true if this construct or the scopes in which it is defined are locked.
|
|
532
947
|
|
|
948
|
+
---
|
|
533
949
|
|
|
950
|
+
##### `metadata`<sup>Required</sup> <a name="metadata" id="constructs.Node.property.metadata"></a>
|
|
534
951
|
|
|
535
|
-
|
|
952
|
+
```typescript
|
|
953
|
+
public readonly metadata: MetadataEntry[];
|
|
954
|
+
```
|
|
536
955
|
|
|
956
|
+
- *Type:* <a href="#constructs.MetadataEntry">MetadataEntry</a>[]
|
|
537
957
|
|
|
538
|
-
An
|
|
958
|
+
An immutable array of metadata objects associated with this construct.
|
|
959
|
+
|
|
960
|
+
This can be used, for example, to implement support for deprecation notices, source mapping, etc.
|
|
539
961
|
|
|
962
|
+
---
|
|
540
963
|
|
|
964
|
+
##### `path`<sup>Required</sup> <a name="path" id="constructs.Node.property.path"></a>
|
|
541
965
|
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
**type** | <code>string</code> | The metadata entry type.
|
|
546
|
-
**trace**? | <code>Array<string></code> | Stack trace at the point of adding the metadata.<br/>__*Default*__: no trace information
|
|
966
|
+
```typescript
|
|
967
|
+
public readonly path: string;
|
|
968
|
+
```
|
|
547
969
|
|
|
970
|
+
- *Type:* string
|
|
548
971
|
|
|
972
|
+
The full, absolute path of this construct in the tree.
|
|
549
973
|
|
|
550
|
-
|
|
974
|
+
Components are separated by '/'.
|
|
551
975
|
|
|
976
|
+
---
|
|
552
977
|
|
|
553
|
-
|
|
978
|
+
##### `root`<sup>Required</sup> <a name="root" id="constructs.Node.property.root"></a>
|
|
554
979
|
|
|
980
|
+
```typescript
|
|
981
|
+
public readonly root: IConstruct;
|
|
982
|
+
```
|
|
555
983
|
|
|
984
|
+
- *Type:* <a href="#constructs.IConstruct">IConstruct</a>
|
|
556
985
|
|
|
557
|
-
|
|
558
|
-
-----|------|-------------
|
|
559
|
-
**stackTrace**? | <code>boolean</code> | Include stack trace with metadata entry.<br/>__*Default*__: false
|
|
560
|
-
**traceFromFunction**? | <code>any</code> | A JavaScript function to begin tracing from.<br/>__*Default*__: addMetadata()
|
|
986
|
+
Returns the root of the construct tree.
|
|
561
987
|
|
|
988
|
+
---
|
|
562
989
|
|
|
990
|
+
##### `scopes`<sup>Required</sup> <a name="scopes" id="constructs.Node.property.scopes"></a>
|
|
991
|
+
|
|
992
|
+
```typescript
|
|
993
|
+
public readonly scopes: IConstruct[];
|
|
994
|
+
```
|
|
563
995
|
|
|
564
|
-
|
|
996
|
+
- *Type:* <a href="#constructs.IConstruct">IConstruct</a>[]
|
|
997
|
+
|
|
998
|
+
All parent scopes of this construct.
|
|
999
|
+
|
|
1000
|
+
---
|
|
1001
|
+
|
|
1002
|
+
##### `scope`<sup>Optional</sup> <a name="scope" id="constructs.Node.property.scope"></a>
|
|
1003
|
+
|
|
1004
|
+
```typescript
|
|
1005
|
+
public readonly scope: IConstruct;
|
|
1006
|
+
```
|
|
1007
|
+
|
|
1008
|
+
- *Type:* <a href="#constructs.IConstruct">IConstruct</a>
|
|
1009
|
+
|
|
1010
|
+
Returns the scope in which this construct is defined.
|
|
1011
|
+
|
|
1012
|
+
The value is `undefined` at the root of the construct scope tree.
|
|
1013
|
+
|
|
1014
|
+
---
|
|
1015
|
+
|
|
1016
|
+
##### `defaultChild`<sup>Optional</sup> <a name="defaultChild" id="constructs.Node.property.defaultChild"></a>
|
|
1017
|
+
|
|
1018
|
+
```typescript
|
|
1019
|
+
public readonly defaultChild: IConstruct;
|
|
1020
|
+
```
|
|
1021
|
+
|
|
1022
|
+
- *Type:* <a href="#constructs.IConstruct">IConstruct</a>
|
|
1023
|
+
|
|
1024
|
+
Returns the child construct that has the id `Default` or `Resource"`.
|
|
1025
|
+
|
|
1026
|
+
This is usually the construct that provides the bulk of the underlying functionality.
|
|
1027
|
+
Useful for modifications of the underlying construct that are not available at the higher levels.
|
|
1028
|
+
Override the defaultChild property.
|
|
1029
|
+
|
|
1030
|
+
This should only be used in the cases where the correct
|
|
1031
|
+
default child is not named 'Resource' or 'Default' as it
|
|
1032
|
+
should be.
|
|
1033
|
+
|
|
1034
|
+
If you set this to undefined, the default behavior of finding
|
|
1035
|
+
the child named 'Resource' or 'Default' will be used.
|
|
1036
|
+
|
|
1037
|
+
---
|
|
1038
|
+
|
|
1039
|
+
#### Constants <a name="Constants" id="Constants"></a>
|
|
1040
|
+
|
|
1041
|
+
| **Name** | **Type** | **Description** |
|
|
1042
|
+
| --- | --- | --- |
|
|
1043
|
+
| <code><a href="#constructs.Node.property.PATH_SEP">PATH_SEP</a></code> | <code>string</code> | Separator used to delimit construct path components. |
|
|
1044
|
+
|
|
1045
|
+
---
|
|
1046
|
+
|
|
1047
|
+
##### `PATH_SEP`<sup>Required</sup> <a name="PATH_SEP" id="constructs.Node.property.PATH_SEP"></a>
|
|
1048
|
+
|
|
1049
|
+
```typescript
|
|
1050
|
+
public readonly PATH_SEP: string;
|
|
1051
|
+
```
|
|
1052
|
+
|
|
1053
|
+
- *Type:* string
|
|
1054
|
+
|
|
1055
|
+
Separator used to delimit construct path components.
|
|
1056
|
+
|
|
1057
|
+
---
|
|
1058
|
+
|
|
1059
|
+
## Protocols <a name="Protocols" id="Protocols"></a>
|
|
1060
|
+
|
|
1061
|
+
### IConstruct <a name="IConstruct" id="constructs.IConstruct"></a>
|
|
1062
|
+
|
|
1063
|
+
- *Extends:* <a href="#constructs.IDependable">IDependable</a>
|
|
1064
|
+
|
|
1065
|
+
- *Implemented By:* <a href="#constructs.Construct">Construct</a>, <a href="#constructs.RootConstruct">RootConstruct</a>, cdklabs-projen-project-types.yarn.CdkLabsMonorepo, cdklabs-projen-project-types.yarn.Monorepo, cdklabs-projen-project-types.yarn.MonorepoRelease, cdklabs-projen-project-types.yarn.TypeScriptWorkspace, cdklabs-projen-project-types.yarn.WorkspaceRelease, cdklabs-projen-project-types.AutoMerge, cdklabs-projen-project-types.CdkConstructLibrary, cdklabs-projen-project-types.CdkJsiiProject, cdklabs-projen-project-types.CdkTypeScriptProject, cdklabs-projen-project-types.CdklabsConstructLibrary, cdklabs-projen-project-types.CdklabsJsiiProject, cdklabs-projen-project-types.CdklabsTypeScriptProject, cdklabs-projen-project-types.MergeQueue, cdklabs-projen-project-types.Rosetta, projen.awscdk.AutoDiscover, projen.awscdk.AwsCdkConstructLibrary, projen.awscdk.AwsCdkDeps, projen.awscdk.AwsCdkDepsJava, projen.awscdk.AwsCdkDepsJs, projen.awscdk.AwsCdkDepsPy, projen.awscdk.AwsCdkJavaApp, projen.awscdk.AwsCdkPythonApp, projen.awscdk.AwsCdkTypeScriptApp, projen.awscdk.CdkConfig, projen.awscdk.CdkTasks, projen.awscdk.ConstructLibraryAws, projen.awscdk.EdgeLambdaAutoDiscover, projen.awscdk.IntegrationTest, projen.awscdk.IntegrationTestAutoDiscover, projen.awscdk.LambdaAutoDiscover, projen.awscdk.LambdaExtension, projen.awscdk.LambdaExtensionAutoDiscover, projen.awscdk.LambdaFunction, projen.build.BuildWorkflow, projen.cdk.AutoDiscoverBase, projen.cdk.ConstructLibrary, projen.cdk.IntegrationTestAutoDiscoverBase, projen.cdk.IntegrationTestBase, projen.cdk.JsiiDocgen, projen.cdk.JsiiProject, projen.cdk8s.AutoDiscover, projen.cdk8s.Cdk8sDeps, projen.cdk8s.Cdk8sDepsPy, projen.cdk8s.Cdk8sPythonApp, projen.cdk8s.Cdk8sTypeScriptApp, projen.cdk8s.ConstructLibraryCdk8s, projen.cdk8s.IntegrationTest, projen.cdk8s.IntegrationTestAutoDiscover, projen.cdktf.ConstructLibraryCdktf, projen.circleci.Circleci, projen.github.AutoApprove, projen.github.AutoMerge, projen.github.Dependabot, projen.github.GitHub, projen.github.GitHubProject, projen.github.GithubWorkflow, projen.github.Mergify, projen.github.PullRequestBackport, projen.github.PullRequestLint, projen.github.PullRequestTemplate, projen.github.Stale, projen.github.TaskWorkflow, projen.github.TaskWorkflowJob, projen.gitlab.CiConfiguration, projen.gitlab.GitlabConfiguration, projen.gitlab.NestedConfiguration, projen.java.JavaProject, projen.java.Junit, projen.java.MavenCompile, projen.java.MavenPackaging, projen.java.MavenSample, projen.java.Pom, projen.java.Projenrc, projen.javascript.Bundler, projen.javascript.Eslint, projen.javascript.Jest, projen.javascript.LicenseChecker, projen.javascript.NodePackage, projen.javascript.NodeProject, projen.javascript.NpmConfig, projen.javascript.Prettier, projen.javascript.Projenrc, projen.javascript.TypescriptConfig, projen.javascript.UpgradeDependencies, projen.javascript.Yarnrc, projen.python.Pip, projen.python.Poetry, projen.python.PoetryPyproject, projen.python.Projenrc, projen.python.Pytest, projen.python.PytestSample, projen.python.PythonProject, projen.python.PythonSample, projen.python.RequirementsFile, projen.python.SetupPy, projen.python.Setuptools, projen.python.Venv, projen.release.Publisher, projen.release.Release, projen.typescript.Projenrc, projen.typescript.ProjenrcTs, projen.typescript.TypeScriptAppProject, projen.typescript.TypeScriptLibraryProject, projen.typescript.TypeScriptProject, projen.vscode.DevContainer, projen.vscode.VsCode, projen.vscode.VsCodeLaunchConfig, projen.vscode.VsCodeRecommendedExtensions, projen.vscode.VsCodeSettings, projen.web.NextComponent, projen.web.NextJsProject, projen.web.NextJsTypeScriptProject, projen.web.ReactComponent, projen.web.ReactProject, projen.web.ReactTypeDef, projen.web.ReactTypeScriptProject, projen.Component, projen.Dependencies, projen.DockerCompose, projen.FileBase, projen.GitAttributesFile, projen.Gitpod, projen.IgnoreFile, projen.IniFile, projen.JsonFile, projen.License, projen.Logger, projen.Makefile, projen.ObjectFile, projen.Project, projen.ProjectBuild, projen.ProjectTree, projen.Projenrc, projen.ProjenrcFile, projen.ProjenrcJson, projen.Renovatebot, projen.SampleDir, projen.SampleFile, projen.SampleReadme, projen.SourceCode, projen.Tasks, projen.TextFile, projen.TomlFile, projen.Version, projen.XmlFile, projen.YamlFile, <a href="#constructs.IConstruct">IConstruct</a>
|
|
1066
|
+
|
|
1067
|
+
Represents a construct.
|
|
1068
|
+
|
|
1069
|
+
|
|
1070
|
+
#### Properties <a name="Properties" id="Properties"></a>
|
|
1071
|
+
|
|
1072
|
+
| **Name** | **Type** | **Description** |
|
|
1073
|
+
| --- | --- | --- |
|
|
1074
|
+
| <code><a href="#constructs.IConstruct.property.node">node</a></code> | <code><a href="#constructs.Node">Node</a></code> | The tree node. |
|
|
1075
|
+
|
|
1076
|
+
---
|
|
1077
|
+
|
|
1078
|
+
##### `node`<sup>Required</sup> <a name="node" id="constructs.IConstruct.property.node"></a>
|
|
1079
|
+
|
|
1080
|
+
```typescript
|
|
1081
|
+
public readonly node: Node;
|
|
1082
|
+
```
|
|
1083
|
+
|
|
1084
|
+
- *Type:* <a href="#constructs.Node">Node</a>
|
|
1085
|
+
|
|
1086
|
+
The tree node.
|
|
1087
|
+
|
|
1088
|
+
---
|
|
1089
|
+
|
|
1090
|
+
### IDependable <a name="IDependable" id="constructs.IDependable"></a>
|
|
1091
|
+
|
|
1092
|
+
- *Implemented By:* <a href="#constructs.Construct">Construct</a>, <a href="#constructs.DependencyGroup">DependencyGroup</a>, <a href="#constructs.RootConstruct">RootConstruct</a>, cdklabs-projen-project-types.yarn.CdkLabsMonorepo, cdklabs-projen-project-types.yarn.Monorepo, cdklabs-projen-project-types.yarn.MonorepoRelease, cdklabs-projen-project-types.yarn.TypeScriptWorkspace, cdklabs-projen-project-types.yarn.WorkspaceRelease, cdklabs-projen-project-types.AutoMerge, cdklabs-projen-project-types.CdkConstructLibrary, cdklabs-projen-project-types.CdkJsiiProject, cdklabs-projen-project-types.CdkTypeScriptProject, cdklabs-projen-project-types.CdklabsConstructLibrary, cdklabs-projen-project-types.CdklabsJsiiProject, cdklabs-projen-project-types.CdklabsTypeScriptProject, cdklabs-projen-project-types.MergeQueue, cdklabs-projen-project-types.Rosetta, projen.awscdk.AutoDiscover, projen.awscdk.AwsCdkConstructLibrary, projen.awscdk.AwsCdkDeps, projen.awscdk.AwsCdkDepsJava, projen.awscdk.AwsCdkDepsJs, projen.awscdk.AwsCdkDepsPy, projen.awscdk.AwsCdkJavaApp, projen.awscdk.AwsCdkPythonApp, projen.awscdk.AwsCdkTypeScriptApp, projen.awscdk.CdkConfig, projen.awscdk.CdkTasks, projen.awscdk.ConstructLibraryAws, projen.awscdk.EdgeLambdaAutoDiscover, projen.awscdk.IntegrationTest, projen.awscdk.IntegrationTestAutoDiscover, projen.awscdk.LambdaAutoDiscover, projen.awscdk.LambdaExtension, projen.awscdk.LambdaExtensionAutoDiscover, projen.awscdk.LambdaFunction, projen.build.BuildWorkflow, projen.cdk.AutoDiscoverBase, projen.cdk.ConstructLibrary, projen.cdk.IntegrationTestAutoDiscoverBase, projen.cdk.IntegrationTestBase, projen.cdk.JsiiDocgen, projen.cdk.JsiiProject, projen.cdk8s.AutoDiscover, projen.cdk8s.Cdk8sDeps, projen.cdk8s.Cdk8sDepsPy, projen.cdk8s.Cdk8sPythonApp, projen.cdk8s.Cdk8sTypeScriptApp, projen.cdk8s.ConstructLibraryCdk8s, projen.cdk8s.IntegrationTest, projen.cdk8s.IntegrationTestAutoDiscover, projen.cdktf.ConstructLibraryCdktf, projen.circleci.Circleci, projen.github.AutoApprove, projen.github.AutoMerge, projen.github.Dependabot, projen.github.GitHub, projen.github.GitHubProject, projen.github.GithubWorkflow, projen.github.Mergify, projen.github.PullRequestBackport, projen.github.PullRequestLint, projen.github.PullRequestTemplate, projen.github.Stale, projen.github.TaskWorkflow, projen.github.TaskWorkflowJob, projen.gitlab.CiConfiguration, projen.gitlab.GitlabConfiguration, projen.gitlab.NestedConfiguration, projen.java.JavaProject, projen.java.Junit, projen.java.MavenCompile, projen.java.MavenPackaging, projen.java.MavenSample, projen.java.Pom, projen.java.Projenrc, projen.javascript.Bundler, projen.javascript.Eslint, projen.javascript.Jest, projen.javascript.LicenseChecker, projen.javascript.NodePackage, projen.javascript.NodeProject, projen.javascript.NpmConfig, projen.javascript.Prettier, projen.javascript.Projenrc, projen.javascript.TypescriptConfig, projen.javascript.UpgradeDependencies, projen.javascript.Yarnrc, projen.python.Pip, projen.python.Poetry, projen.python.PoetryPyproject, projen.python.Projenrc, projen.python.Pytest, projen.python.PytestSample, projen.python.PythonProject, projen.python.PythonSample, projen.python.RequirementsFile, projen.python.SetupPy, projen.python.Setuptools, projen.python.Venv, projen.release.Publisher, projen.release.Release, projen.typescript.Projenrc, projen.typescript.ProjenrcTs, projen.typescript.TypeScriptAppProject, projen.typescript.TypeScriptLibraryProject, projen.typescript.TypeScriptProject, projen.vscode.DevContainer, projen.vscode.VsCode, projen.vscode.VsCodeLaunchConfig, projen.vscode.VsCodeRecommendedExtensions, projen.vscode.VsCodeSettings, projen.web.NextComponent, projen.web.NextJsProject, projen.web.NextJsTypeScriptProject, projen.web.ReactComponent, projen.web.ReactProject, projen.web.ReactTypeDef, projen.web.ReactTypeScriptProject, projen.Component, projen.Dependencies, projen.DockerCompose, projen.FileBase, projen.GitAttributesFile, projen.Gitpod, projen.IgnoreFile, projen.IniFile, projen.JsonFile, projen.License, projen.Logger, projen.Makefile, projen.ObjectFile, projen.Project, projen.ProjectBuild, projen.ProjectTree, projen.Projenrc, projen.ProjenrcFile, projen.ProjenrcJson, projen.Renovatebot, projen.SampleDir, projen.SampleFile, projen.SampleReadme, projen.SourceCode, projen.Tasks, projen.TextFile, projen.TomlFile, projen.Version, projen.XmlFile, projen.YamlFile, <a href="#constructs.IConstruct">IConstruct</a>, <a href="#constructs.IDependable">IDependable</a>
|
|
1093
|
+
|
|
1094
|
+
Trait marker for classes that can be depended upon.
|
|
1095
|
+
|
|
1096
|
+
The presence of this interface indicates that an object has
|
|
1097
|
+
an `IDependable` implementation.
|
|
1098
|
+
|
|
1099
|
+
This interface can be used to take an (ordering) dependency on a set of
|
|
1100
|
+
constructs. An ordering dependency implies that the resources represented by
|
|
1101
|
+
those constructs are deployed before the resources depending ON them are
|
|
1102
|
+
deployed.
|
|
1103
|
+
|
|
1104
|
+
|
|
1105
|
+
|
|
1106
|
+
### IValidation <a name="IValidation" id="constructs.IValidation"></a>
|
|
1107
|
+
|
|
1108
|
+
- *Implemented By:* <a href="#constructs.IValidation">IValidation</a>
|
|
1109
|
+
|
|
1110
|
+
Implement this interface in order for the construct to be able to validate itself.
|
|
1111
|
+
|
|
1112
|
+
#### Methods <a name="Methods" id="Methods"></a>
|
|
1113
|
+
|
|
1114
|
+
| **Name** | **Description** |
|
|
1115
|
+
| --- | --- |
|
|
1116
|
+
| <code><a href="#constructs.IValidation.validate">validate</a></code> | Validate the current construct. |
|
|
1117
|
+
|
|
1118
|
+
---
|
|
1119
|
+
|
|
1120
|
+
##### `validate` <a name="validate" id="constructs.IValidation.validate"></a>
|
|
1121
|
+
|
|
1122
|
+
```typescript
|
|
1123
|
+
public validate(): string[]
|
|
1124
|
+
```
|
|
1125
|
+
|
|
1126
|
+
Validate the current construct.
|
|
1127
|
+
|
|
1128
|
+
This method can be implemented by derived constructs in order to perform
|
|
1129
|
+
validation logic. It is called on all constructs before synthesis.
|
|
1130
|
+
|
|
1131
|
+
|
|
1132
|
+
## Enums <a name="Enums" id="Enums"></a>
|
|
1133
|
+
|
|
1134
|
+
### ConstructOrder <a name="ConstructOrder" id="constructs.ConstructOrder"></a>
|
|
565
1135
|
|
|
566
1136
|
In what order to return constructs.
|
|
567
1137
|
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
**
|
|
571
|
-
|
|
1138
|
+
#### Members <a name="Members" id="Members"></a>
|
|
1139
|
+
|
|
1140
|
+
| **Name** | **Description** |
|
|
1141
|
+
| --- | --- |
|
|
1142
|
+
| <code><a href="#constructs.ConstructOrder.PREORDER">PREORDER</a></code> | Depth-first, pre-order. |
|
|
1143
|
+
| <code><a href="#constructs.ConstructOrder.POSTORDER">POSTORDER</a></code> | Depth-first, post-order (leaf nodes first). |
|
|
1144
|
+
|
|
1145
|
+
---
|
|
1146
|
+
|
|
1147
|
+
##### `PREORDER` <a name="PREORDER" id="constructs.ConstructOrder.PREORDER"></a>
|
|
1148
|
+
|
|
1149
|
+
Depth-first, pre-order.
|
|
1150
|
+
|
|
1151
|
+
---
|
|
1152
|
+
|
|
1153
|
+
|
|
1154
|
+
##### `POSTORDER` <a name="POSTORDER" id="constructs.ConstructOrder.POSTORDER"></a>
|
|
1155
|
+
|
|
1156
|
+
Depth-first, post-order (leaf nodes first).
|
|
572
1157
|
|
|
1158
|
+
---
|
|
573
1159
|
|