@mavogel/awscdk-rootmail 0.0.278 → 0.0.280

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.
Files changed (545) hide show
  1. package/.jsii +8 -8
  2. package/lib/rootmail.js +1 -1
  3. package/lib/ses-receive.js +1 -1
  4. package/node_modules/@aws-sdk/client-cloudwatch-logs/package.json +36 -36
  5. package/node_modules/@aws-sdk/client-route-53/package.json +36 -36
  6. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectCommand.d.ts +10 -10
  7. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectCommand.d.ts +47 -47
  8. package/node_modules/@aws-sdk/client-s3/package.json +50 -50
  9. package/node_modules/@aws-sdk/client-ses/package.json +34 -34
  10. package/node_modules/@aws-sdk/client-ssm/README.md +5 -4
  11. package/node_modules/@aws-sdk/client-ssm/dist-types/SSM.d.ts +5 -4
  12. package/node_modules/@aws-sdk/client-ssm/dist-types/SSMClient.d.ts +5 -4
  13. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/AssociateOpsItemRelatedItemCommand.d.ts +1 -1
  14. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateActivationCommand.d.ts +2 -2
  15. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateAssociationCommand.d.ts +6 -6
  16. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DisassociateOpsItemRelatedItemCommand.d.ts +1 -1
  17. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetCalendarStateCommand.d.ts +1 -1
  18. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetDeployablePatchSnapshotForInstanceCommand.d.ts +3 -3
  19. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetParametersByPathCommand.d.ts +1 -1
  20. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListAssociationsCommand.d.ts +1 -1
  21. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListOpsItemRelatedItemsCommand.d.ts +1 -1
  22. package/node_modules/@aws-sdk/client-ssm/dist-types/index.d.ts +5 -4
  23. package/node_modules/@aws-sdk/client-ssm/dist-types/models/models_0.d.ts +7 -9
  24. package/node_modules/@aws-sdk/client-ssm/dist-types/models/models_1.d.ts +12 -13
  25. package/node_modules/@aws-sdk/client-ssm/dist-types/models/models_2.d.ts +20 -9
  26. package/node_modules/@aws-sdk/client-ssm/package.json +34 -34
  27. package/node_modules/@aws-sdk/client-sso/package.json +32 -32
  28. package/node_modules/@aws-sdk/core/package.json +10 -10
  29. package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
  30. package/node_modules/@aws-sdk/credential-provider-http/package.json +10 -10
  31. package/node_modules/@aws-sdk/credential-provider-ini/package.json +13 -13
  32. package/node_modules/@aws-sdk/credential-provider-node/package.json +12 -12
  33. package/node_modules/@aws-sdk/credential-provider-process/package.json +6 -6
  34. package/node_modules/@aws-sdk/credential-provider-sso/package.json +8 -8
  35. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +6 -6
  36. package/node_modules/@aws-sdk/middleware-bucket-endpoint/package.json +5 -5
  37. package/node_modules/@aws-sdk/middleware-expect-continue/package.json +4 -4
  38. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/index.js +1 -13
  39. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/flexibleChecksumsResponseMiddleware.js +1 -12
  40. package/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +15 -16
  41. package/node_modules/@aws-sdk/middleware-host-header/package.json +4 -4
  42. package/node_modules/@aws-sdk/middleware-location-constraint/package.json +3 -3
  43. package/node_modules/@aws-sdk/middleware-logger/package.json +3 -3
  44. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +4 -4
  45. package/node_modules/@aws-sdk/middleware-sdk-route53/package.json +3 -3
  46. package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +11 -11
  47. package/node_modules/@aws-sdk/middleware-ssec/package.json +3 -3
  48. package/node_modules/@aws-sdk/middleware-user-agent/package.json +7 -7
  49. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/ruleset.js +2 -101
  50. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/ruleset.js +2 -140
  51. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +6 -4
  52. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/ruleset.js +2 -101
  53. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/defaultStsRoleAssumers.js +6 -4
  54. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/ruleset.js +2 -140
  55. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/defaultStsRoleAssumers.d.ts +2 -2
  56. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/defaultStsRoleAssumers.d.ts +2 -2
  57. package/node_modules/@aws-sdk/nested-clients/package.json +32 -32
  58. package/node_modules/@aws-sdk/region-config-resolver/package.json +5 -5
  59. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +6 -6
  60. package/node_modules/@aws-sdk/token-providers/package.json +6 -6
  61. package/node_modules/@aws-sdk/types/dist-types/identity/AwsCredentialIdentity.d.ts +17 -4
  62. package/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/AwsCredentialIdentity.d.ts +7 -2
  63. package/node_modules/@aws-sdk/types/package.json +2 -2
  64. package/node_modules/@aws-sdk/util-endpoints/package.json +4 -4
  65. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -3
  66. package/node_modules/@aws-sdk/util-user-agent-node/package.json +5 -5
  67. package/node_modules/@aws-sdk/xml-builder/package.json +2 -2
  68. package/node_modules/cdk-nag/.jsii +19 -16
  69. package/node_modules/cdk-nag/API.md +1 -1
  70. package/node_modules/cdk-nag/RULES.md +4 -0
  71. package/node_modules/cdk-nag/lib/ignore-suppression-conditions.js +6 -6
  72. package/node_modules/cdk-nag/lib/index.js +8 -3
  73. package/node_modules/cdk-nag/lib/models/nag-suppression.d.ts +1 -1
  74. package/node_modules/cdk-nag/lib/nag-logger.js +10 -10
  75. package/node_modules/cdk-nag/lib/nag-pack.js +2 -2
  76. package/node_modules/cdk-nag/lib/nag-rules.d.ts +4 -4
  77. package/node_modules/cdk-nag/lib/nag-rules.js +5 -5
  78. package/node_modules/cdk-nag/lib/nag-suppressions.js +2 -2
  79. package/node_modules/cdk-nag/lib/packs/aws-solutions.js +2 -2
  80. package/node_modules/cdk-nag/lib/packs/hipaa-security.d.ts +6 -0
  81. package/node_modules/cdk-nag/lib/packs/hipaa-security.js +18 -2
  82. package/node_modules/cdk-nag/lib/packs/nist-800-53-r4.d.ts +6 -0
  83. package/node_modules/cdk-nag/lib/packs/nist-800-53-r4.js +18 -2
  84. package/node_modules/cdk-nag/lib/packs/nist-800-53-r5.d.ts +6 -0
  85. package/node_modules/cdk-nag/lib/packs/nist-800-53-r5.js +18 -2
  86. package/node_modules/cdk-nag/lib/packs/pci-dss-321.d.ts +6 -0
  87. package/node_modules/cdk-nag/lib/packs/pci-dss-321.js +18 -2
  88. package/node_modules/cdk-nag/lib/rules/apigw/APIGWAccessLogging.d.ts +3 -1
  89. package/node_modules/cdk-nag/lib/rules/apigw/APIGWAccessLogging.js +2 -2
  90. package/node_modules/cdk-nag/lib/rules/apigw/APIGWAssociatedWithWAF.d.ts +3 -1
  91. package/node_modules/cdk-nag/lib/rules/apigw/APIGWAssociatedWithWAF.js +2 -2
  92. package/node_modules/cdk-nag/lib/rules/apigw/APIGWAuthorization.d.ts +3 -1
  93. package/node_modules/cdk-nag/lib/rules/apigw/APIGWAuthorization.js +2 -2
  94. package/node_modules/cdk-nag/lib/rules/apigw/APIGWCacheEnabledAndEncrypted.d.ts +3 -1
  95. package/node_modules/cdk-nag/lib/rules/apigw/APIGWCacheEnabledAndEncrypted.js +2 -2
  96. package/node_modules/cdk-nag/lib/rules/apigw/APIGWExecutionLoggingEnabled.d.ts +3 -1
  97. package/node_modules/cdk-nag/lib/rules/apigw/APIGWExecutionLoggingEnabled.js +2 -2
  98. package/node_modules/cdk-nag/lib/rules/apigw/APIGWRequestValidation.d.ts +3 -1
  99. package/node_modules/cdk-nag/lib/rules/apigw/APIGWRequestValidation.js +2 -2
  100. package/node_modules/cdk-nag/lib/rules/apigw/APIGWSSLEnabled.d.ts +3 -1
  101. package/node_modules/cdk-nag/lib/rules/apigw/APIGWSSLEnabled.js +2 -2
  102. package/node_modules/cdk-nag/lib/rules/apigw/APIGWXrayEnabled.d.ts +3 -1
  103. package/node_modules/cdk-nag/lib/rules/apigw/APIGWXrayEnabled.js +2 -2
  104. package/node_modules/cdk-nag/lib/rules/apigw/index.js +2 -1
  105. package/node_modules/cdk-nag/lib/rules/appsync/AppSyncGraphQLRequestLogging.d.ts +3 -1
  106. package/node_modules/cdk-nag/lib/rules/appsync/AppSyncGraphQLRequestLogging.js +2 -2
  107. package/node_modules/cdk-nag/lib/rules/appsync/index.js +2 -1
  108. package/node_modules/cdk-nag/lib/rules/autoscaling/AutoScalingGroupCooldownPeriod.d.ts +3 -1
  109. package/node_modules/cdk-nag/lib/rules/autoscaling/AutoScalingGroupCooldownPeriod.js +2 -2
  110. package/node_modules/cdk-nag/lib/rules/autoscaling/AutoScalingGroupELBHealthCheckRequired.d.ts +3 -1
  111. package/node_modules/cdk-nag/lib/rules/autoscaling/AutoScalingGroupELBHealthCheckRequired.js +2 -2
  112. package/node_modules/cdk-nag/lib/rules/autoscaling/AutoScalingGroupHealthCheck.d.ts +3 -1
  113. package/node_modules/cdk-nag/lib/rules/autoscaling/AutoScalingGroupHealthCheck.js +2 -2
  114. package/node_modules/cdk-nag/lib/rules/autoscaling/AutoScalingGroupScalingNotifications.d.ts +3 -1
  115. package/node_modules/cdk-nag/lib/rules/autoscaling/AutoScalingGroupScalingNotifications.js +2 -2
  116. package/node_modules/cdk-nag/lib/rules/autoscaling/AutoScalingLaunchConfigPublicIpDisabled.d.ts +3 -1
  117. package/node_modules/cdk-nag/lib/rules/autoscaling/AutoScalingLaunchConfigPublicIpDisabled.js +2 -2
  118. package/node_modules/cdk-nag/lib/rules/autoscaling/index.js +2 -1
  119. package/node_modules/cdk-nag/lib/rules/cloud9/Cloud9InstanceNoIngressSystemsManager.d.ts +3 -1
  120. package/node_modules/cdk-nag/lib/rules/cloud9/Cloud9InstanceNoIngressSystemsManager.js +2 -2
  121. package/node_modules/cdk-nag/lib/rules/cloud9/index.js +2 -1
  122. package/node_modules/cdk-nag/lib/rules/cloudfront/CloudFrontDistributionAccessLogging.d.ts +3 -1
  123. package/node_modules/cdk-nag/lib/rules/cloudfront/CloudFrontDistributionAccessLogging.js +2 -2
  124. package/node_modules/cdk-nag/lib/rules/cloudfront/CloudFrontDistributionGeoRestrictions.d.ts +3 -1
  125. package/node_modules/cdk-nag/lib/rules/cloudfront/CloudFrontDistributionGeoRestrictions.js +2 -2
  126. package/node_modules/cdk-nag/lib/rules/cloudfront/CloudFrontDistributionHttpsViewerNoOutdatedSSL.d.ts +3 -1
  127. package/node_modules/cdk-nag/lib/rules/cloudfront/CloudFrontDistributionHttpsViewerNoOutdatedSSL.js +2 -2
  128. package/node_modules/cdk-nag/lib/rules/cloudfront/CloudFrontDistributionNoOutdatedSSL.d.ts +3 -1
  129. package/node_modules/cdk-nag/lib/rules/cloudfront/CloudFrontDistributionNoOutdatedSSL.js +2 -2
  130. package/node_modules/cdk-nag/lib/rules/cloudfront/CloudFrontDistributionS3OriginAccessControl.d.ts +3 -1
  131. package/node_modules/cdk-nag/lib/rules/cloudfront/CloudFrontDistributionS3OriginAccessControl.js +2 -2
  132. package/node_modules/cdk-nag/lib/rules/cloudfront/CloudFrontDistributionS3OriginAccessIdentity.d.ts +3 -1
  133. package/node_modules/cdk-nag/lib/rules/cloudfront/CloudFrontDistributionS3OriginAccessIdentity.js +2 -2
  134. package/node_modules/cdk-nag/lib/rules/cloudfront/CloudFrontDistributionWAFIntegration.d.ts +3 -1
  135. package/node_modules/cdk-nag/lib/rules/cloudfront/CloudFrontDistributionWAFIntegration.js +2 -2
  136. package/node_modules/cdk-nag/lib/rules/cloudfront/index.js +2 -1
  137. package/node_modules/cdk-nag/lib/rules/cloudtrail/CloudTrailCloudWatchLogsEnabled.d.ts +3 -1
  138. package/node_modules/cdk-nag/lib/rules/cloudtrail/CloudTrailCloudWatchLogsEnabled.js +2 -2
  139. package/node_modules/cdk-nag/lib/rules/cloudtrail/CloudTrailEncryptionEnabled.d.ts +3 -1
  140. package/node_modules/cdk-nag/lib/rules/cloudtrail/CloudTrailEncryptionEnabled.js +2 -2
  141. package/node_modules/cdk-nag/lib/rules/cloudtrail/CloudTrailLogFileValidationEnabled.d.ts +3 -1
  142. package/node_modules/cdk-nag/lib/rules/cloudtrail/CloudTrailLogFileValidationEnabled.js +2 -2
  143. package/node_modules/cdk-nag/lib/rules/cloudtrail/index.js +2 -1
  144. package/node_modules/cdk-nag/lib/rules/cloudwatch/CloudWatchAlarmAction.d.ts +3 -1
  145. package/node_modules/cdk-nag/lib/rules/cloudwatch/CloudWatchAlarmAction.js +2 -2
  146. package/node_modules/cdk-nag/lib/rules/cloudwatch/CloudWatchLogGroupEncrypted.d.ts +3 -1
  147. package/node_modules/cdk-nag/lib/rules/cloudwatch/CloudWatchLogGroupEncrypted.js +2 -2
  148. package/node_modules/cdk-nag/lib/rules/cloudwatch/CloudWatchLogGroupRetentionPeriod.d.ts +3 -1
  149. package/node_modules/cdk-nag/lib/rules/cloudwatch/CloudWatchLogGroupRetentionPeriod.js +2 -2
  150. package/node_modules/cdk-nag/lib/rules/cloudwatch/index.js +2 -1
  151. package/node_modules/cdk-nag/lib/rules/codebuild/CodeBuildProjectEnvVarAwsCred.d.ts +3 -1
  152. package/node_modules/cdk-nag/lib/rules/codebuild/CodeBuildProjectEnvVarAwsCred.js +2 -2
  153. package/node_modules/cdk-nag/lib/rules/codebuild/CodeBuildProjectKMSEncryptedArtifacts.d.ts +3 -1
  154. package/node_modules/cdk-nag/lib/rules/codebuild/CodeBuildProjectKMSEncryptedArtifacts.js +2 -2
  155. package/node_modules/cdk-nag/lib/rules/codebuild/CodeBuildProjectManagedImages.d.ts +3 -1
  156. package/node_modules/cdk-nag/lib/rules/codebuild/CodeBuildProjectManagedImages.js +2 -2
  157. package/node_modules/cdk-nag/lib/rules/codebuild/CodeBuildProjectSourceRepoUrl.d.ts +3 -1
  158. package/node_modules/cdk-nag/lib/rules/codebuild/CodeBuildProjectSourceRepoUrl.js +2 -2
  159. package/node_modules/cdk-nag/lib/rules/codebuild/index.js +2 -1
  160. package/node_modules/cdk-nag/lib/rules/cognito/CognitoUserPoolAPIGWAuthorizer.d.ts +3 -1
  161. package/node_modules/cdk-nag/lib/rules/cognito/CognitoUserPoolAPIGWAuthorizer.js +2 -2
  162. package/node_modules/cdk-nag/lib/rules/cognito/CognitoUserPoolAdvancedSecurityModeEnforced.d.ts +3 -1
  163. package/node_modules/cdk-nag/lib/rules/cognito/CognitoUserPoolAdvancedSecurityModeEnforced.js +2 -2
  164. package/node_modules/cdk-nag/lib/rules/cognito/CognitoUserPoolMFA.d.ts +3 -1
  165. package/node_modules/cdk-nag/lib/rules/cognito/CognitoUserPoolMFA.js +2 -2
  166. package/node_modules/cdk-nag/lib/rules/cognito/CognitoUserPoolNoUnauthenticatedLogins.d.ts +3 -1
  167. package/node_modules/cdk-nag/lib/rules/cognito/CognitoUserPoolNoUnauthenticatedLogins.js +2 -2
  168. package/node_modules/cdk-nag/lib/rules/cognito/CognitoUserPoolStrongPasswordPolicy.d.ts +3 -1
  169. package/node_modules/cdk-nag/lib/rules/cognito/CognitoUserPoolStrongPasswordPolicy.js +2 -2
  170. package/node_modules/cdk-nag/lib/rules/cognito/index.js +2 -1
  171. package/node_modules/cdk-nag/lib/rules/dms/DMSReplicationNotPublic.d.ts +3 -1
  172. package/node_modules/cdk-nag/lib/rules/dms/DMSReplicationNotPublic.js +2 -2
  173. package/node_modules/cdk-nag/lib/rules/dms/index.js +2 -1
  174. package/node_modules/cdk-nag/lib/rules/documentdb/DocumentDBClusterBackupRetentionPeriod.d.ts +3 -1
  175. package/node_modules/cdk-nag/lib/rules/documentdb/DocumentDBClusterBackupRetentionPeriod.js +2 -2
  176. package/node_modules/cdk-nag/lib/rules/documentdb/DocumentDBClusterEncryptionAtRest.d.ts +3 -1
  177. package/node_modules/cdk-nag/lib/rules/documentdb/DocumentDBClusterEncryptionAtRest.js +2 -2
  178. package/node_modules/cdk-nag/lib/rules/documentdb/DocumentDBClusterLogExports.d.ts +3 -1
  179. package/node_modules/cdk-nag/lib/rules/documentdb/DocumentDBClusterLogExports.js +2 -2
  180. package/node_modules/cdk-nag/lib/rules/documentdb/DocumentDBClusterNonDefaultPort.d.ts +3 -1
  181. package/node_modules/cdk-nag/lib/rules/documentdb/DocumentDBClusterNonDefaultPort.js +2 -2
  182. package/node_modules/cdk-nag/lib/rules/documentdb/DocumentDBCredentialsInSecretsManager.d.ts +3 -1
  183. package/node_modules/cdk-nag/lib/rules/documentdb/DocumentDBCredentialsInSecretsManager.js +2 -2
  184. package/node_modules/cdk-nag/lib/rules/documentdb/index.js +2 -1
  185. package/node_modules/cdk-nag/lib/rules/dynamodb/DAXEncrypted.d.ts +3 -1
  186. package/node_modules/cdk-nag/lib/rules/dynamodb/DAXEncrypted.js +2 -2
  187. package/node_modules/cdk-nag/lib/rules/dynamodb/DynamoDBAutoScalingEnabled.d.ts +3 -1
  188. package/node_modules/cdk-nag/lib/rules/dynamodb/DynamoDBAutoScalingEnabled.js +2 -2
  189. package/node_modules/cdk-nag/lib/rules/dynamodb/DynamoDBInBackupPlan.d.ts +3 -1
  190. package/node_modules/cdk-nag/lib/rules/dynamodb/DynamoDBInBackupPlan.js +2 -2
  191. package/node_modules/cdk-nag/lib/rules/dynamodb/DynamoDBPITREnabled.d.ts +3 -1
  192. package/node_modules/cdk-nag/lib/rules/dynamodb/DynamoDBPITREnabled.js +2 -2
  193. package/node_modules/cdk-nag/lib/rules/dynamodb/index.js +2 -1
  194. package/node_modules/cdk-nag/lib/rules/ec2/EC2EBSInBackupPlan.d.ts +3 -1
  195. package/node_modules/cdk-nag/lib/rules/ec2/EC2EBSInBackupPlan.js +2 -2
  196. package/node_modules/cdk-nag/lib/rules/ec2/EC2EBSOptimizedInstance.d.ts +3 -1
  197. package/node_modules/cdk-nag/lib/rules/ec2/EC2EBSOptimizedInstance.js +2 -2
  198. package/node_modules/cdk-nag/lib/rules/ec2/EC2EBSVolumeEncrypted.d.ts +3 -1
  199. package/node_modules/cdk-nag/lib/rules/ec2/EC2EBSVolumeEncrypted.js +2 -2
  200. package/node_modules/cdk-nag/lib/rules/ec2/EC2IMDSv2Enabled.d.ts +3 -1
  201. package/node_modules/cdk-nag/lib/rules/ec2/EC2IMDSv2Enabled.js +2 -2
  202. package/node_modules/cdk-nag/lib/rules/ec2/EC2InstanceDetailedMonitoringEnabled.d.ts +3 -1
  203. package/node_modules/cdk-nag/lib/rules/ec2/EC2InstanceDetailedMonitoringEnabled.js +2 -2
  204. package/node_modules/cdk-nag/lib/rules/ec2/EC2InstanceNoPublicIp.d.ts +3 -1
  205. package/node_modules/cdk-nag/lib/rules/ec2/EC2InstanceNoPublicIp.js +2 -2
  206. package/node_modules/cdk-nag/lib/rules/ec2/EC2InstanceProfileAttached.d.ts +3 -1
  207. package/node_modules/cdk-nag/lib/rules/ec2/EC2InstanceProfileAttached.js +2 -2
  208. package/node_modules/cdk-nag/lib/rules/ec2/EC2InstanceTerminationProtection.d.ts +3 -1
  209. package/node_modules/cdk-nag/lib/rules/ec2/EC2InstanceTerminationProtection.js +2 -2
  210. package/node_modules/cdk-nag/lib/rules/ec2/EC2InstancesInVPC.d.ts +3 -1
  211. package/node_modules/cdk-nag/lib/rules/ec2/EC2InstancesInVPC.js +2 -2
  212. package/node_modules/cdk-nag/lib/rules/ec2/EC2RestrictedCommonPorts.d.ts +3 -1
  213. package/node_modules/cdk-nag/lib/rules/ec2/EC2RestrictedCommonPorts.js +2 -2
  214. package/node_modules/cdk-nag/lib/rules/ec2/EC2RestrictedInbound.d.ts +3 -1
  215. package/node_modules/cdk-nag/lib/rules/ec2/EC2RestrictedInbound.js +2 -2
  216. package/node_modules/cdk-nag/lib/rules/ec2/EC2RestrictedSSH.d.ts +3 -1
  217. package/node_modules/cdk-nag/lib/rules/ec2/EC2RestrictedSSH.js +2 -2
  218. package/node_modules/cdk-nag/lib/rules/ec2/EC2SecurityGroupDescription.d.ts +3 -1
  219. package/node_modules/cdk-nag/lib/rules/ec2/EC2SecurityGroupDescription.js +2 -2
  220. package/node_modules/cdk-nag/lib/rules/ec2/index.js +2 -1
  221. package/node_modules/cdk-nag/lib/rules/ecr/ECROpenAccess.d.ts +3 -1
  222. package/node_modules/cdk-nag/lib/rules/ecr/ECROpenAccess.js +2 -2
  223. package/node_modules/cdk-nag/lib/rules/ecr/index.js +2 -1
  224. package/node_modules/cdk-nag/lib/rules/ecs/ECSClusterCloudWatchContainerInsights.d.ts +3 -1
  225. package/node_modules/cdk-nag/lib/rules/ecs/ECSClusterCloudWatchContainerInsights.js +2 -2
  226. package/node_modules/cdk-nag/lib/rules/ecs/ECSTaskDefinitionContainerLogging.d.ts +3 -1
  227. package/node_modules/cdk-nag/lib/rules/ecs/ECSTaskDefinitionContainerLogging.js +2 -2
  228. package/node_modules/cdk-nag/lib/rules/ecs/ECSTaskDefinitionNoEnvironmentVariables.d.ts +3 -1
  229. package/node_modules/cdk-nag/lib/rules/ecs/ECSTaskDefinitionNoEnvironmentVariables.js +2 -2
  230. package/node_modules/cdk-nag/lib/rules/ecs/ECSTaskDefinitionUserForHostMode.d.ts +3 -1
  231. package/node_modules/cdk-nag/lib/rules/ecs/ECSTaskDefinitionUserForHostMode.js +2 -2
  232. package/node_modules/cdk-nag/lib/rules/ecs/index.js +2 -1
  233. package/node_modules/cdk-nag/lib/rules/efs/EFSEncrypted.d.ts +3 -1
  234. package/node_modules/cdk-nag/lib/rules/efs/EFSEncrypted.js +2 -2
  235. package/node_modules/cdk-nag/lib/rules/efs/EFSInBackupPlan.d.ts +3 -1
  236. package/node_modules/cdk-nag/lib/rules/efs/EFSInBackupPlan.js +2 -2
  237. package/node_modules/cdk-nag/lib/rules/efs/index.js +2 -1
  238. package/node_modules/cdk-nag/lib/rules/eks/EKSClusterControlPlaneLogs.d.ts +3 -1
  239. package/node_modules/cdk-nag/lib/rules/eks/EKSClusterControlPlaneLogs.js +2 -2
  240. package/node_modules/cdk-nag/lib/rules/eks/EKSClusterNoEndpointPublicAccess.d.ts +3 -1
  241. package/node_modules/cdk-nag/lib/rules/eks/EKSClusterNoEndpointPublicAccess.js +2 -2
  242. package/node_modules/cdk-nag/lib/rules/eks/index.js +2 -1
  243. package/node_modules/cdk-nag/lib/rules/elasticache/ElastiCacheClusterInVPC.d.ts +3 -1
  244. package/node_modules/cdk-nag/lib/rules/elasticache/ElastiCacheClusterInVPC.js +2 -2
  245. package/node_modules/cdk-nag/lib/rules/elasticache/ElastiCacheClusterNonDefaultPort.d.ts +3 -1
  246. package/node_modules/cdk-nag/lib/rules/elasticache/ElastiCacheClusterNonDefaultPort.js +2 -2
  247. package/node_modules/cdk-nag/lib/rules/elasticache/ElastiCacheRedisClusterAutomaticBackup.d.ts +3 -1
  248. package/node_modules/cdk-nag/lib/rules/elasticache/ElastiCacheRedisClusterAutomaticBackup.js +2 -2
  249. package/node_modules/cdk-nag/lib/rules/elasticache/ElastiCacheRedisClusterEncryption.d.ts +3 -1
  250. package/node_modules/cdk-nag/lib/rules/elasticache/ElastiCacheRedisClusterEncryption.js +2 -2
  251. package/node_modules/cdk-nag/lib/rules/elasticache/ElastiCacheRedisClusterMultiAZ.d.ts +3 -1
  252. package/node_modules/cdk-nag/lib/rules/elasticache/ElastiCacheRedisClusterMultiAZ.js +2 -2
  253. package/node_modules/cdk-nag/lib/rules/elasticache/ElastiCacheRedisClusterRedisAuth.d.ts +3 -1
  254. package/node_modules/cdk-nag/lib/rules/elasticache/ElastiCacheRedisClusterRedisAuth.js +2 -2
  255. package/node_modules/cdk-nag/lib/rules/elasticache/index.js +2 -1
  256. package/node_modules/cdk-nag/lib/rules/elasticbeanstalk/ElasticBeanstalkEC2InstanceLogsToS3.d.ts +3 -1
  257. package/node_modules/cdk-nag/lib/rules/elasticbeanstalk/ElasticBeanstalkEC2InstanceLogsToS3.js +2 -2
  258. package/node_modules/cdk-nag/lib/rules/elasticbeanstalk/ElasticBeanstalkEnhancedHealthReportingEnabled.d.ts +3 -1
  259. package/node_modules/cdk-nag/lib/rules/elasticbeanstalk/ElasticBeanstalkEnhancedHealthReportingEnabled.js +2 -2
  260. package/node_modules/cdk-nag/lib/rules/elasticbeanstalk/ElasticBeanstalkManagedUpdatesEnabled.d.ts +3 -1
  261. package/node_modules/cdk-nag/lib/rules/elasticbeanstalk/ElasticBeanstalkManagedUpdatesEnabled.js +2 -2
  262. package/node_modules/cdk-nag/lib/rules/elasticbeanstalk/ElasticBeanstalkVPCSpecified.d.ts +3 -1
  263. package/node_modules/cdk-nag/lib/rules/elasticbeanstalk/ElasticBeanstalkVPCSpecified.js +2 -2
  264. package/node_modules/cdk-nag/lib/rules/elasticbeanstalk/index.js +2 -1
  265. package/node_modules/cdk-nag/lib/rules/elb/ALBHttpDropInvalidHeaderEnabled.d.ts +3 -1
  266. package/node_modules/cdk-nag/lib/rules/elb/ALBHttpDropInvalidHeaderEnabled.js +2 -2
  267. package/node_modules/cdk-nag/lib/rules/elb/ALBHttpToHttpsRedirection.d.ts +3 -1
  268. package/node_modules/cdk-nag/lib/rules/elb/ALBHttpToHttpsRedirection.js +2 -2
  269. package/node_modules/cdk-nag/lib/rules/elb/ALBWAFEnabled.d.ts +3 -1
  270. package/node_modules/cdk-nag/lib/rules/elb/ALBWAFEnabled.js +2 -2
  271. package/node_modules/cdk-nag/lib/rules/elb/CLBConnectionDraining.d.ts +3 -1
  272. package/node_modules/cdk-nag/lib/rules/elb/CLBConnectionDraining.js +2 -2
  273. package/node_modules/cdk-nag/lib/rules/elb/CLBNoInboundHttpHttps.d.ts +3 -1
  274. package/node_modules/cdk-nag/lib/rules/elb/CLBNoInboundHttpHttps.js +2 -2
  275. package/node_modules/cdk-nag/lib/rules/elb/ELBACMCertificateRequired.d.ts +3 -1
  276. package/node_modules/cdk-nag/lib/rules/elb/ELBACMCertificateRequired.js +2 -2
  277. package/node_modules/cdk-nag/lib/rules/elb/ELBCrossZoneLoadBalancingEnabled.d.ts +3 -1
  278. package/node_modules/cdk-nag/lib/rules/elb/ELBCrossZoneLoadBalancingEnabled.js +2 -2
  279. package/node_modules/cdk-nag/lib/rules/elb/ELBDeletionProtectionEnabled.d.ts +3 -1
  280. package/node_modules/cdk-nag/lib/rules/elb/ELBDeletionProtectionEnabled.js +2 -2
  281. package/node_modules/cdk-nag/lib/rules/elb/ELBLoggingEnabled.d.ts +3 -1
  282. package/node_modules/cdk-nag/lib/rules/elb/ELBLoggingEnabled.js +2 -2
  283. package/node_modules/cdk-nag/lib/rules/elb/ELBTlsHttpsListenersOnly.d.ts +3 -1
  284. package/node_modules/cdk-nag/lib/rules/elb/ELBTlsHttpsListenersOnly.js +2 -2
  285. package/node_modules/cdk-nag/lib/rules/elb/ELBv2ACMCertificateRequired.d.ts +3 -1
  286. package/node_modules/cdk-nag/lib/rules/elb/ELBv2ACMCertificateRequired.js +2 -2
  287. package/node_modules/cdk-nag/lib/rules/elb/index.js +2 -1
  288. package/node_modules/cdk-nag/lib/rules/emr/EMRAuthEC2KeyPairOrKerberos.d.ts +3 -1
  289. package/node_modules/cdk-nag/lib/rules/emr/EMRAuthEC2KeyPairOrKerberos.js +2 -2
  290. package/node_modules/cdk-nag/lib/rules/emr/EMREncryptionInTransit.d.ts +3 -1
  291. package/node_modules/cdk-nag/lib/rules/emr/EMREncryptionInTransit.js +2 -2
  292. package/node_modules/cdk-nag/lib/rules/emr/EMRKerberosEnabled.d.ts +3 -1
  293. package/node_modules/cdk-nag/lib/rules/emr/EMRKerberosEnabled.js +2 -2
  294. package/node_modules/cdk-nag/lib/rules/emr/EMRLocalDiskEncryption.d.ts +3 -1
  295. package/node_modules/cdk-nag/lib/rules/emr/EMRLocalDiskEncryption.js +2 -2
  296. package/node_modules/cdk-nag/lib/rules/emr/EMRS3AccessLogging.d.ts +3 -1
  297. package/node_modules/cdk-nag/lib/rules/emr/EMRS3AccessLogging.js +2 -2
  298. package/node_modules/cdk-nag/lib/rules/emr/index.js +2 -1
  299. package/node_modules/cdk-nag/lib/rules/eventbridge/EventBusOpenAccess.d.ts +3 -1
  300. package/node_modules/cdk-nag/lib/rules/eventbridge/EventBusOpenAccess.js +2 -2
  301. package/node_modules/cdk-nag/lib/rules/eventbridge/index.js +2 -1
  302. package/node_modules/cdk-nag/lib/rules/glue/GlueEncryptedCloudWatchLogs.d.ts +3 -1
  303. package/node_modules/cdk-nag/lib/rules/glue/GlueEncryptedCloudWatchLogs.js +2 -2
  304. package/node_modules/cdk-nag/lib/rules/glue/GlueJobBookmarkEncrypted.d.ts +3 -1
  305. package/node_modules/cdk-nag/lib/rules/glue/GlueJobBookmarkEncrypted.js +2 -2
  306. package/node_modules/cdk-nag/lib/rules/glue/index.js +2 -1
  307. package/node_modules/cdk-nag/lib/rules/iam/IAMGroupHasUsers.d.ts +3 -1
  308. package/node_modules/cdk-nag/lib/rules/iam/IAMGroupHasUsers.js +2 -2
  309. package/node_modules/cdk-nag/lib/rules/iam/IAMNoInlinePolicy.d.ts +3 -1
  310. package/node_modules/cdk-nag/lib/rules/iam/IAMNoInlinePolicy.js +2 -2
  311. package/node_modules/cdk-nag/lib/rules/iam/IAMNoManagedPolicies.d.ts +3 -1
  312. package/node_modules/cdk-nag/lib/rules/iam/IAMNoManagedPolicies.js +3 -3
  313. package/node_modules/cdk-nag/lib/rules/iam/IAMNoWildcardPermissions.d.ts +3 -1
  314. package/node_modules/cdk-nag/lib/rules/iam/IAMNoWildcardPermissions.js +2 -2
  315. package/node_modules/cdk-nag/lib/rules/iam/IAMPolicyNoStatementsWithAdminAccess.d.ts +3 -1
  316. package/node_modules/cdk-nag/lib/rules/iam/IAMPolicyNoStatementsWithAdminAccess.js +2 -2
  317. package/node_modules/cdk-nag/lib/rules/iam/IAMPolicyNoStatementsWithFullAccess.d.ts +3 -1
  318. package/node_modules/cdk-nag/lib/rules/iam/IAMPolicyNoStatementsWithFullAccess.js +2 -2
  319. package/node_modules/cdk-nag/lib/rules/iam/IAMUserGroupMembership.d.ts +3 -1
  320. package/node_modules/cdk-nag/lib/rules/iam/IAMUserGroupMembership.js +2 -2
  321. package/node_modules/cdk-nag/lib/rules/iam/IAMUserNoPolicies.d.ts +3 -1
  322. package/node_modules/cdk-nag/lib/rules/iam/IAMUserNoPolicies.js +2 -2
  323. package/node_modules/cdk-nag/lib/rules/iam/index.js +2 -1
  324. package/node_modules/cdk-nag/lib/rules/index.js +2 -1
  325. package/node_modules/cdk-nag/lib/rules/kinesis/KinesisDataAnalyticsFlinkCheckpointing.d.ts +3 -1
  326. package/node_modules/cdk-nag/lib/rules/kinesis/KinesisDataAnalyticsFlinkCheckpointing.js +2 -2
  327. package/node_modules/cdk-nag/lib/rules/kinesis/KinesisDataFirehoseSSE.d.ts +3 -1
  328. package/node_modules/cdk-nag/lib/rules/kinesis/KinesisDataFirehoseSSE.js +2 -2
  329. package/node_modules/cdk-nag/lib/rules/kinesis/KinesisDataStreamDefaultKeyWhenSSE.d.ts +3 -1
  330. package/node_modules/cdk-nag/lib/rules/kinesis/KinesisDataStreamDefaultKeyWhenSSE.js +2 -2
  331. package/node_modules/cdk-nag/lib/rules/kinesis/KinesisDataStreamSSE.d.ts +3 -1
  332. package/node_modules/cdk-nag/lib/rules/kinesis/KinesisDataStreamSSE.js +2 -2
  333. package/node_modules/cdk-nag/lib/rules/kinesis/index.js +2 -1
  334. package/node_modules/cdk-nag/lib/rules/kms/KMSBackingKeyRotationEnabled.d.ts +3 -1
  335. package/node_modules/cdk-nag/lib/rules/kms/KMSBackingKeyRotationEnabled.js +2 -2
  336. package/node_modules/cdk-nag/lib/rules/kms/index.js +2 -1
  337. package/node_modules/cdk-nag/lib/rules/lambda/LambdaConcurrency.d.ts +3 -1
  338. package/node_modules/cdk-nag/lib/rules/lambda/LambdaConcurrency.js +2 -2
  339. package/node_modules/cdk-nag/lib/rules/lambda/LambdaDLQ.d.ts +3 -1
  340. package/node_modules/cdk-nag/lib/rules/lambda/LambdaDLQ.js +2 -2
  341. package/node_modules/cdk-nag/lib/rules/lambda/LambdaEventSourceSQSVisibilityTimeout.d.ts +3 -1
  342. package/node_modules/cdk-nag/lib/rules/lambda/LambdaEventSourceSQSVisibilityTimeout.js +7 -7
  343. package/node_modules/cdk-nag/lib/rules/lambda/LambdaFunctionPublicAccessProhibited.d.ts +3 -1
  344. package/node_modules/cdk-nag/lib/rules/lambda/LambdaFunctionPublicAccessProhibited.js +2 -2
  345. package/node_modules/cdk-nag/lib/rules/lambda/LambdaFunctionUrlAuth.d.ts +3 -1
  346. package/node_modules/cdk-nag/lib/rules/lambda/LambdaFunctionUrlAuth.js +2 -2
  347. package/node_modules/cdk-nag/lib/rules/lambda/LambdaInsideVPC.d.ts +3 -1
  348. package/node_modules/cdk-nag/lib/rules/lambda/LambdaInsideVPC.js +2 -2
  349. package/node_modules/cdk-nag/lib/rules/lambda/LambdaLatestVersion.d.ts +3 -1
  350. package/node_modules/cdk-nag/lib/rules/lambda/LambdaLatestVersion.js +2 -2
  351. package/node_modules/cdk-nag/lib/rules/lambda/index.js +2 -1
  352. package/node_modules/cdk-nag/lib/rules/lex/LexBotAliasEncryptedConversationLogs.d.ts +3 -1
  353. package/node_modules/cdk-nag/lib/rules/lex/LexBotAliasEncryptedConversationLogs.js +2 -2
  354. package/node_modules/cdk-nag/lib/rules/lex/index.js +2 -1
  355. package/node_modules/cdk-nag/lib/rules/mediastore/MediaStoreCloudWatchMetricPolicy.d.ts +3 -1
  356. package/node_modules/cdk-nag/lib/rules/mediastore/MediaStoreCloudWatchMetricPolicy.js +2 -2
  357. package/node_modules/cdk-nag/lib/rules/mediastore/MediaStoreContainerAccessLogging.d.ts +3 -1
  358. package/node_modules/cdk-nag/lib/rules/mediastore/MediaStoreContainerAccessLogging.js +2 -2
  359. package/node_modules/cdk-nag/lib/rules/mediastore/MediaStoreContainerCORSPolicy.d.ts +3 -1
  360. package/node_modules/cdk-nag/lib/rules/mediastore/MediaStoreContainerCORSPolicy.js +2 -2
  361. package/node_modules/cdk-nag/lib/rules/mediastore/MediaStoreContainerHasContainerPolicy.d.ts +3 -1
  362. package/node_modules/cdk-nag/lib/rules/mediastore/MediaStoreContainerHasContainerPolicy.js +2 -2
  363. package/node_modules/cdk-nag/lib/rules/mediastore/MediaStoreContainerLifecyclePolicy.d.ts +3 -1
  364. package/node_modules/cdk-nag/lib/rules/mediastore/MediaStoreContainerLifecyclePolicy.js +2 -2
  365. package/node_modules/cdk-nag/lib/rules/mediastore/MediaStoreContainerSSLRequestsOnly.d.ts +3 -1
  366. package/node_modules/cdk-nag/lib/rules/mediastore/MediaStoreContainerSSLRequestsOnly.js +2 -2
  367. package/node_modules/cdk-nag/lib/rules/mediastore/index.js +2 -1
  368. package/node_modules/cdk-nag/lib/rules/msk/MSKBrokerLogging.d.ts +3 -1
  369. package/node_modules/cdk-nag/lib/rules/msk/MSKBrokerLogging.js +2 -2
  370. package/node_modules/cdk-nag/lib/rules/msk/MSKBrokerToBrokerTLS.d.ts +3 -1
  371. package/node_modules/cdk-nag/lib/rules/msk/MSKBrokerToBrokerTLS.js +2 -2
  372. package/node_modules/cdk-nag/lib/rules/msk/MSKClientToBrokerTLS.d.ts +3 -1
  373. package/node_modules/cdk-nag/lib/rules/msk/MSKClientToBrokerTLS.js +2 -2
  374. package/node_modules/cdk-nag/lib/rules/msk/index.js +2 -1
  375. package/node_modules/cdk-nag/lib/rules/neptune/NeptuneClusterAutomaticMinorVersionUpgrade.d.ts +3 -1
  376. package/node_modules/cdk-nag/lib/rules/neptune/NeptuneClusterAutomaticMinorVersionUpgrade.js +2 -2
  377. package/node_modules/cdk-nag/lib/rules/neptune/NeptuneClusterBackupRetentionPeriod.d.ts +3 -1
  378. package/node_modules/cdk-nag/lib/rules/neptune/NeptuneClusterBackupRetentionPeriod.js +2 -2
  379. package/node_modules/cdk-nag/lib/rules/neptune/NeptuneClusterEncryptionAtRest.d.ts +3 -1
  380. package/node_modules/cdk-nag/lib/rules/neptune/NeptuneClusterEncryptionAtRest.js +2 -2
  381. package/node_modules/cdk-nag/lib/rules/neptune/NeptuneClusterIAMAuth.d.ts +3 -1
  382. package/node_modules/cdk-nag/lib/rules/neptune/NeptuneClusterIAMAuth.js +2 -2
  383. package/node_modules/cdk-nag/lib/rules/neptune/NeptuneClusterMultiAZ.d.ts +3 -1
  384. package/node_modules/cdk-nag/lib/rules/neptune/NeptuneClusterMultiAZ.js +2 -2
  385. package/node_modules/cdk-nag/lib/rules/neptune/index.js +2 -1
  386. package/node_modules/cdk-nag/lib/rules/opensearch/OpenSearchAllowlistedIPs.d.ts +3 -1
  387. package/node_modules/cdk-nag/lib/rules/opensearch/OpenSearchAllowlistedIPs.js +2 -2
  388. package/node_modules/cdk-nag/lib/rules/opensearch/OpenSearchDedicatedMasterNode.d.ts +3 -1
  389. package/node_modules/cdk-nag/lib/rules/opensearch/OpenSearchDedicatedMasterNode.js +2 -2
  390. package/node_modules/cdk-nag/lib/rules/opensearch/OpenSearchEncryptedAtRest.d.ts +3 -1
  391. package/node_modules/cdk-nag/lib/rules/opensearch/OpenSearchEncryptedAtRest.js +2 -2
  392. package/node_modules/cdk-nag/lib/rules/opensearch/OpenSearchErrorLogsToCloudWatch.d.ts +3 -1
  393. package/node_modules/cdk-nag/lib/rules/opensearch/OpenSearchErrorLogsToCloudWatch.js +2 -2
  394. package/node_modules/cdk-nag/lib/rules/opensearch/OpenSearchInVPCOnly.d.ts +3 -1
  395. package/node_modules/cdk-nag/lib/rules/opensearch/OpenSearchInVPCOnly.js +2 -2
  396. package/node_modules/cdk-nag/lib/rules/opensearch/OpenSearchNoUnsignedOrAnonymousAccess.d.ts +3 -1
  397. package/node_modules/cdk-nag/lib/rules/opensearch/OpenSearchNoUnsignedOrAnonymousAccess.js +2 -2
  398. package/node_modules/cdk-nag/lib/rules/opensearch/OpenSearchNodeToNodeEncryption.d.ts +3 -1
  399. package/node_modules/cdk-nag/lib/rules/opensearch/OpenSearchNodeToNodeEncryption.js +2 -2
  400. package/node_modules/cdk-nag/lib/rules/opensearch/OpenSearchSlowLogsToCloudWatch.d.ts +3 -1
  401. package/node_modules/cdk-nag/lib/rules/opensearch/OpenSearchSlowLogsToCloudWatch.js +2 -2
  402. package/node_modules/cdk-nag/lib/rules/opensearch/OpenSearchZoneAwareness.d.ts +3 -1
  403. package/node_modules/cdk-nag/lib/rules/opensearch/OpenSearchZoneAwareness.js +2 -2
  404. package/node_modules/cdk-nag/lib/rules/opensearch/index.js +2 -1
  405. package/node_modules/cdk-nag/lib/rules/quicksight/QuicksightSSLConnections.d.ts +3 -1
  406. package/node_modules/cdk-nag/lib/rules/quicksight/QuicksightSSLConnections.js +2 -2
  407. package/node_modules/cdk-nag/lib/rules/quicksight/index.js +2 -1
  408. package/node_modules/cdk-nag/lib/rules/rds/AuroraMySQLBacktrack.d.ts +3 -1
  409. package/node_modules/cdk-nag/lib/rules/rds/AuroraMySQLBacktrack.js +2 -2
  410. package/node_modules/cdk-nag/lib/rules/rds/AuroraMySQLLogging.d.ts +3 -1
  411. package/node_modules/cdk-nag/lib/rules/rds/AuroraMySQLLogging.js +2 -2
  412. package/node_modules/cdk-nag/lib/rules/rds/AuroraMySQLPostgresIAMAuth.d.ts +3 -1
  413. package/node_modules/cdk-nag/lib/rules/rds/AuroraMySQLPostgresIAMAuth.js +2 -2
  414. package/node_modules/cdk-nag/lib/rules/rds/RDSAutomaticMinorVersionUpgradeEnabled.d.ts +3 -1
  415. package/node_modules/cdk-nag/lib/rules/rds/RDSAutomaticMinorVersionUpgradeEnabled.js +2 -2
  416. package/node_modules/cdk-nag/lib/rules/rds/RDSEnhancedMonitoringEnabled.d.ts +3 -1
  417. package/node_modules/cdk-nag/lib/rules/rds/RDSEnhancedMonitoringEnabled.js +2 -2
  418. package/node_modules/cdk-nag/lib/rules/rds/RDSInBackupPlan.d.ts +3 -1
  419. package/node_modules/cdk-nag/lib/rules/rds/RDSInBackupPlan.js +2 -2
  420. package/node_modules/cdk-nag/lib/rules/rds/RDSInstanceBackupEnabled.d.ts +3 -1
  421. package/node_modules/cdk-nag/lib/rules/rds/RDSInstanceBackupEnabled.js +2 -2
  422. package/node_modules/cdk-nag/lib/rules/rds/RDSInstanceDeletionProtectionEnabled.d.ts +3 -1
  423. package/node_modules/cdk-nag/lib/rules/rds/RDSInstanceDeletionProtectionEnabled.js +2 -2
  424. package/node_modules/cdk-nag/lib/rules/rds/RDSInstancePublicAccess.d.ts +3 -1
  425. package/node_modules/cdk-nag/lib/rules/rds/RDSInstancePublicAccess.js +2 -2
  426. package/node_modules/cdk-nag/lib/rules/rds/RDSLoggingEnabled.d.ts +3 -1
  427. package/node_modules/cdk-nag/lib/rules/rds/RDSLoggingEnabled.js +2 -2
  428. package/node_modules/cdk-nag/lib/rules/rds/RDSMultiAZSupport.d.ts +3 -1
  429. package/node_modules/cdk-nag/lib/rules/rds/RDSMultiAZSupport.js +2 -2
  430. package/node_modules/cdk-nag/lib/rules/rds/RDSNonDefaultPort.d.ts +3 -1
  431. package/node_modules/cdk-nag/lib/rules/rds/RDSNonDefaultPort.js +2 -2
  432. package/node_modules/cdk-nag/lib/rules/rds/RDSRestrictedInbound.d.ts +3 -1
  433. package/node_modules/cdk-nag/lib/rules/rds/RDSRestrictedInbound.js +2 -2
  434. package/node_modules/cdk-nag/lib/rules/rds/RDSStorageEncrypted.d.ts +3 -1
  435. package/node_modules/cdk-nag/lib/rules/rds/RDSStorageEncrypted.js +2 -2
  436. package/node_modules/cdk-nag/lib/rules/rds/index.js +2 -1
  437. package/node_modules/cdk-nag/lib/rules/redshift/RedshiftBackupEnabled.d.ts +3 -1
  438. package/node_modules/cdk-nag/lib/rules/redshift/RedshiftBackupEnabled.js +2 -2
  439. package/node_modules/cdk-nag/lib/rules/redshift/RedshiftClusterAuditLogging.d.ts +3 -1
  440. package/node_modules/cdk-nag/lib/rules/redshift/RedshiftClusterAuditLogging.js +2 -2
  441. package/node_modules/cdk-nag/lib/rules/redshift/RedshiftClusterConfiguration.d.ts +3 -1
  442. package/node_modules/cdk-nag/lib/rules/redshift/RedshiftClusterConfiguration.js +2 -2
  443. package/node_modules/cdk-nag/lib/rules/redshift/RedshiftClusterEncryptionAtRest.d.ts +3 -1
  444. package/node_modules/cdk-nag/lib/rules/redshift/RedshiftClusterEncryptionAtRest.js +2 -2
  445. package/node_modules/cdk-nag/lib/rules/redshift/RedshiftClusterInVPC.d.ts +3 -1
  446. package/node_modules/cdk-nag/lib/rules/redshift/RedshiftClusterInVPC.js +2 -2
  447. package/node_modules/cdk-nag/lib/rules/redshift/RedshiftClusterMaintenanceSettings.d.ts +3 -1
  448. package/node_modules/cdk-nag/lib/rules/redshift/RedshiftClusterMaintenanceSettings.js +2 -2
  449. package/node_modules/cdk-nag/lib/rules/redshift/RedshiftClusterNonDefaultPort.d.ts +3 -1
  450. package/node_modules/cdk-nag/lib/rules/redshift/RedshiftClusterNonDefaultPort.js +2 -2
  451. package/node_modules/cdk-nag/lib/rules/redshift/RedshiftClusterNonDefaultUsername.d.ts +3 -1
  452. package/node_modules/cdk-nag/lib/rules/redshift/RedshiftClusterNonDefaultUsername.js +2 -2
  453. package/node_modules/cdk-nag/lib/rules/redshift/RedshiftClusterPublicAccess.d.ts +3 -1
  454. package/node_modules/cdk-nag/lib/rules/redshift/RedshiftClusterPublicAccess.js +2 -2
  455. package/node_modules/cdk-nag/lib/rules/redshift/RedshiftClusterUserActivityLogging.d.ts +3 -1
  456. package/node_modules/cdk-nag/lib/rules/redshift/RedshiftClusterUserActivityLogging.js +2 -2
  457. package/node_modules/cdk-nag/lib/rules/redshift/RedshiftClusterVersionUpgrade.d.ts +3 -1
  458. package/node_modules/cdk-nag/lib/rules/redshift/RedshiftClusterVersionUpgrade.js +2 -2
  459. package/node_modules/cdk-nag/lib/rules/redshift/RedshiftEnhancedVPCRoutingEnabled.d.ts +3 -1
  460. package/node_modules/cdk-nag/lib/rules/redshift/RedshiftEnhancedVPCRoutingEnabled.js +2 -2
  461. package/node_modules/cdk-nag/lib/rules/redshift/RedshiftRequireTlsSSL.d.ts +3 -1
  462. package/node_modules/cdk-nag/lib/rules/redshift/RedshiftRequireTlsSSL.js +2 -2
  463. package/node_modules/cdk-nag/lib/rules/redshift/index.js +2 -1
  464. package/node_modules/cdk-nag/lib/rules/s3/S3BucketDefaultLockEnabled.d.ts +3 -1
  465. package/node_modules/cdk-nag/lib/rules/s3/S3BucketDefaultLockEnabled.js +2 -2
  466. package/node_modules/cdk-nag/lib/rules/s3/S3BucketLevelPublicAccessProhibited.d.ts +3 -1
  467. package/node_modules/cdk-nag/lib/rules/s3/S3BucketLevelPublicAccessProhibited.js +2 -2
  468. package/node_modules/cdk-nag/lib/rules/s3/S3BucketLoggingEnabled.d.ts +3 -1
  469. package/node_modules/cdk-nag/lib/rules/s3/S3BucketLoggingEnabled.js +3 -3
  470. package/node_modules/cdk-nag/lib/rules/s3/S3BucketPublicReadProhibited.d.ts +3 -1
  471. package/node_modules/cdk-nag/lib/rules/s3/S3BucketPublicReadProhibited.js +2 -2
  472. package/node_modules/cdk-nag/lib/rules/s3/S3BucketPublicWriteProhibited.d.ts +3 -1
  473. package/node_modules/cdk-nag/lib/rules/s3/S3BucketPublicWriteProhibited.js +2 -2
  474. package/node_modules/cdk-nag/lib/rules/s3/S3BucketReplicationEnabled.d.ts +3 -1
  475. package/node_modules/cdk-nag/lib/rules/s3/S3BucketReplicationEnabled.js +2 -2
  476. package/node_modules/cdk-nag/lib/rules/s3/S3BucketSSLRequestsOnly.d.ts +3 -1
  477. package/node_modules/cdk-nag/lib/rules/s3/S3BucketSSLRequestsOnly.js +2 -2
  478. package/node_modules/cdk-nag/lib/rules/s3/S3BucketVersioningEnabled.d.ts +3 -1
  479. package/node_modules/cdk-nag/lib/rules/s3/S3BucketVersioningEnabled.js +2 -2
  480. package/node_modules/cdk-nag/lib/rules/s3/S3DefaultEncryptionKMS.d.ts +3 -1
  481. package/node_modules/cdk-nag/lib/rules/s3/S3DefaultEncryptionKMS.js +2 -2
  482. package/node_modules/cdk-nag/lib/rules/s3/S3WebBucketOAIAccess.d.ts +3 -1
  483. package/node_modules/cdk-nag/lib/rules/s3/S3WebBucketOAIAccess.js +2 -2
  484. package/node_modules/cdk-nag/lib/rules/s3/index.js +2 -1
  485. package/node_modules/cdk-nag/lib/rules/sagemaker/SageMakerEndpointConfigurationKMSKeyConfigured.d.ts +3 -1
  486. package/node_modules/cdk-nag/lib/rules/sagemaker/SageMakerEndpointConfigurationKMSKeyConfigured.js +2 -2
  487. package/node_modules/cdk-nag/lib/rules/sagemaker/SageMakerNotebookInVPC.d.ts +3 -1
  488. package/node_modules/cdk-nag/lib/rules/sagemaker/SageMakerNotebookInVPC.js +2 -2
  489. package/node_modules/cdk-nag/lib/rules/sagemaker/SageMakerNotebookInstanceKMSKeyConfigured.d.ts +3 -1
  490. package/node_modules/cdk-nag/lib/rules/sagemaker/SageMakerNotebookInstanceKMSKeyConfigured.js +2 -2
  491. package/node_modules/cdk-nag/lib/rules/sagemaker/SageMakerNotebookNoDirectInternetAccess.d.ts +3 -1
  492. package/node_modules/cdk-nag/lib/rules/sagemaker/SageMakerNotebookNoDirectInternetAccess.js +2 -2
  493. package/node_modules/cdk-nag/lib/rules/sagemaker/index.js +2 -1
  494. package/node_modules/cdk-nag/lib/rules/secretsmanager/SecretsManagerRotationEnabled.d.ts +3 -1
  495. package/node_modules/cdk-nag/lib/rules/secretsmanager/SecretsManagerRotationEnabled.js +2 -2
  496. package/node_modules/cdk-nag/lib/rules/secretsmanager/SecretsManagerUsingKMSKey.d.ts +3 -1
  497. package/node_modules/cdk-nag/lib/rules/secretsmanager/SecretsManagerUsingKMSKey.js +2 -2
  498. package/node_modules/cdk-nag/lib/rules/secretsmanager/index.js +2 -1
  499. package/node_modules/cdk-nag/lib/rules/sns/SNSEncryptedKMS.d.ts +8 -0
  500. package/node_modules/cdk-nag/lib/rules/sns/SNSEncryptedKMS.js +27 -0
  501. package/node_modules/cdk-nag/lib/rules/sns/SNSTopicSSLPublishOnly.d.ts +3 -1
  502. package/node_modules/cdk-nag/lib/rules/sns/SNSTopicSSLPublishOnly.js +2 -2
  503. package/node_modules/cdk-nag/lib/rules/sns/index.d.ts +1 -0
  504. package/node_modules/cdk-nag/lib/rules/sns/index.js +4 -1
  505. package/node_modules/cdk-nag/lib/rules/sqs/SQSQueueDLQ.d.ts +3 -1
  506. package/node_modules/cdk-nag/lib/rules/sqs/SQSQueueDLQ.js +4 -4
  507. package/node_modules/cdk-nag/lib/rules/sqs/SQSQueueSSE.d.ts +3 -1
  508. package/node_modules/cdk-nag/lib/rules/sqs/SQSQueueSSE.js +2 -2
  509. package/node_modules/cdk-nag/lib/rules/sqs/SQSQueueSSLRequestsOnly.d.ts +3 -1
  510. package/node_modules/cdk-nag/lib/rules/sqs/SQSQueueSSLRequestsOnly.js +2 -2
  511. package/node_modules/cdk-nag/lib/rules/sqs/index.js +2 -1
  512. package/node_modules/cdk-nag/lib/rules/stepfunctions/StepFunctionStateMachineAllLogsToCloudWatch.d.ts +3 -1
  513. package/node_modules/cdk-nag/lib/rules/stepfunctions/StepFunctionStateMachineAllLogsToCloudWatch.js +2 -2
  514. package/node_modules/cdk-nag/lib/rules/stepfunctions/StepFunctionStateMachineXray.d.ts +3 -1
  515. package/node_modules/cdk-nag/lib/rules/stepfunctions/StepFunctionStateMachineXray.js +2 -2
  516. package/node_modules/cdk-nag/lib/rules/stepfunctions/index.js +2 -1
  517. package/node_modules/cdk-nag/lib/rules/timestream/TimestreamDatabaseCustomerManagedKey.d.ts +3 -1
  518. package/node_modules/cdk-nag/lib/rules/timestream/TimestreamDatabaseCustomerManagedKey.js +2 -2
  519. package/node_modules/cdk-nag/lib/rules/timestream/index.js +2 -1
  520. package/node_modules/cdk-nag/lib/rules/vpc/VPCDefaultSecurityGroupClosed.d.ts +3 -1
  521. package/node_modules/cdk-nag/lib/rules/vpc/VPCDefaultSecurityGroupClosed.js +2 -2
  522. package/node_modules/cdk-nag/lib/rules/vpc/VPCFlowLogsEnabled.d.ts +3 -1
  523. package/node_modules/cdk-nag/lib/rules/vpc/VPCFlowLogsEnabled.js +2 -2
  524. package/node_modules/cdk-nag/lib/rules/vpc/VPCNoNACLs.d.ts +3 -1
  525. package/node_modules/cdk-nag/lib/rules/vpc/VPCNoNACLs.js +2 -2
  526. package/node_modules/cdk-nag/lib/rules/vpc/VPCNoUnrestrictedRouteToIGW.d.ts +3 -1
  527. package/node_modules/cdk-nag/lib/rules/vpc/VPCNoUnrestrictedRouteToIGW.js +2 -2
  528. package/node_modules/cdk-nag/lib/rules/vpc/VPCSubnetAutoAssignPublicIpDisabled.d.ts +3 -1
  529. package/node_modules/cdk-nag/lib/rules/vpc/VPCSubnetAutoAssignPublicIpDisabled.js +2 -2
  530. package/node_modules/cdk-nag/lib/rules/vpc/index.js +2 -1
  531. package/node_modules/cdk-nag/lib/rules/waf/WAFv2LoggingEnabled.d.ts +3 -1
  532. package/node_modules/cdk-nag/lib/rules/waf/WAFv2LoggingEnabled.js +2 -2
  533. package/node_modules/cdk-nag/lib/rules/waf/index.js +2 -1
  534. package/node_modules/cdk-nag/lib/utils/flatten-cfn-reference.js +3 -2
  535. package/node_modules/cdk-nag/lib/utils/nag-suppression-helper.js +1 -1
  536. package/node_modules/cdk-nag/package.json +7 -13
  537. package/package.json +8 -8
  538. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/streams/create-read-stream-on-buffer.browser.js +0 -7
  539. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/streams/create-read-stream-on-buffer.js +0 -11
  540. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/streams/create-read-stream-on-buffer.browser.js +0 -3
  541. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/streams/create-read-stream-on-buffer.js +0 -7
  542. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/streams/create-read-stream-on-buffer.browser.d.ts +0 -4
  543. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/streams/create-read-stream-on-buffer.d.ts +0 -6
  544. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/streams/create-read-stream-on-buffer.browser.d.ts +0 -3
  545. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/streams/create-read-stream-on-buffer.d.ts +0 -2
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-location-constraint",
3
- "version": "3.731.0",
3
+ "version": "3.734.0",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
6
6
  "build:cjs": "node ../../scripts/compilation/inline middleware-location-constraint",
@@ -23,8 +23,8 @@
23
23
  },
24
24
  "license": "Apache-2.0",
25
25
  "dependencies": {
26
- "@aws-sdk/types": "3.731.0",
27
- "@smithy/types": "^4.0.0",
26
+ "@aws-sdk/types": "3.734.0",
27
+ "@smithy/types": "^4.1.0",
28
28
  "tslib": "^2.6.2"
29
29
  },
30
30
  "engines": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-logger",
3
- "version": "3.731.0",
3
+ "version": "3.734.0",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
6
6
  "build:cjs": "node ../../scripts/compilation/inline middleware-logger",
@@ -24,8 +24,8 @@
24
24
  "module": "./dist-es/index.js",
25
25
  "types": "./dist-types/index.d.ts",
26
26
  "dependencies": {
27
- "@aws-sdk/types": "3.731.0",
28
- "@smithy/types": "^4.0.0",
27
+ "@aws-sdk/types": "3.734.0",
28
+ "@smithy/types": "^4.1.0",
29
29
  "tslib": "^2.6.2"
30
30
  },
31
31
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-recursion-detection",
3
- "version": "3.731.0",
3
+ "version": "3.734.0",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
6
6
  "build:cjs": "node ../../scripts/compilation/inline middleware-recursion-detection",
@@ -23,9 +23,9 @@
23
23
  },
24
24
  "license": "Apache-2.0",
25
25
  "dependencies": {
26
- "@aws-sdk/types": "3.731.0",
27
- "@smithy/protocol-http": "^5.0.0",
28
- "@smithy/types": "^4.0.0",
26
+ "@aws-sdk/types": "3.734.0",
27
+ "@smithy/protocol-http": "^5.0.1",
28
+ "@smithy/types": "^4.1.0",
29
29
  "tslib": "^2.6.2"
30
30
  },
31
31
  "engines": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-sdk-route53",
3
- "version": "3.731.0",
3
+ "version": "3.734.0",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
6
6
  "build:cjs": "node ../../scripts/compilation/inline middleware-sdk-route53",
@@ -23,8 +23,8 @@
23
23
  },
24
24
  "license": "Apache-2.0",
25
25
  "dependencies": {
26
- "@aws-sdk/types": "3.731.0",
27
- "@smithy/types": "^4.0.0",
26
+ "@aws-sdk/types": "3.734.0",
27
+ "@smithy/types": "^4.1.0",
28
28
  "tslib": "^2.6.2"
29
29
  },
30
30
  "engines": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-sdk-s3",
3
- "version": "3.733.0",
3
+ "version": "3.734.0",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
6
6
  "build:cjs": "node ../../scripts/compilation/inline middleware-sdk-s3",
@@ -27,18 +27,18 @@
27
27
  },
28
28
  "license": "Apache-2.0",
29
29
  "dependencies": {
30
- "@aws-sdk/core": "3.731.0",
31
- "@aws-sdk/types": "3.731.0",
30
+ "@aws-sdk/core": "3.734.0",
31
+ "@aws-sdk/types": "3.734.0",
32
32
  "@aws-sdk/util-arn-parser": "3.723.0",
33
- "@smithy/core": "^3.0.0",
34
- "@smithy/node-config-provider": "^4.0.0",
35
- "@smithy/protocol-http": "^5.0.0",
36
- "@smithy/signature-v4": "^5.0.0",
37
- "@smithy/smithy-client": "^4.0.0",
38
- "@smithy/types": "^4.0.0",
33
+ "@smithy/core": "^3.1.1",
34
+ "@smithy/node-config-provider": "^4.0.1",
35
+ "@smithy/protocol-http": "^5.0.1",
36
+ "@smithy/signature-v4": "^5.0.1",
37
+ "@smithy/smithy-client": "^4.1.2",
38
+ "@smithy/types": "^4.1.0",
39
39
  "@smithy/util-config-provider": "^4.0.0",
40
- "@smithy/util-middleware": "^4.0.0",
41
- "@smithy/util-stream": "^4.0.0",
40
+ "@smithy/util-middleware": "^4.0.1",
41
+ "@smithy/util-stream": "^4.0.2",
42
42
  "@smithy/util-utf8": "^4.0.0",
43
43
  "tslib": "^2.6.2"
44
44
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-ssec",
3
- "version": "3.731.0",
3
+ "version": "3.734.0",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
6
6
  "build:cjs": "node ../../scripts/compilation/inline middleware-ssec",
@@ -23,8 +23,8 @@
23
23
  },
24
24
  "license": "Apache-2.0",
25
25
  "dependencies": {
26
- "@aws-sdk/types": "3.731.0",
27
- "@smithy/types": "^4.0.0",
26
+ "@aws-sdk/types": "3.734.0",
27
+ "@smithy/types": "^4.1.0",
28
28
  "tslib": "^2.6.2"
29
29
  },
30
30
  "engines": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-user-agent",
3
- "version": "3.731.0",
3
+ "version": "3.734.0",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
6
6
  "build:cjs": "node ../../scripts/compilation/inline middleware-user-agent",
@@ -24,12 +24,12 @@
24
24
  },
25
25
  "license": "Apache-2.0",
26
26
  "dependencies": {
27
- "@aws-sdk/core": "3.731.0",
28
- "@aws-sdk/types": "3.731.0",
29
- "@aws-sdk/util-endpoints": "3.731.0",
30
- "@smithy/core": "^3.0.0",
31
- "@smithy/protocol-http": "^5.0.0",
32
- "@smithy/types": "^4.0.0",
27
+ "@aws-sdk/core": "3.734.0",
28
+ "@aws-sdk/types": "3.734.0",
29
+ "@aws-sdk/util-endpoints": "3.734.0",
30
+ "@smithy/core": "^3.1.1",
31
+ "@smithy/protocol-http": "^5.0.1",
32
+ "@smithy/types": "^4.1.0",
33
33
  "tslib": "^2.6.2"
34
34
  },
35
35
  "devDependencies": {
@@ -2,105 +2,6 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ruleSet = void 0;
4
4
  const u = "required", v = "fn", w = "argv", x = "ref";
5
- const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "getAttr", i = { [u]: false, type: "String" }, j = { [u]: true, default: false, type: "Boolean" }, k = { [x]: "Endpoint" }, l = { [v]: c, [w]: [{ [x]: "UseFIPS" }, true] }, m = { [v]: c, [w]: [{ [x]: "UseDualStack" }, true] }, n = {}, o = { [v]: h, [w]: [{ [x]: g }, "supportsFIPS"] }, p = { [x]: g }, q = { [v]: c, [w]: [true, { [v]: h, [w]: [p, "supportsDualStack"] }] }, r = [l], s = [m], t = [{ [x]: "Region" }];
6
- const _data = {
7
- version: "1.0",
8
- parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i },
9
- rules: [
10
- {
11
- conditions: [{ [v]: b, [w]: [k] }],
12
- rules: [
13
- { conditions: r, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d },
14
- { conditions: s, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d },
15
- { endpoint: { url: k, properties: n, headers: n }, type: e },
16
- ],
17
- type: f,
18
- },
19
- {
20
- conditions: [{ [v]: b, [w]: t }],
21
- rules: [
22
- {
23
- conditions: [{ [v]: "aws.partition", [w]: t, assign: g }],
24
- rules: [
25
- {
26
- conditions: [l, m],
27
- rules: [
28
- {
29
- conditions: [{ [v]: c, [w]: [a, o] }, q],
30
- rules: [
31
- {
32
- endpoint: {
33
- url: "https://oidc-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
34
- properties: n,
35
- headers: n,
36
- },
37
- type: e,
38
- },
39
- ],
40
- type: f,
41
- },
42
- { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d },
43
- ],
44
- type: f,
45
- },
46
- {
47
- conditions: r,
48
- rules: [
49
- {
50
- conditions: [{ [v]: c, [w]: [o, a] }],
51
- rules: [
52
- {
53
- conditions: [{ [v]: "stringEquals", [w]: [{ [v]: h, [w]: [p, "name"] }, "aws-us-gov"] }],
54
- endpoint: { url: "https://oidc.{Region}.amazonaws.com", properties: n, headers: n },
55
- type: e,
56
- },
57
- {
58
- endpoint: {
59
- url: "https://oidc-fips.{Region}.{PartitionResult#dnsSuffix}",
60
- properties: n,
61
- headers: n,
62
- },
63
- type: e,
64
- },
65
- ],
66
- type: f,
67
- },
68
- { error: "FIPS is enabled but this partition does not support FIPS", type: d },
69
- ],
70
- type: f,
71
- },
72
- {
73
- conditions: s,
74
- rules: [
75
- {
76
- conditions: [q],
77
- rules: [
78
- {
79
- endpoint: {
80
- url: "https://oidc.{Region}.{PartitionResult#dualStackDnsSuffix}",
81
- properties: n,
82
- headers: n,
83
- },
84
- type: e,
85
- },
86
- ],
87
- type: f,
88
- },
89
- { error: "DualStack is enabled but this partition does not support DualStack", type: d },
90
- ],
91
- type: f,
92
- },
93
- {
94
- endpoint: { url: "https://oidc.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n },
95
- type: e,
96
- },
97
- ],
98
- type: f,
99
- },
100
- ],
101
- type: f,
102
- },
103
- { error: "Invalid Configuration: Missing Region", type: d },
104
- ],
105
- };
5
+ const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "getAttr", i = { [u]: false, "type": "String" }, j = { [u]: true, "default": false, "type": "Boolean" }, k = { [x]: "Endpoint" }, l = { [v]: c, [w]: [{ [x]: "UseFIPS" }, true] }, m = { [v]: c, [w]: [{ [x]: "UseDualStack" }, true] }, n = {}, o = { [v]: h, [w]: [{ [x]: g }, "supportsFIPS"] }, p = { [x]: g }, q = { [v]: c, [w]: [true, { [v]: h, [w]: [p, "supportsDualStack"] }] }, r = [l], s = [m], t = [{ [x]: "Region" }];
6
+ const _data = { version: "1.0", parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i }, rules: [{ conditions: [{ [v]: b, [w]: [k] }], rules: [{ conditions: r, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { conditions: s, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: k, properties: n, headers: n }, type: e }], type: f }, { conditions: [{ [v]: b, [w]: t }], rules: [{ conditions: [{ [v]: "aws.partition", [w]: t, assign: g }], rules: [{ conditions: [l, m], rules: [{ conditions: [{ [v]: c, [w]: [a, o] }, q], rules: [{ endpoint: { url: "https://oidc-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: r, rules: [{ conditions: [{ [v]: c, [w]: [o, a] }], rules: [{ conditions: [{ [v]: "stringEquals", [w]: [{ [v]: h, [w]: [p, "name"] }, "aws-us-gov"] }], endpoint: { url: "https://oidc.{Region}.amazonaws.com", properties: n, headers: n }, type: e }, { endpoint: { url: "https://oidc-fips.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: s, rules: [{ conditions: [q], rules: [{ endpoint: { url: "https://oidc.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { endpoint: { url: "https://oidc.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }] };
106
7
  exports.ruleSet = _data;
@@ -2,144 +2,6 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ruleSet = void 0;
4
4
  const F = "required", G = "type", H = "fn", I = "argv", J = "ref";
5
- const a = false, b = true, c = "booleanEquals", d = "stringEquals", e = "sigv4", f = "sts", g = "us-east-1", h = "endpoint", i = "https://sts.{Region}.{PartitionResult#dnsSuffix}", j = "tree", k = "error", l = "getAttr", m = { [F]: false, [G]: "String" }, n = { [F]: true, default: false, [G]: "Boolean" }, o = { [J]: "Endpoint" }, p = { [H]: "isSet", [I]: [{ [J]: "Region" }] }, q = { [J]: "Region" }, r = { [H]: "aws.partition", [I]: [q], assign: "PartitionResult" }, s = { [J]: "UseFIPS" }, t = { [J]: "UseDualStack" }, u = {
6
- url: "https://sts.amazonaws.com",
7
- properties: { authSchemes: [{ name: e, signingName: f, signingRegion: g }] },
8
- headers: {},
9
- }, v = {}, w = { conditions: [{ [H]: d, [I]: [q, "aws-global"] }], [h]: u, [G]: h }, x = { [H]: c, [I]: [s, true] }, y = { [H]: c, [I]: [t, true] }, z = { [H]: l, [I]: [{ [J]: "PartitionResult" }, "supportsFIPS"] }, A = { [J]: "PartitionResult" }, B = { [H]: c, [I]: [true, { [H]: l, [I]: [A, "supportsDualStack"] }] }, C = [{ [H]: "isSet", [I]: [o] }], D = [x], E = [y];
10
- const _data = {
11
- version: "1.0",
12
- parameters: { Region: m, UseDualStack: n, UseFIPS: n, Endpoint: m, UseGlobalEndpoint: n },
13
- rules: [
14
- {
15
- conditions: [
16
- { [H]: c, [I]: [{ [J]: "UseGlobalEndpoint" }, b] },
17
- { [H]: "not", [I]: C },
18
- p,
19
- r,
20
- { [H]: c, [I]: [s, a] },
21
- { [H]: c, [I]: [t, a] },
22
- ],
23
- rules: [
24
- { conditions: [{ [H]: d, [I]: [q, "ap-northeast-1"] }], endpoint: u, [G]: h },
25
- { conditions: [{ [H]: d, [I]: [q, "ap-south-1"] }], endpoint: u, [G]: h },
26
- { conditions: [{ [H]: d, [I]: [q, "ap-southeast-1"] }], endpoint: u, [G]: h },
27
- { conditions: [{ [H]: d, [I]: [q, "ap-southeast-2"] }], endpoint: u, [G]: h },
28
- w,
29
- { conditions: [{ [H]: d, [I]: [q, "ca-central-1"] }], endpoint: u, [G]: h },
30
- { conditions: [{ [H]: d, [I]: [q, "eu-central-1"] }], endpoint: u, [G]: h },
31
- { conditions: [{ [H]: d, [I]: [q, "eu-north-1"] }], endpoint: u, [G]: h },
32
- { conditions: [{ [H]: d, [I]: [q, "eu-west-1"] }], endpoint: u, [G]: h },
33
- { conditions: [{ [H]: d, [I]: [q, "eu-west-2"] }], endpoint: u, [G]: h },
34
- { conditions: [{ [H]: d, [I]: [q, "eu-west-3"] }], endpoint: u, [G]: h },
35
- { conditions: [{ [H]: d, [I]: [q, "sa-east-1"] }], endpoint: u, [G]: h },
36
- { conditions: [{ [H]: d, [I]: [q, g] }], endpoint: u, [G]: h },
37
- { conditions: [{ [H]: d, [I]: [q, "us-east-2"] }], endpoint: u, [G]: h },
38
- { conditions: [{ [H]: d, [I]: [q, "us-west-1"] }], endpoint: u, [G]: h },
39
- { conditions: [{ [H]: d, [I]: [q, "us-west-2"] }], endpoint: u, [G]: h },
40
- {
41
- endpoint: {
42
- url: i,
43
- properties: { authSchemes: [{ name: e, signingName: f, signingRegion: "{Region}" }] },
44
- headers: v,
45
- },
46
- [G]: h,
47
- },
48
- ],
49
- [G]: j,
50
- },
51
- {
52
- conditions: C,
53
- rules: [
54
- { conditions: D, error: "Invalid Configuration: FIPS and custom endpoint are not supported", [G]: k },
55
- { conditions: E, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", [G]: k },
56
- { endpoint: { url: o, properties: v, headers: v }, [G]: h },
57
- ],
58
- [G]: j,
59
- },
60
- {
61
- conditions: [p],
62
- rules: [
63
- {
64
- conditions: [r],
65
- rules: [
66
- {
67
- conditions: [x, y],
68
- rules: [
69
- {
70
- conditions: [{ [H]: c, [I]: [b, z] }, B],
71
- rules: [
72
- {
73
- endpoint: {
74
- url: "https://sts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
75
- properties: v,
76
- headers: v,
77
- },
78
- [G]: h,
79
- },
80
- ],
81
- [G]: j,
82
- },
83
- { error: "FIPS and DualStack are enabled, but this partition does not support one or both", [G]: k },
84
- ],
85
- [G]: j,
86
- },
87
- {
88
- conditions: D,
89
- rules: [
90
- {
91
- conditions: [{ [H]: c, [I]: [z, b] }],
92
- rules: [
93
- {
94
- conditions: [{ [H]: d, [I]: [{ [H]: l, [I]: [A, "name"] }, "aws-us-gov"] }],
95
- endpoint: { url: "https://sts.{Region}.amazonaws.com", properties: v, headers: v },
96
- [G]: h,
97
- },
98
- {
99
- endpoint: {
100
- url: "https://sts-fips.{Region}.{PartitionResult#dnsSuffix}",
101
- properties: v,
102
- headers: v,
103
- },
104
- [G]: h,
105
- },
106
- ],
107
- [G]: j,
108
- },
109
- { error: "FIPS is enabled but this partition does not support FIPS", [G]: k },
110
- ],
111
- [G]: j,
112
- },
113
- {
114
- conditions: E,
115
- rules: [
116
- {
117
- conditions: [B],
118
- rules: [
119
- {
120
- endpoint: {
121
- url: "https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}",
122
- properties: v,
123
- headers: v,
124
- },
125
- [G]: h,
126
- },
127
- ],
128
- [G]: j,
129
- },
130
- { error: "DualStack is enabled but this partition does not support DualStack", [G]: k },
131
- ],
132
- [G]: j,
133
- },
134
- w,
135
- { endpoint: { url: i, properties: v, headers: v }, [G]: h },
136
- ],
137
- [G]: j,
138
- },
139
- ],
140
- [G]: j,
141
- },
142
- { error: "Invalid Configuration: Missing Region", [G]: k },
143
- ],
144
- };
5
+ const a = false, b = true, c = "booleanEquals", d = "stringEquals", e = "sigv4", f = "sts", g = "us-east-1", h = "endpoint", i = "https://sts.{Region}.{PartitionResult#dnsSuffix}", j = "tree", k = "error", l = "getAttr", m = { [F]: false, [G]: "String" }, n = { [F]: true, "default": false, [G]: "Boolean" }, o = { [J]: "Endpoint" }, p = { [H]: "isSet", [I]: [{ [J]: "Region" }] }, q = { [J]: "Region" }, r = { [H]: "aws.partition", [I]: [q], "assign": "PartitionResult" }, s = { [J]: "UseFIPS" }, t = { [J]: "UseDualStack" }, u = { "url": "https://sts.amazonaws.com", "properties": { "authSchemes": [{ "name": e, "signingName": f, "signingRegion": g }] }, "headers": {} }, v = {}, w = { "conditions": [{ [H]: d, [I]: [q, "aws-global"] }], [h]: u, [G]: h }, x = { [H]: c, [I]: [s, true] }, y = { [H]: c, [I]: [t, true] }, z = { [H]: l, [I]: [{ [J]: "PartitionResult" }, "supportsFIPS"] }, A = { [J]: "PartitionResult" }, B = { [H]: c, [I]: [true, { [H]: l, [I]: [A, "supportsDualStack"] }] }, C = [{ [H]: "isSet", [I]: [o] }], D = [x], E = [y];
6
+ const _data = { version: "1.0", parameters: { Region: m, UseDualStack: n, UseFIPS: n, Endpoint: m, UseGlobalEndpoint: n }, rules: [{ conditions: [{ [H]: c, [I]: [{ [J]: "UseGlobalEndpoint" }, b] }, { [H]: "not", [I]: C }, p, r, { [H]: c, [I]: [s, a] }, { [H]: c, [I]: [t, a] }], rules: [{ conditions: [{ [H]: d, [I]: [q, "ap-northeast-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "ap-south-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "ap-southeast-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "ap-southeast-2"] }], endpoint: u, [G]: h }, w, { conditions: [{ [H]: d, [I]: [q, "ca-central-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "eu-central-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "eu-north-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "eu-west-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "eu-west-2"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "eu-west-3"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "sa-east-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, g] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "us-east-2"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "us-west-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "us-west-2"] }], endpoint: u, [G]: h }, { endpoint: { url: i, properties: { authSchemes: [{ name: e, signingName: f, signingRegion: "{Region}" }] }, headers: v }, [G]: h }], [G]: j }, { conditions: C, rules: [{ conditions: D, error: "Invalid Configuration: FIPS and custom endpoint are not supported", [G]: k }, { conditions: E, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", [G]: k }, { endpoint: { url: o, properties: v, headers: v }, [G]: h }], [G]: j }, { conditions: [p], rules: [{ conditions: [r], rules: [{ conditions: [x, y], rules: [{ conditions: [{ [H]: c, [I]: [b, z] }, B], rules: [{ endpoint: { url: "https://sts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: v, headers: v }, [G]: h }], [G]: j }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", [G]: k }], [G]: j }, { conditions: D, rules: [{ conditions: [{ [H]: c, [I]: [z, b] }], rules: [{ conditions: [{ [H]: d, [I]: [{ [H]: l, [I]: [A, "name"] }, "aws-us-gov"] }], endpoint: { url: "https://sts.{Region}.amazonaws.com", properties: v, headers: v }, [G]: h }, { endpoint: { url: "https://sts-fips.{Region}.{PartitionResult#dnsSuffix}", properties: v, headers: v }, [G]: h }], [G]: j }, { error: "FIPS is enabled but this partition does not support FIPS", [G]: k }], [G]: j }, { conditions: E, rules: [{ conditions: [B], rules: [{ endpoint: { url: "https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: v, headers: v }, [G]: h }], [G]: j }, { error: "DualStack is enabled but this partition does not support DualStack", [G]: k }], [G]: j }, w, { endpoint: { url: i, properties: v, headers: v }, [G]: h }], [G]: j }], [G]: j }, { error: "Invalid Configuration: Missing Region", [G]: k }] };
145
7
  exports.ruleSet = _data;
@@ -809,7 +809,7 @@ var resolveRegion = /* @__PURE__ */ __name(async (_region, _parentRegion, creden
809
809
  );
810
810
  return region ?? parentRegion ?? ASSUME_ROLE_DEFAULT_REGION;
811
811
  }, "resolveRegion");
812
- var getDefaultRoleAssumer = /* @__PURE__ */ __name((stsOptions, stsClientCtor) => {
812
+ var getDefaultRoleAssumer = /* @__PURE__ */ __name((stsOptions, STSClient3) => {
813
813
  let stsClient;
814
814
  let closureSourceCreds;
815
815
  return async (sourceCreds, params) => {
@@ -827,7 +827,8 @@ var getDefaultRoleAssumer = /* @__PURE__ */ __name((stsOptions, stsClientCtor) =
827
827
  credentialProviderLogger
828
828
  );
829
829
  const isCompatibleRequestHandler = !isH2(requestHandler);
830
- stsClient = new stsClientCtor({
830
+ stsClient = new STSClient3({
831
+ profile: stsOptions?.parentClientConfig?.profile,
831
832
  // A hack to make sts client uses the credential in current closure.
832
833
  credentialDefaultProvider: () => async () => closureSourceCreds,
833
834
  region: resolvedRegion,
@@ -853,7 +854,7 @@ var getDefaultRoleAssumer = /* @__PURE__ */ __name((stsOptions, stsClientCtor) =
853
854
  return credentials;
854
855
  };
855
856
  }, "getDefaultRoleAssumer");
856
- var getDefaultRoleAssumerWithWebIdentity = /* @__PURE__ */ __name((stsOptions, stsClientCtor) => {
857
+ var getDefaultRoleAssumerWithWebIdentity = /* @__PURE__ */ __name((stsOptions, STSClient3) => {
857
858
  let stsClient;
858
859
  return async (params) => {
859
860
  if (!stsClient) {
@@ -869,7 +870,8 @@ var getDefaultRoleAssumerWithWebIdentity = /* @__PURE__ */ __name((stsOptions, s
869
870
  credentialProviderLogger
870
871
  );
871
872
  const isCompatibleRequestHandler = !isH2(requestHandler);
872
- stsClient = new stsClientCtor({
873
+ stsClient = new STSClient3({
874
+ profile: stsOptions?.parentClientConfig?.profile,
873
875
  region: resolvedRegion,
874
876
  requestHandler: isCompatibleRequestHandler ? requestHandler : void 0,
875
877
  logger
@@ -1,103 +1,4 @@
1
1
  const u = "required", v = "fn", w = "argv", x = "ref";
2
- const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "getAttr", i = { [u]: false, type: "String" }, j = { [u]: true, default: false, type: "Boolean" }, k = { [x]: "Endpoint" }, l = { [v]: c, [w]: [{ [x]: "UseFIPS" }, true] }, m = { [v]: c, [w]: [{ [x]: "UseDualStack" }, true] }, n = {}, o = { [v]: h, [w]: [{ [x]: g }, "supportsFIPS"] }, p = { [x]: g }, q = { [v]: c, [w]: [true, { [v]: h, [w]: [p, "supportsDualStack"] }] }, r = [l], s = [m], t = [{ [x]: "Region" }];
3
- const _data = {
4
- version: "1.0",
5
- parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i },
6
- rules: [
7
- {
8
- conditions: [{ [v]: b, [w]: [k] }],
9
- rules: [
10
- { conditions: r, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d },
11
- { conditions: s, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d },
12
- { endpoint: { url: k, properties: n, headers: n }, type: e },
13
- ],
14
- type: f,
15
- },
16
- {
17
- conditions: [{ [v]: b, [w]: t }],
18
- rules: [
19
- {
20
- conditions: [{ [v]: "aws.partition", [w]: t, assign: g }],
21
- rules: [
22
- {
23
- conditions: [l, m],
24
- rules: [
25
- {
26
- conditions: [{ [v]: c, [w]: [a, o] }, q],
27
- rules: [
28
- {
29
- endpoint: {
30
- url: "https://oidc-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
31
- properties: n,
32
- headers: n,
33
- },
34
- type: e,
35
- },
36
- ],
37
- type: f,
38
- },
39
- { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d },
40
- ],
41
- type: f,
42
- },
43
- {
44
- conditions: r,
45
- rules: [
46
- {
47
- conditions: [{ [v]: c, [w]: [o, a] }],
48
- rules: [
49
- {
50
- conditions: [{ [v]: "stringEquals", [w]: [{ [v]: h, [w]: [p, "name"] }, "aws-us-gov"] }],
51
- endpoint: { url: "https://oidc.{Region}.amazonaws.com", properties: n, headers: n },
52
- type: e,
53
- },
54
- {
55
- endpoint: {
56
- url: "https://oidc-fips.{Region}.{PartitionResult#dnsSuffix}",
57
- properties: n,
58
- headers: n,
59
- },
60
- type: e,
61
- },
62
- ],
63
- type: f,
64
- },
65
- { error: "FIPS is enabled but this partition does not support FIPS", type: d },
66
- ],
67
- type: f,
68
- },
69
- {
70
- conditions: s,
71
- rules: [
72
- {
73
- conditions: [q],
74
- rules: [
75
- {
76
- endpoint: {
77
- url: "https://oidc.{Region}.{PartitionResult#dualStackDnsSuffix}",
78
- properties: n,
79
- headers: n,
80
- },
81
- type: e,
82
- },
83
- ],
84
- type: f,
85
- },
86
- { error: "DualStack is enabled but this partition does not support DualStack", type: d },
87
- ],
88
- type: f,
89
- },
90
- {
91
- endpoint: { url: "https://oidc.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n },
92
- type: e,
93
- },
94
- ],
95
- type: f,
96
- },
97
- ],
98
- type: f,
99
- },
100
- { error: "Invalid Configuration: Missing Region", type: d },
101
- ],
102
- };
2
+ const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "getAttr", i = { [u]: false, "type": "String" }, j = { [u]: true, "default": false, "type": "Boolean" }, k = { [x]: "Endpoint" }, l = { [v]: c, [w]: [{ [x]: "UseFIPS" }, true] }, m = { [v]: c, [w]: [{ [x]: "UseDualStack" }, true] }, n = {}, o = { [v]: h, [w]: [{ [x]: g }, "supportsFIPS"] }, p = { [x]: g }, q = { [v]: c, [w]: [true, { [v]: h, [w]: [p, "supportsDualStack"] }] }, r = [l], s = [m], t = [{ [x]: "Region" }];
3
+ const _data = { version: "1.0", parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i }, rules: [{ conditions: [{ [v]: b, [w]: [k] }], rules: [{ conditions: r, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { conditions: s, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: k, properties: n, headers: n }, type: e }], type: f }, { conditions: [{ [v]: b, [w]: t }], rules: [{ conditions: [{ [v]: "aws.partition", [w]: t, assign: g }], rules: [{ conditions: [l, m], rules: [{ conditions: [{ [v]: c, [w]: [a, o] }, q], rules: [{ endpoint: { url: "https://oidc-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: r, rules: [{ conditions: [{ [v]: c, [w]: [o, a] }], rules: [{ conditions: [{ [v]: "stringEquals", [w]: [{ [v]: h, [w]: [p, "name"] }, "aws-us-gov"] }], endpoint: { url: "https://oidc.{Region}.amazonaws.com", properties: n, headers: n }, type: e }, { endpoint: { url: "https://oidc-fips.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: s, rules: [{ conditions: [q], rules: [{ endpoint: { url: "https://oidc.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { endpoint: { url: "https://oidc.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }] };
103
4
  export const ruleSet = _data;
@@ -17,7 +17,7 @@ const resolveRegion = async (_region, _parentRegion, credentialProviderLogger) =
17
17
  credentialProviderLogger?.debug?.("@aws-sdk/client-sts::resolveRegion", "accepting first of:", `${region} (provider)`, `${parentRegion} (parent client)`, `${ASSUME_ROLE_DEFAULT_REGION} (STS default)`);
18
18
  return region ?? parentRegion ?? ASSUME_ROLE_DEFAULT_REGION;
19
19
  };
20
- export const getDefaultRoleAssumer = (stsOptions, stsClientCtor) => {
20
+ export const getDefaultRoleAssumer = (stsOptions, STSClient) => {
21
21
  let stsClient;
22
22
  let closureSourceCreds;
23
23
  return async (sourceCreds, params) => {
@@ -26,7 +26,8 @@ export const getDefaultRoleAssumer = (stsOptions, stsClientCtor) => {
26
26
  const { logger = stsOptions?.parentClientConfig?.logger, region, requestHandler = stsOptions?.parentClientConfig?.requestHandler, credentialProviderLogger, } = stsOptions;
27
27
  const resolvedRegion = await resolveRegion(region, stsOptions?.parentClientConfig?.region, credentialProviderLogger);
28
28
  const isCompatibleRequestHandler = !isH2(requestHandler);
29
- stsClient = new stsClientCtor({
29
+ stsClient = new STSClient({
30
+ profile: stsOptions?.parentClientConfig?.profile,
30
31
  credentialDefaultProvider: () => async () => closureSourceCreds,
31
32
  region: resolvedRegion,
32
33
  requestHandler: isCompatibleRequestHandler ? requestHandler : undefined,
@@ -50,14 +51,15 @@ export const getDefaultRoleAssumer = (stsOptions, stsClientCtor) => {
50
51
  return credentials;
51
52
  };
52
53
  };
53
- export const getDefaultRoleAssumerWithWebIdentity = (stsOptions, stsClientCtor) => {
54
+ export const getDefaultRoleAssumerWithWebIdentity = (stsOptions, STSClient) => {
54
55
  let stsClient;
55
56
  return async (params) => {
56
57
  if (!stsClient) {
57
58
  const { logger = stsOptions?.parentClientConfig?.logger, region, requestHandler = stsOptions?.parentClientConfig?.requestHandler, credentialProviderLogger, } = stsOptions;
58
59
  const resolvedRegion = await resolveRegion(region, stsOptions?.parentClientConfig?.region, credentialProviderLogger);
59
60
  const isCompatibleRequestHandler = !isH2(requestHandler);
60
- stsClient = new stsClientCtor({
61
+ stsClient = new STSClient({
62
+ profile: stsOptions?.parentClientConfig?.profile,
61
63
  region: resolvedRegion,
62
64
  requestHandler: isCompatibleRequestHandler ? requestHandler : undefined,
63
65
  logger: logger,