diff --git a/packages/@aws-cdk-testing/framework-integ/package.json b/packages/@aws-cdk-testing/framework-integ/package.json index 10968ed2dd54f..d7115b740f73f 100644 --- a/packages/@aws-cdk-testing/framework-integ/package.json +++ b/packages/@aws-cdk-testing/framework-integ/package.json @@ -33,6 +33,9 @@ "@aws-cdk/cdk-build-tools": "0.0.0", "@aws-cdk/integ-runner": "^0.0.0", "@aws-cdk/pkglint": "0.0.0", + "@aws-sdk/client-acm": "3.408.0", + "@aws-sdk/client-rds": "3.408.0", + "@aws-sdk/client-s3": "3.408.0", "delay": "5.0.0" }, "dependencies": { diff --git a/packages/aws-cdk-lib/aws-ec2/test/import-certificates-handler/ca.crt b/packages/@aws-cdk-testing/framework-integ/test/aws-ec2/test/import-certificates-handler/ca.crt similarity index 100% rename from packages/aws-cdk-lib/aws-ec2/test/import-certificates-handler/ca.crt rename to packages/@aws-cdk-testing/framework-integ/test/aws-ec2/test/import-certificates-handler/ca.crt diff --git a/packages/aws-cdk-lib/aws-ec2/test/import-certificates-handler/client1.domain.tld.crt b/packages/@aws-cdk-testing/framework-integ/test/aws-ec2/test/import-certificates-handler/client1.domain.tld.crt similarity index 100% rename from packages/aws-cdk-lib/aws-ec2/test/import-certificates-handler/client1.domain.tld.crt rename to packages/@aws-cdk-testing/framework-integ/test/aws-ec2/test/import-certificates-handler/client1.domain.tld.crt diff --git a/packages/aws-cdk-lib/aws-ec2/test/import-certificates-handler/client1.domain.tld.key b/packages/@aws-cdk-testing/framework-integ/test/aws-ec2/test/import-certificates-handler/client1.domain.tld.key similarity index 100% rename from packages/aws-cdk-lib/aws-ec2/test/import-certificates-handler/client1.domain.tld.key rename to packages/@aws-cdk-testing/framework-integ/test/aws-ec2/test/import-certificates-handler/client1.domain.tld.key diff --git a/packages/aws-cdk-lib/aws-ec2/test/import-certificates-handler/server.crt b/packages/@aws-cdk-testing/framework-integ/test/aws-ec2/test/import-certificates-handler/server.crt similarity index 100% rename from packages/aws-cdk-lib/aws-ec2/test/import-certificates-handler/server.crt rename to packages/@aws-cdk-testing/framework-integ/test/aws-ec2/test/import-certificates-handler/server.crt diff --git a/packages/aws-cdk-lib/aws-ec2/test/import-certificates-handler/server.key b/packages/@aws-cdk-testing/framework-integ/test/aws-ec2/test/import-certificates-handler/server.key similarity index 100% rename from packages/aws-cdk-lib/aws-ec2/test/import-certificates-handler/server.key rename to packages/@aws-cdk-testing/framework-integ/test/aws-ec2/test/import-certificates-handler/server.key diff --git a/packages/@aws-cdk-testing/framework-integ/test/aws-rds/test/integ.cluster-snapshot.ts b/packages/@aws-cdk-testing/framework-integ/test/aws-rds/test/integ.cluster-snapshot.ts index afba91f266597..ea4afa157caa4 100644 --- a/packages/@aws-cdk-testing/framework-integ/test/aws-rds/test/integ.cluster-snapshot.ts +++ b/packages/@aws-cdk-testing/framework-integ/test/aws-rds/test/integ.cluster-snapshot.ts @@ -8,6 +8,7 @@ import { Construct } from 'constructs'; import * as rds from 'aws-cdk-lib/aws-rds'; import { ClusterInstance } from 'aws-cdk-lib/aws-rds'; import { IntegTest } from '@aws-cdk/integ-tests-alpha'; +import { STANDARD_NODEJS_RUNTIME } from '../../config'; class TestStack extends Stack { constructor(scope: Construct, id: string, props?: StackProps) { @@ -85,7 +86,7 @@ class Snapshoter extends Construct { const code = lambda.Code.fromAsset(path.join(__dirname, 'snapshot-handler')); const onEventHandler = new lambda.Function(this, 'OnEventHandler', { code, - runtime: lambda.Runtime.NODEJS_16_X, + runtime: STANDARD_NODEJS_RUNTIME, handler: 'index.onEventHandler', }); onEventHandler.addToRolePolicy(new iam.PolicyStatement({ @@ -95,7 +96,7 @@ class Snapshoter extends Construct { const isCompleteHandler = new lambda.Function(this, 'IsCompleteHandler', { code, - runtime: lambda.Runtime.NODEJS_16_X, + runtime: STANDARD_NODEJS_RUNTIME, handler: 'index.isCompleteHandler', }); isCompleteHandler.addToRolePolicy(new iam.PolicyStatement({ diff --git a/packages/@aws-cdk-testing/framework-integ/test/aws-rds/test/snapshot-handler/index.ts b/packages/@aws-cdk-testing/framework-integ/test/aws-rds/test/snapshot-handler/index.ts index be8fc45f2dc9e..61f61079bcc42 100644 --- a/packages/@aws-cdk-testing/framework-integ/test/aws-rds/test/snapshot-handler/index.ts +++ b/packages/@aws-cdk-testing/framework-integ/test/aws-rds/test/snapshot-handler/index.ts @@ -1,6 +1,6 @@ /* eslint-disable no-console */ /// -import { RDS } from 'aws-sdk'; // eslint-disable-line import/no-extraneous-dependencies +import { RDS } from '@aws-sdk/client-rds'; // eslint-disable-line import/no-extraneous-dependencies export async function onEventHandler(event: AWSCDKAsyncCustomResource.OnEventRequest): Promise { console.log('Event: %j', event); @@ -13,7 +13,7 @@ export async function onEventHandler(event: AWSCDKAsyncCustomResource.OnEventReq const data = await rds.createDBClusterSnapshot({ DBClusterIdentifier: event.ResourceProperties.DBClusterIdentifier, DBClusterSnapshotIdentifier: event.ResourceProperties.DBClusterSnapshotIdentifier, - }).promise(); + }); return { PhysicalResourceId: physicalResourceId, Data: { @@ -25,7 +25,7 @@ export async function onEventHandler(event: AWSCDKAsyncCustomResource.OnEventReq if (event.RequestType === 'Delete') { await rds.deleteDBClusterSnapshot({ DBClusterSnapshotIdentifier: event.ResourceProperties.DBClusterSnapshotIdentifier, - }).promise(); + }); } return { @@ -52,7 +52,7 @@ async function tryGetClusterSnapshotStatus(identifier: string): Promise +/* eslint-disable import/no-extraneous-dependencies */ /* eslint-disable no-console */ -import * as AWS from 'aws-sdk'; +import { S3 } from '@aws-sdk/client-s3'; import * as api from './api'; -const s3 = new AWS.S3(); +const s3 = new S3(); export async function onEvent(event: AWSCDKAsyncCustomResource.OnEventRequest) { switch (event.RequestType) { @@ -41,7 +42,7 @@ export async function putObject(event: AWSCDKAsyncCustomResource.OnEventRequest) Key: objectKey, Body: contents, ACL: publicRead ? 'public-read' : undefined, - }).promise(); + }); // NOTE: updates to the object key will be handled automatically: a new object will be put and then we return // the new name. this will tell cloudformation that the resource has been replaced and it will issue a DELETE @@ -69,5 +70,5 @@ export async function deleteObject(event: AWSCDKAsyncCustomResource.OnEventReque await s3.deleteObject({ Bucket: bucketName, Key: objectKey, - }).promise(); + }); } diff --git a/packages/@aws-cdk-testing/framework-integ/test/custom-resources/test/provider-framework/integration-test-fixtures/s3-file.ts b/packages/@aws-cdk-testing/framework-integ/test/custom-resources/test/provider-framework/integration-test-fixtures/s3-file.ts index bd6fb048a32e8..67bc8415ffdca 100644 --- a/packages/@aws-cdk-testing/framework-integ/test/custom-resources/test/provider-framework/integration-test-fixtures/s3-file.ts +++ b/packages/@aws-cdk-testing/framework-integ/test/custom-resources/test/provider-framework/integration-test-fixtures/s3-file.ts @@ -6,6 +6,7 @@ import { CustomResource, Stack } from 'aws-cdk-lib'; import { Construct, Node } from 'constructs'; import * as api from './s3-file-handler/api'; import * as cr from 'aws-cdk-lib/custom-resources'; +import { STANDARD_NODEJS_RUNTIME } from '../../../../config'; interface S3FileProps { /** @@ -78,7 +79,7 @@ class S3FileProvider extends Construct { this.provider = new cr.Provider(this, 's3file-provider', { onEventHandler: new lambda.Function(this, 's3file-on-event', { code: lambda.Code.fromAsset(path.join(__dirname, 's3-file-handler')), - runtime: lambda.Runtime.NODEJS_16_X, + runtime: STANDARD_NODEJS_RUNTIME, handler: 'index.onEvent', initialPolicy: [ new iam.PolicyStatement({ diff --git a/packages/aws-cdk-lib/aws-codepipeline-actions/README.md b/packages/aws-cdk-lib/aws-codepipeline-actions/README.md index a218394f58e89..192eb8484c950 100644 --- a/packages/aws-cdk-lib/aws-codepipeline-actions/README.md +++ b/packages/aws-cdk-lib/aws-codepipeline-actions/README.md @@ -1148,7 +1148,7 @@ const lambdaInvokeAction = new codepipeline_actions.LambdaInvokeAction({ runtime: lambda.Runtime.NODEJS_LATEST, handler: 'index.handler', code: lambda.Code.fromInline(` - const AWS = require('aws-sdk'); + const { CodePipeline } = require('@aws-sdk/client-codepipeline'); exports.handler = async function(event, context) { const codepipeline = new AWS.CodePipeline(); @@ -1157,7 +1157,7 @@ const lambdaInvokeAction = new codepipeline_actions.LambdaInvokeAction({ outputVariables: { MY_VAR: "some value", }, - }).promise(); + }); } `), }), diff --git a/packages/aws-cdk-lib/aws-ec2/test/import-certificates-handler/index.ts b/packages/aws-cdk-lib/aws-ec2/test/import-certificates-handler/index.ts deleted file mode 100644 index 8d89d4c8d8b5f..0000000000000 --- a/packages/aws-cdk-lib/aws-ec2/test/import-certificates-handler/index.ts +++ /dev/null @@ -1,48 +0,0 @@ -import * as fs from 'fs'; -import { ACM } from 'aws-sdk'; // eslint-disable-line import/no-extraneous-dependencies - -const acm = new ACM(); - -export async function handler(event: AWSLambda.CloudFormationCustomResourceEvent) { - switch (event.RequestType) { - case 'Create': - let serverImport; - if (!event.ResourceProperties.ServerCertificateArn) { - serverImport = await acm.importCertificate({ - Certificate: fs.readFileSync('./server.crt'), - PrivateKey: fs.readFileSync('./server.key'), - CertificateChain: fs.readFileSync('./ca.crt'), - }).promise(); - } - - let clientImport; - if (!event.ResourceProperties.ClientCertificateArn) { - clientImport = await acm.importCertificate({ - Certificate: fs.readFileSync('./client1.domain.tld.crt'), - PrivateKey: fs.readFileSync('./client1.domain.tld.key'), - CertificateChain: fs.readFileSync('./ca.crt'), - }).promise(); - } - - return { - Data: { - ServerCertificateArn: serverImport?.CertificateArn, - ClientCertificateArn: clientImport?.CertificateArn, - }, - }; - case 'Update': - return; - case 'Delete': - if (event.ResourceProperties.ServerCertificateArn) { - await acm.deleteCertificate({ - CertificateArn: event.ResourceProperties.ServerCertificateArn, - }).promise(); - } - if (event.ResourceProperties.ClientCertificateArn) { - await acm.deleteCertificate({ - CertificateArn: event.ResourceProperties.ClientCertificateArn, - }).promise(); - } - return; - } -} diff --git a/packages/aws-cdk-lib/aws-ec2/test/import-default-vpc.integ.snapshot/aws-cdk-ec2-import.template.json b/packages/aws-cdk-lib/aws-ec2/test/import-default-vpc.integ.snapshot/aws-cdk-ec2-import.template.json deleted file mode 100644 index b3a9649d9bdb1..0000000000000 --- a/packages/aws-cdk-lib/aws-ec2/test/import-default-vpc.integ.snapshot/aws-cdk-ec2-import.template.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "Resources": { - "SecurityGroupDD263621": { - "Type": "AWS::EC2::SecurityGroup", - "Properties": { - "GroupDescription": "aws-cdk-ec2-import/SecurityGroup", - "SecurityGroupEgress": [ - { - "CidrIp": "0.0.0.0/0", - "Description": "Allow all outbound traffic by default", - "IpProtocol": "-1" - } - ], - "VpcId": "vpc-6f2d1507" - } - } - }, - "Outputs": { - "PublicSubnets": { - "Value": "ids:" - }, - "PrivateSubnets": { - "Value": "ids:" - }, - "PublicRouteTables": { - "Value": "ids: " - } - } -} \ No newline at end of file diff --git a/packages/aws-cdk-lib/aws-ec2/test/import-default-vpc.integ.snapshot/cdk.out b/packages/aws-cdk-lib/aws-ec2/test/import-default-vpc.integ.snapshot/cdk.out deleted file mode 100644 index 588d7b269d34f..0000000000000 --- a/packages/aws-cdk-lib/aws-ec2/test/import-default-vpc.integ.snapshot/cdk.out +++ /dev/null @@ -1 +0,0 @@ -{"version":"20.0.0"} \ No newline at end of file diff --git a/packages/aws-cdk-lib/aws-ec2/test/import-default-vpc.integ.snapshot/importdefaultvpcDefaultTestDeployAssertC39D1439.template.json b/packages/aws-cdk-lib/aws-ec2/test/import-default-vpc.integ.snapshot/importdefaultvpcDefaultTestDeployAssertC39D1439.template.json deleted file mode 100644 index 9e26dfeeb6e64..0000000000000 --- a/packages/aws-cdk-lib/aws-ec2/test/import-default-vpc.integ.snapshot/importdefaultvpcDefaultTestDeployAssertC39D1439.template.json +++ /dev/null @@ -1 +0,0 @@ -{} \ No newline at end of file diff --git a/packages/aws-cdk-lib/aws-ec2/test/import-default-vpc.integ.snapshot/integ.json b/packages/aws-cdk-lib/aws-ec2/test/import-default-vpc.integ.snapshot/integ.json deleted file mode 100644 index 984280686d920..0000000000000 --- a/packages/aws-cdk-lib/aws-ec2/test/import-default-vpc.integ.snapshot/integ.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "version": "20.0.0", - "testCases": { - "import-default-vpc/DefaultTest": { - "stacks": [ - "aws-cdk-ec2-import" - ], - "assertionStack": "import-default-vpc/DefaultTest/DeployAssert" - } - } -} \ No newline at end of file diff --git a/packages/aws-cdk-lib/aws-ec2/test/import-default-vpc.integ.snapshot/manifest.json b/packages/aws-cdk-lib/aws-ec2/test/import-default-vpc.integ.snapshot/manifest.json deleted file mode 100644 index e88a686ada802..0000000000000 --- a/packages/aws-cdk-lib/aws-ec2/test/import-default-vpc.integ.snapshot/manifest.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "version": "20.0.0", - "artifacts": { - "Tree": { - "type": "cdk:tree", - "properties": { - "file": "tree.json" - } - }, - "aws-cdk-ec2-import": { - "type": "aws:cloudformation:stack", - "environment": "aws://778906199533/us-east-2", - "properties": { - "templateFile": "aws-cdk-ec2-import.template.json", - "validateOnSynth": false - }, - "metadata": { - "/aws-cdk-ec2-import/SecurityGroup/Resource": [ - { - "type": "aws:cdk:logicalId", - "data": "SecurityGroupDD263621" - } - ], - "/aws-cdk-ec2-import/PublicSubnets": [ - { - "type": "aws:cdk:logicalId", - "data": "PublicSubnets" - } - ], - "/aws-cdk-ec2-import/PrivateSubnets": [ - { - "type": "aws:cdk:logicalId", - "data": "PrivateSubnets" - } - ], - "/aws-cdk-ec2-import/PublicRouteTables": [ - { - "type": "aws:cdk:logicalId", - "data": "PublicRouteTables" - } - ] - }, - "displayName": "aws-cdk-ec2-import" - }, - "importdefaultvpcDefaultTestDeployAssertC39D1439": { - "type": "aws:cloudformation:stack", - "environment": "aws://unknown-account/unknown-region", - "properties": { - "templateFile": "importdefaultvpcDefaultTestDeployAssertC39D1439.template.json", - "validateOnSynth": false - }, - "displayName": "import-default-vpc/DefaultTest/DeployAssert" - } - } -} \ No newline at end of file diff --git a/packages/aws-cdk-lib/aws-ec2/test/import-default-vpc.integ.snapshot/tree.json b/packages/aws-cdk-lib/aws-ec2/test/import-default-vpc.integ.snapshot/tree.json deleted file mode 100644 index ed39395694b74..0000000000000 --- a/packages/aws-cdk-lib/aws-ec2/test/import-default-vpc.integ.snapshot/tree.json +++ /dev/null @@ -1,131 +0,0 @@ -{ - "version": "tree-0.1", - "tree": { - "id": "App", - "path": "", - "children": { - "Tree": { - "id": "Tree", - "path": "Tree", - "constructInfo": { - "fqn": "constructs.Construct", - "version": "10.1.78" - } - }, - "aws-cdk-ec2-import": { - "id": "aws-cdk-ec2-import", - "path": "aws-cdk-ec2-import", - "children": { - "VPC": { - "id": "VPC", - "path": "aws-cdk-ec2-import/VPC", - "constructInfo": { - "fqn": "@aws-cdk/core.Resource", - "version": "0.0.0" - } - }, - "SecurityGroup": { - "id": "SecurityGroup", - "path": "aws-cdk-ec2-import/SecurityGroup", - "children": { - "Resource": { - "id": "Resource", - "path": "aws-cdk-ec2-import/SecurityGroup/Resource", - "attributes": { - "aws:cdk:cloudformation:type": "AWS::EC2::SecurityGroup", - "aws:cdk:cloudformation:props": { - "groupDescription": "aws-cdk-ec2-import/SecurityGroup", - "securityGroupEgress": [ - { - "cidrIp": "0.0.0.0/0", - "description": "Allow all outbound traffic by default", - "ipProtocol": "-1" - } - ], - "vpcId": "vpc-6f2d1507" - } - }, - "constructInfo": { - "fqn": "@aws-cdk/aws-ec2.CfnSecurityGroup", - "version": "0.0.0" - } - } - }, - "constructInfo": { - "fqn": "@aws-cdk/aws-ec2.SecurityGroup", - "version": "0.0.0" - } - }, - "PublicSubnets": { - "id": "PublicSubnets", - "path": "aws-cdk-ec2-import/PublicSubnets", - "constructInfo": { - "fqn": "@aws-cdk/core.CfnOutput", - "version": "0.0.0" - } - }, - "PrivateSubnets": { - "id": "PrivateSubnets", - "path": "aws-cdk-ec2-import/PrivateSubnets", - "constructInfo": { - "fqn": "@aws-cdk/core.CfnOutput", - "version": "0.0.0" - } - }, - "PublicRouteTables": { - "id": "PublicRouteTables", - "path": "aws-cdk-ec2-import/PublicRouteTables", - "constructInfo": { - "fqn": "@aws-cdk/core.CfnOutput", - "version": "0.0.0" - } - } - }, - "constructInfo": { - "fqn": "@aws-cdk/core.Stack", - "version": "0.0.0" - } - }, - "import-default-vpc": { - "id": "import-default-vpc", - "path": "import-default-vpc", - "children": { - "DefaultTest": { - "id": "DefaultTest", - "path": "import-default-vpc/DefaultTest", - "children": { - "Default": { - "id": "Default", - "path": "import-default-vpc/DefaultTest/Default", - "constructInfo": { - "fqn": "constructs.Construct", - "version": "10.1.78" - } - }, - "DeployAssert": { - "id": "DeployAssert", - "path": "import-default-vpc/DefaultTest/DeployAssert", - "constructInfo": { - "fqn": "@aws-cdk/core.Stack", - "version": "0.0.0" - } - } - }, - "constructInfo": { - "fqn": "@aws-cdk/integ-tests.IntegTestCase", - "version": "0.0.0" - } - } - }, - "constructInfo": { - "fqn": "@aws-cdk/integ-tests.IntegTest", - "version": "0.0.0" - } - } - }, - "constructInfo": { - "fqn": "@aws-cdk/core.App", - "version": "0.0.0" - } - } -} \ No newline at end of file diff --git a/packages/aws-cdk-lib/aws-ec2/test/nat-instances.integ.snapshot/aws-cdk-vpc-nat-instances.template.json b/packages/aws-cdk-lib/aws-ec2/test/nat-instances.integ.snapshot/aws-cdk-vpc-nat-instances.template.json deleted file mode 100644 index d3f72a66dca7f..0000000000000 --- a/packages/aws-cdk-lib/aws-ec2/test/nat-instances.integ.snapshot/aws-cdk-vpc-nat-instances.template.json +++ /dev/null @@ -1,564 +0,0 @@ -{ - "Resources": { - "MyVpcF9F0CA6F": { - "Type": "AWS::EC2::VPC", - "Properties": { - "CidrBlock": "10.0.0.0/16", - "EnableDnsHostnames": true, - "EnableDnsSupport": true, - "InstanceTenancy": "default", - "Tags": [ - { - "Key": "Name", - "Value": "aws-cdk-vpc-nat-instances/MyVpc" - } - ] - } - }, - "MyVpcPublicSubnet1SubnetF6608456": { - "Type": "AWS::EC2::Subnet", - "Properties": { - "VpcId": { - "Ref": "MyVpcF9F0CA6F" - }, - "AvailabilityZone": "us-west-2a", - "CidrBlock": "10.0.0.0/19", - "MapPublicIpOnLaunch": true, - "Tags": [ - { - "Key": "aws-cdk:subnet-name", - "Value": "Public" - }, - { - "Key": "aws-cdk:subnet-type", - "Value": "Public" - }, - { - "Key": "Name", - "Value": "aws-cdk-vpc-nat-instances/MyVpc/PublicSubnet1" - } - ] - } - }, - "MyVpcPublicSubnet1RouteTableC46AB2F4": { - "Type": "AWS::EC2::RouteTable", - "Properties": { - "VpcId": { - "Ref": "MyVpcF9F0CA6F" - }, - "Tags": [ - { - "Key": "Name", - "Value": "aws-cdk-vpc-nat-instances/MyVpc/PublicSubnet1" - } - ] - } - }, - "MyVpcPublicSubnet1RouteTableAssociation2ECEE1CB": { - "Type": "AWS::EC2::SubnetRouteTableAssociation", - "Properties": { - "RouteTableId": { - "Ref": "MyVpcPublicSubnet1RouteTableC46AB2F4" - }, - "SubnetId": { - "Ref": "MyVpcPublicSubnet1SubnetF6608456" - } - } - }, - "MyVpcPublicSubnet1DefaultRoute95FDF9EB": { - "Type": "AWS::EC2::Route", - "Properties": { - "RouteTableId": { - "Ref": "MyVpcPublicSubnet1RouteTableC46AB2F4" - }, - "DestinationCidrBlock": "0.0.0.0/0", - "GatewayId": { - "Ref": "MyVpcIGW5C4A4F63" - } - }, - "DependsOn": [ - "MyVpcVPCGW488ACE0D" - ] - }, - "MyVpcPublicSubnet1NatInstanceInstanceProfile2FD934CB": { - "Type": "AWS::IAM::InstanceProfile", - "Properties": { - "Roles": [ - { - "Ref": "MyVpcNatRoleF1616EE9" - } - ] - } - }, - "MyVpcPublicSubnet1NatInstance8E94E5F7": { - "Type": "AWS::EC2::Instance", - "Properties": { - "AvailabilityZone": "us-west-2a", - "IamInstanceProfile": { - "Ref": "MyVpcPublicSubnet1NatInstanceInstanceProfile2FD934CB" - }, - "ImageId": "ami-0bc50b53fc59f31e0", - "InstanceType": "t3.small", - "SecurityGroupIds": [ - { - "Fn::GetAtt": [ - "MyVpcNatSecurityGroupAA76397E", - "GroupId" - ] - } - ], - "SourceDestCheck": false, - "SubnetId": { - "Ref": "MyVpcPublicSubnet1SubnetF6608456" - }, - "Tags": [ - { - "Key": "Name", - "Value": "aws-cdk-vpc-nat-instances/MyVpc/PublicSubnet1/NatInstance" - } - ], - "UserData": { - "Fn::Base64": "#!/bin/bash" - } - }, - "DependsOn": [ - "MyVpcNatRoleF1616EE9" - ] - }, - "MyVpcPublicSubnet2Subnet492B6BFB": { - "Type": "AWS::EC2::Subnet", - "Properties": { - "VpcId": { - "Ref": "MyVpcF9F0CA6F" - }, - "AvailabilityZone": "us-west-2b", - "CidrBlock": "10.0.32.0/19", - "MapPublicIpOnLaunch": true, - "Tags": [ - { - "Key": "aws-cdk:subnet-name", - "Value": "Public" - }, - { - "Key": "aws-cdk:subnet-type", - "Value": "Public" - }, - { - "Key": "Name", - "Value": "aws-cdk-vpc-nat-instances/MyVpc/PublicSubnet2" - } - ] - } - }, - "MyVpcPublicSubnet2RouteTable1DF17386": { - "Type": "AWS::EC2::RouteTable", - "Properties": { - "VpcId": { - "Ref": "MyVpcF9F0CA6F" - }, - "Tags": [ - { - "Key": "Name", - "Value": "aws-cdk-vpc-nat-instances/MyVpc/PublicSubnet2" - } - ] - } - }, - "MyVpcPublicSubnet2RouteTableAssociation227DE78D": { - "Type": "AWS::EC2::SubnetRouteTableAssociation", - "Properties": { - "RouteTableId": { - "Ref": "MyVpcPublicSubnet2RouteTable1DF17386" - }, - "SubnetId": { - "Ref": "MyVpcPublicSubnet2Subnet492B6BFB" - } - } - }, - "MyVpcPublicSubnet2DefaultRoute052936F6": { - "Type": "AWS::EC2::Route", - "Properties": { - "RouteTableId": { - "Ref": "MyVpcPublicSubnet2RouteTable1DF17386" - }, - "DestinationCidrBlock": "0.0.0.0/0", - "GatewayId": { - "Ref": "MyVpcIGW5C4A4F63" - } - }, - "DependsOn": [ - "MyVpcVPCGW488ACE0D" - ] - }, - "MyVpcPublicSubnet2NatInstanceInstanceProfile5AB09EF6": { - "Type": "AWS::IAM::InstanceProfile", - "Properties": { - "Roles": [ - { - "Ref": "MyVpcNatRoleF1616EE9" - } - ] - } - }, - "MyVpcPublicSubnet2NatInstance04BCE4E3": { - "Type": "AWS::EC2::Instance", - "Properties": { - "AvailabilityZone": "us-west-2b", - "IamInstanceProfile": { - "Ref": "MyVpcPublicSubnet2NatInstanceInstanceProfile5AB09EF6" - }, - "ImageId": "ami-0bc50b53fc59f31e0", - "InstanceType": "t3.small", - "SecurityGroupIds": [ - { - "Fn::GetAtt": [ - "MyVpcNatSecurityGroupAA76397E", - "GroupId" - ] - } - ], - "SourceDestCheck": false, - "SubnetId": { - "Ref": "MyVpcPublicSubnet2Subnet492B6BFB" - }, - "Tags": [ - { - "Key": "Name", - "Value": "aws-cdk-vpc-nat-instances/MyVpc/PublicSubnet2/NatInstance" - } - ], - "UserData": { - "Fn::Base64": "#!/bin/bash" - } - }, - "DependsOn": [ - "MyVpcNatRoleF1616EE9" - ] - }, - "MyVpcPublicSubnet3Subnet57EEE236": { - "Type": "AWS::EC2::Subnet", - "Properties": { - "VpcId": { - "Ref": "MyVpcF9F0CA6F" - }, - "AvailabilityZone": "us-west-2c", - "CidrBlock": "10.0.64.0/19", - "MapPublicIpOnLaunch": true, - "Tags": [ - { - "Key": "aws-cdk:subnet-name", - "Value": "Public" - }, - { - "Key": "aws-cdk:subnet-type", - "Value": "Public" - }, - { - "Key": "Name", - "Value": "aws-cdk-vpc-nat-instances/MyVpc/PublicSubnet3" - } - ] - } - }, - "MyVpcPublicSubnet3RouteTable15028F08": { - "Type": "AWS::EC2::RouteTable", - "Properties": { - "VpcId": { - "Ref": "MyVpcF9F0CA6F" - }, - "Tags": [ - { - "Key": "Name", - "Value": "aws-cdk-vpc-nat-instances/MyVpc/PublicSubnet3" - } - ] - } - }, - "MyVpcPublicSubnet3RouteTableAssociation5C27DDA4": { - "Type": "AWS::EC2::SubnetRouteTableAssociation", - "Properties": { - "RouteTableId": { - "Ref": "MyVpcPublicSubnet3RouteTable15028F08" - }, - "SubnetId": { - "Ref": "MyVpcPublicSubnet3Subnet57EEE236" - } - } - }, - "MyVpcPublicSubnet3DefaultRoute3A83AB36": { - "Type": "AWS::EC2::Route", - "Properties": { - "RouteTableId": { - "Ref": "MyVpcPublicSubnet3RouteTable15028F08" - }, - "DestinationCidrBlock": "0.0.0.0/0", - "GatewayId": { - "Ref": "MyVpcIGW5C4A4F63" - } - }, - "DependsOn": [ - "MyVpcVPCGW488ACE0D" - ] - }, - "MyVpcPrivateSubnet1Subnet5057CF7E": { - "Type": "AWS::EC2::Subnet", - "Properties": { - "VpcId": { - "Ref": "MyVpcF9F0CA6F" - }, - "AvailabilityZone": "us-west-2a", - "CidrBlock": "10.0.96.0/19", - "MapPublicIpOnLaunch": false, - "Tags": [ - { - "Key": "aws-cdk:subnet-name", - "Value": "Private" - }, - { - "Key": "aws-cdk:subnet-type", - "Value": "Private" - }, - { - "Key": "Name", - "Value": "aws-cdk-vpc-nat-instances/MyVpc/PrivateSubnet1" - } - ] - } - }, - "MyVpcPrivateSubnet1RouteTable8819E6E2": { - "Type": "AWS::EC2::RouteTable", - "Properties": { - "VpcId": { - "Ref": "MyVpcF9F0CA6F" - }, - "Tags": [ - { - "Key": "Name", - "Value": "aws-cdk-vpc-nat-instances/MyVpc/PrivateSubnet1" - } - ] - } - }, - "MyVpcPrivateSubnet1RouteTableAssociation56D38C7E": { - "Type": "AWS::EC2::SubnetRouteTableAssociation", - "Properties": { - "RouteTableId": { - "Ref": "MyVpcPrivateSubnet1RouteTable8819E6E2" - }, - "SubnetId": { - "Ref": "MyVpcPrivateSubnet1Subnet5057CF7E" - } - } - }, - "MyVpcPrivateSubnet1DefaultRouteA8CDE2FA": { - "Type": "AWS::EC2::Route", - "Properties": { - "RouteTableId": { - "Ref": "MyVpcPrivateSubnet1RouteTable8819E6E2" - }, - "DestinationCidrBlock": "0.0.0.0/0", - "InstanceId": { - "Ref": "MyVpcPublicSubnet1NatInstance8E94E5F7" - } - } - }, - "MyVpcPrivateSubnet2Subnet0040C983": { - "Type": "AWS::EC2::Subnet", - "Properties": { - "VpcId": { - "Ref": "MyVpcF9F0CA6F" - }, - "AvailabilityZone": "us-west-2b", - "CidrBlock": "10.0.128.0/19", - "MapPublicIpOnLaunch": false, - "Tags": [ - { - "Key": "aws-cdk:subnet-name", - "Value": "Private" - }, - { - "Key": "aws-cdk:subnet-type", - "Value": "Private" - }, - { - "Key": "Name", - "Value": "aws-cdk-vpc-nat-instances/MyVpc/PrivateSubnet2" - } - ] - } - }, - "MyVpcPrivateSubnet2RouteTableCEDCEECE": { - "Type": "AWS::EC2::RouteTable", - "Properties": { - "VpcId": { - "Ref": "MyVpcF9F0CA6F" - }, - "Tags": [ - { - "Key": "Name", - "Value": "aws-cdk-vpc-nat-instances/MyVpc/PrivateSubnet2" - } - ] - } - }, - "MyVpcPrivateSubnet2RouteTableAssociation86A610DA": { - "Type": "AWS::EC2::SubnetRouteTableAssociation", - "Properties": { - "RouteTableId": { - "Ref": "MyVpcPrivateSubnet2RouteTableCEDCEECE" - }, - "SubnetId": { - "Ref": "MyVpcPrivateSubnet2Subnet0040C983" - } - } - }, - "MyVpcPrivateSubnet2DefaultRoute9CE96294": { - "Type": "AWS::EC2::Route", - "Properties": { - "RouteTableId": { - "Ref": "MyVpcPrivateSubnet2RouteTableCEDCEECE" - }, - "DestinationCidrBlock": "0.0.0.0/0", - "InstanceId": { - "Ref": "MyVpcPublicSubnet2NatInstance04BCE4E3" - } - } - }, - "MyVpcPrivateSubnet3Subnet772D6AD7": { - "Type": "AWS::EC2::Subnet", - "Properties": { - "VpcId": { - "Ref": "MyVpcF9F0CA6F" - }, - "AvailabilityZone": "us-west-2c", - "CidrBlock": "10.0.160.0/19", - "MapPublicIpOnLaunch": false, - "Tags": [ - { - "Key": "aws-cdk:subnet-name", - "Value": "Private" - }, - { - "Key": "aws-cdk:subnet-type", - "Value": "Private" - }, - { - "Key": "Name", - "Value": "aws-cdk-vpc-nat-instances/MyVpc/PrivateSubnet3" - } - ] - } - }, - "MyVpcPrivateSubnet3RouteTableB790927C": { - "Type": "AWS::EC2::RouteTable", - "Properties": { - "VpcId": { - "Ref": "MyVpcF9F0CA6F" - }, - "Tags": [ - { - "Key": "Name", - "Value": "aws-cdk-vpc-nat-instances/MyVpc/PrivateSubnet3" - } - ] - } - }, - "MyVpcPrivateSubnet3RouteTableAssociationD951741C": { - "Type": "AWS::EC2::SubnetRouteTableAssociation", - "Properties": { - "RouteTableId": { - "Ref": "MyVpcPrivateSubnet3RouteTableB790927C" - }, - "SubnetId": { - "Ref": "MyVpcPrivateSubnet3Subnet772D6AD7" - } - } - }, - "MyVpcPrivateSubnet3DefaultRouteEC11C0C5": { - "Type": "AWS::EC2::Route", - "Properties": { - "RouteTableId": { - "Ref": "MyVpcPrivateSubnet3RouteTableB790927C" - }, - "DestinationCidrBlock": "0.0.0.0/0", - "InstanceId": { - "Ref": "MyVpcPublicSubnet1NatInstance8E94E5F7" - } - } - }, - "MyVpcIGW5C4A4F63": { - "Type": "AWS::EC2::InternetGateway", - "Properties": { - "Tags": [ - { - "Key": "Name", - "Value": "aws-cdk-vpc-nat-instances/MyVpc" - } - ] - } - }, - "MyVpcVPCGW488ACE0D": { - "Type": "AWS::EC2::VPCGatewayAttachment", - "Properties": { - "VpcId": { - "Ref": "MyVpcF9F0CA6F" - }, - "InternetGatewayId": { - "Ref": "MyVpcIGW5C4A4F63" - } - } - }, - "MyVpcNatSecurityGroupAA76397E": { - "Type": "AWS::EC2::SecurityGroup", - "Properties": { - "GroupDescription": "Security Group for NAT instances", - "SecurityGroupEgress": [ - { - "CidrIp": "0.0.0.0/0", - "Description": "Allow all outbound traffic by default", - "IpProtocol": "-1" - } - ], - "SecurityGroupIngress": [ - { - "CidrIp": "0.0.0.0/0", - "Description": "from 0.0.0.0/0:ALL TRAFFIC", - "IpProtocol": "-1" - } - ], - "Tags": [ - { - "Key": "Name", - "Value": "aws-cdk-vpc-nat-instances/MyVpc" - } - ], - "VpcId": { - "Ref": "MyVpcF9F0CA6F" - } - } - }, - "MyVpcNatRoleF1616EE9": { - "Type": "AWS::IAM::Role", - "Properties": { - "AssumeRolePolicyDocument": { - "Statement": [ - { - "Action": "sts:AssumeRole", - "Effect": "Allow", - "Principal": { - "Service": "ec2.amazonaws.com" - } - } - ], - "Version": "2012-10-17" - }, - "Tags": [ - { - "Key": "Name", - "Value": "aws-cdk-vpc-nat-instances/MyVpc" - } - ] - } - } - } -} \ No newline at end of file diff --git a/packages/aws-cdk-lib/aws-ec2/test/nat-instances.integ.snapshot/cdk.out b/packages/aws-cdk-lib/aws-ec2/test/nat-instances.integ.snapshot/cdk.out deleted file mode 100644 index 588d7b269d34f..0000000000000 --- a/packages/aws-cdk-lib/aws-ec2/test/nat-instances.integ.snapshot/cdk.out +++ /dev/null @@ -1 +0,0 @@ -{"version":"20.0.0"} \ No newline at end of file diff --git a/packages/aws-cdk-lib/aws-ec2/test/nat-instances.integ.snapshot/integ.json b/packages/aws-cdk-lib/aws-ec2/test/nat-instances.integ.snapshot/integ.json deleted file mode 100644 index 40b311d903d69..0000000000000 --- a/packages/aws-cdk-lib/aws-ec2/test/nat-instances.integ.snapshot/integ.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "version": "20.0.0", - "testCases": { - "vpc-nat-instances/DefaultTest": { - "stacks": [ - "aws-cdk-vpc-nat-instances" - ], - "assertionStack": "vpc-nat-instances/DefaultTest/DeployAssert" - } - } -} \ No newline at end of file diff --git a/packages/aws-cdk-lib/aws-ec2/test/nat-instances.integ.snapshot/manifest.json b/packages/aws-cdk-lib/aws-ec2/test/nat-instances.integ.snapshot/manifest.json deleted file mode 100644 index 89b70058cf938..0000000000000 --- a/packages/aws-cdk-lib/aws-ec2/test/nat-instances.integ.snapshot/manifest.json +++ /dev/null @@ -1,229 +0,0 @@ -{ - "version": "20.0.0", - "artifacts": { - "Tree": { - "type": "cdk:tree", - "properties": { - "file": "tree.json" - } - }, - "aws-cdk-vpc-nat-instances": { - "type": "aws:cloudformation:stack", - "environment": "aws://778906199533/us-west-2", - "properties": { - "templateFile": "aws-cdk-vpc-nat-instances.template.json", - "validateOnSynth": false - }, - "metadata": { - "/aws-cdk-vpc-nat-instances/MyVpc/Resource": [ - { - "type": "aws:cdk:logicalId", - "data": "MyVpcF9F0CA6F" - } - ], - "/aws-cdk-vpc-nat-instances/MyVpc/PublicSubnet1/Subnet": [ - { - "type": "aws:cdk:logicalId", - "data": "MyVpcPublicSubnet1SubnetF6608456" - } - ], - "/aws-cdk-vpc-nat-instances/MyVpc/PublicSubnet1/RouteTable": [ - { - "type": "aws:cdk:logicalId", - "data": "MyVpcPublicSubnet1RouteTableC46AB2F4" - } - ], - "/aws-cdk-vpc-nat-instances/MyVpc/PublicSubnet1/RouteTableAssociation": [ - { - "type": "aws:cdk:logicalId", - "data": "MyVpcPublicSubnet1RouteTableAssociation2ECEE1CB" - } - ], - "/aws-cdk-vpc-nat-instances/MyVpc/PublicSubnet1/DefaultRoute": [ - { - "type": "aws:cdk:logicalId", - "data": "MyVpcPublicSubnet1DefaultRoute95FDF9EB" - } - ], - "/aws-cdk-vpc-nat-instances/MyVpc/PublicSubnet1/NatInstance/InstanceProfile": [ - { - "type": "aws:cdk:logicalId", - "data": "MyVpcPublicSubnet1NatInstanceInstanceProfile2FD934CB" - } - ], - "/aws-cdk-vpc-nat-instances/MyVpc/PublicSubnet1/NatInstance/Resource": [ - { - "type": "aws:cdk:logicalId", - "data": "MyVpcPublicSubnet1NatInstance8E94E5F7" - } - ], - "/aws-cdk-vpc-nat-instances/MyVpc/PublicSubnet2/Subnet": [ - { - "type": "aws:cdk:logicalId", - "data": "MyVpcPublicSubnet2Subnet492B6BFB" - } - ], - "/aws-cdk-vpc-nat-instances/MyVpc/PublicSubnet2/RouteTable": [ - { - "type": "aws:cdk:logicalId", - "data": "MyVpcPublicSubnet2RouteTable1DF17386" - } - ], - "/aws-cdk-vpc-nat-instances/MyVpc/PublicSubnet2/RouteTableAssociation": [ - { - "type": "aws:cdk:logicalId", - "data": "MyVpcPublicSubnet2RouteTableAssociation227DE78D" - } - ], - "/aws-cdk-vpc-nat-instances/MyVpc/PublicSubnet2/DefaultRoute": [ - { - "type": "aws:cdk:logicalId", - "data": "MyVpcPublicSubnet2DefaultRoute052936F6" - } - ], - "/aws-cdk-vpc-nat-instances/MyVpc/PublicSubnet2/NatInstance/InstanceProfile": [ - { - "type": "aws:cdk:logicalId", - "data": "MyVpcPublicSubnet2NatInstanceInstanceProfile5AB09EF6" - } - ], - "/aws-cdk-vpc-nat-instances/MyVpc/PublicSubnet2/NatInstance/Resource": [ - { - "type": "aws:cdk:logicalId", - "data": "MyVpcPublicSubnet2NatInstance04BCE4E3" - } - ], - "/aws-cdk-vpc-nat-instances/MyVpc/PublicSubnet3/Subnet": [ - { - "type": "aws:cdk:logicalId", - "data": "MyVpcPublicSubnet3Subnet57EEE236" - } - ], - "/aws-cdk-vpc-nat-instances/MyVpc/PublicSubnet3/RouteTable": [ - { - "type": "aws:cdk:logicalId", - "data": "MyVpcPublicSubnet3RouteTable15028F08" - } - ], - "/aws-cdk-vpc-nat-instances/MyVpc/PublicSubnet3/RouteTableAssociation": [ - { - "type": "aws:cdk:logicalId", - "data": "MyVpcPublicSubnet3RouteTableAssociation5C27DDA4" - } - ], - "/aws-cdk-vpc-nat-instances/MyVpc/PublicSubnet3/DefaultRoute": [ - { - "type": "aws:cdk:logicalId", - "data": "MyVpcPublicSubnet3DefaultRoute3A83AB36" - } - ], - "/aws-cdk-vpc-nat-instances/MyVpc/PrivateSubnet1/Subnet": [ - { - "type": "aws:cdk:logicalId", - "data": "MyVpcPrivateSubnet1Subnet5057CF7E" - } - ], - "/aws-cdk-vpc-nat-instances/MyVpc/PrivateSubnet1/RouteTable": [ - { - "type": "aws:cdk:logicalId", - "data": "MyVpcPrivateSubnet1RouteTable8819E6E2" - } - ], - "/aws-cdk-vpc-nat-instances/MyVpc/PrivateSubnet1/RouteTableAssociation": [ - { - "type": "aws:cdk:logicalId", - "data": "MyVpcPrivateSubnet1RouteTableAssociation56D38C7E" - } - ], - "/aws-cdk-vpc-nat-instances/MyVpc/PrivateSubnet1/DefaultRoute": [ - { - "type": "aws:cdk:logicalId", - "data": "MyVpcPrivateSubnet1DefaultRouteA8CDE2FA" - } - ], - "/aws-cdk-vpc-nat-instances/MyVpc/PrivateSubnet2/Subnet": [ - { - "type": "aws:cdk:logicalId", - "data": "MyVpcPrivateSubnet2Subnet0040C983" - } - ], - "/aws-cdk-vpc-nat-instances/MyVpc/PrivateSubnet2/RouteTable": [ - { - "type": "aws:cdk:logicalId", - "data": "MyVpcPrivateSubnet2RouteTableCEDCEECE" - } - ], - "/aws-cdk-vpc-nat-instances/MyVpc/PrivateSubnet2/RouteTableAssociation": [ - { - "type": "aws:cdk:logicalId", - "data": "MyVpcPrivateSubnet2RouteTableAssociation86A610DA" - } - ], - "/aws-cdk-vpc-nat-instances/MyVpc/PrivateSubnet2/DefaultRoute": [ - { - "type": "aws:cdk:logicalId", - "data": "MyVpcPrivateSubnet2DefaultRoute9CE96294" - } - ], - "/aws-cdk-vpc-nat-instances/MyVpc/PrivateSubnet3/Subnet": [ - { - "type": "aws:cdk:logicalId", - "data": "MyVpcPrivateSubnet3Subnet772D6AD7" - } - ], - "/aws-cdk-vpc-nat-instances/MyVpc/PrivateSubnet3/RouteTable": [ - { - "type": "aws:cdk:logicalId", - "data": "MyVpcPrivateSubnet3RouteTableB790927C" - } - ], - "/aws-cdk-vpc-nat-instances/MyVpc/PrivateSubnet3/RouteTableAssociation": [ - { - "type": "aws:cdk:logicalId", - "data": "MyVpcPrivateSubnet3RouteTableAssociationD951741C" - } - ], - "/aws-cdk-vpc-nat-instances/MyVpc/PrivateSubnet3/DefaultRoute": [ - { - "type": "aws:cdk:logicalId", - "data": "MyVpcPrivateSubnet3DefaultRouteEC11C0C5" - } - ], - "/aws-cdk-vpc-nat-instances/MyVpc/IGW": [ - { - "type": "aws:cdk:logicalId", - "data": "MyVpcIGW5C4A4F63" - } - ], - "/aws-cdk-vpc-nat-instances/MyVpc/VPCGW": [ - { - "type": "aws:cdk:logicalId", - "data": "MyVpcVPCGW488ACE0D" - } - ], - "/aws-cdk-vpc-nat-instances/MyVpc/NatSecurityGroup/Resource": [ - { - "type": "aws:cdk:logicalId", - "data": "MyVpcNatSecurityGroupAA76397E" - } - ], - "/aws-cdk-vpc-nat-instances/MyVpc/NatRole/Resource": [ - { - "type": "aws:cdk:logicalId", - "data": "MyVpcNatRoleF1616EE9" - } - ] - }, - "displayName": "aws-cdk-vpc-nat-instances" - }, - "vpcnatinstancesDefaultTestDeployAssert519D693A": { - "type": "aws:cloudformation:stack", - "environment": "aws://unknown-account/unknown-region", - "properties": { - "templateFile": "vpcnatinstancesDefaultTestDeployAssert519D693A.template.json", - "validateOnSynth": false - }, - "displayName": "vpc-nat-instances/DefaultTest/DeployAssert" - } - } -} \ No newline at end of file diff --git a/packages/aws-cdk-lib/aws-ec2/test/nat-instances.integ.snapshot/tree.json b/packages/aws-cdk-lib/aws-ec2/test/nat-instances.integ.snapshot/tree.json deleted file mode 100644 index 72e31ec396dae..0000000000000 --- a/packages/aws-cdk-lib/aws-ec2/test/nat-instances.integ.snapshot/tree.json +++ /dev/null @@ -1,1034 +0,0 @@ -{ - "version": "tree-0.1", - "tree": { - "id": "App", - "path": "", - "children": { - "Tree": { - "id": "Tree", - "path": "Tree", - "constructInfo": { - "fqn": "constructs.Construct", - "version": "10.1.78" - } - }, - "aws-cdk-vpc-nat-instances": { - "id": "aws-cdk-vpc-nat-instances", - "path": "aws-cdk-vpc-nat-instances", - "children": { - "MyVpc": { - "id": "MyVpc", - "path": "aws-cdk-vpc-nat-instances/MyVpc", - "children": { - "Resource": { - "id": "Resource", - "path": "aws-cdk-vpc-nat-instances/MyVpc/Resource", - "attributes": { - "aws:cdk:cloudformation:type": "AWS::EC2::VPC", - "aws:cdk:cloudformation:props": { - "cidrBlock": "10.0.0.0/16", - "enableDnsHostnames": true, - "enableDnsSupport": true, - "instanceTenancy": "default", - "tags": [ - { - "key": "Name", - "value": "aws-cdk-vpc-nat-instances/MyVpc" - } - ] - } - }, - "constructInfo": { - "fqn": "@aws-cdk/aws-ec2.CfnVPC", - "version": "0.0.0" - } - }, - "PublicSubnet1": { - "id": "PublicSubnet1", - "path": "aws-cdk-vpc-nat-instances/MyVpc/PublicSubnet1", - "children": { - "Subnet": { - "id": "Subnet", - "path": "aws-cdk-vpc-nat-instances/MyVpc/PublicSubnet1/Subnet", - "attributes": { - "aws:cdk:cloudformation:type": "AWS::EC2::Subnet", - "aws:cdk:cloudformation:props": { - "vpcId": { - "Ref": "MyVpcF9F0CA6F" - }, - "availabilityZone": "us-west-2a", - "cidrBlock": "10.0.0.0/19", - "mapPublicIpOnLaunch": true, - "tags": [ - { - "key": "aws-cdk:subnet-name", - "value": "Public" - }, - { - "key": "aws-cdk:subnet-type", - "value": "Public" - }, - { - "key": "Name", - "value": "aws-cdk-vpc-nat-instances/MyVpc/PublicSubnet1" - } - ] - } - }, - "constructInfo": { - "fqn": "@aws-cdk/aws-ec2.CfnSubnet", - "version": "0.0.0" - } - }, - "Acl": { - "id": "Acl", - "path": "aws-cdk-vpc-nat-instances/MyVpc/PublicSubnet1/Acl", - "constructInfo": { - "fqn": "@aws-cdk/core.Resource", - "version": "0.0.0" - } - }, - "RouteTable": { - "id": "RouteTable", - "path": "aws-cdk-vpc-nat-instances/MyVpc/PublicSubnet1/RouteTable", - "attributes": { - "aws:cdk:cloudformation:type": "AWS::EC2::RouteTable", - "aws:cdk:cloudformation:props": { - "vpcId": { - "Ref": "MyVpcF9F0CA6F" - }, - "tags": [ - { - "key": "Name", - "value": "aws-cdk-vpc-nat-instances/MyVpc/PublicSubnet1" - } - ] - } - }, - "constructInfo": { - "fqn": "@aws-cdk/aws-ec2.CfnRouteTable", - "version": "0.0.0" - } - }, - "RouteTableAssociation": { - "id": "RouteTableAssociation", - "path": "aws-cdk-vpc-nat-instances/MyVpc/PublicSubnet1/RouteTableAssociation", - "attributes": { - "aws:cdk:cloudformation:type": "AWS::EC2::SubnetRouteTableAssociation", - "aws:cdk:cloudformation:props": { - "routeTableId": { - "Ref": "MyVpcPublicSubnet1RouteTableC46AB2F4" - }, - "subnetId": { - "Ref": "MyVpcPublicSubnet1SubnetF6608456" - } - } - }, - "constructInfo": { - "fqn": "@aws-cdk/aws-ec2.CfnSubnetRouteTableAssociation", - "version": "0.0.0" - } - }, - "DefaultRoute": { - "id": "DefaultRoute", - "path": "aws-cdk-vpc-nat-instances/MyVpc/PublicSubnet1/DefaultRoute", - "attributes": { - "aws:cdk:cloudformation:type": "AWS::EC2::Route", - "aws:cdk:cloudformation:props": { - "routeTableId": { - "Ref": "MyVpcPublicSubnet1RouteTableC46AB2F4" - }, - "destinationCidrBlock": "0.0.0.0/0", - "gatewayId": { - "Ref": "MyVpcIGW5C4A4F63" - } - } - }, - "constructInfo": { - "fqn": "@aws-cdk/aws-ec2.CfnRoute", - "version": "0.0.0" - } - }, - "NatInstance": { - "id": "NatInstance", - "path": "aws-cdk-vpc-nat-instances/MyVpc/PublicSubnet1/NatInstance", - "children": { - "InstanceProfile": { - "id": "InstanceProfile", - "path": "aws-cdk-vpc-nat-instances/MyVpc/PublicSubnet1/NatInstance/InstanceProfile", - "attributes": { - "aws:cdk:cloudformation:type": "AWS::IAM::InstanceProfile", - "aws:cdk:cloudformation:props": { - "roles": [ - { - "Ref": "MyVpcNatRoleF1616EE9" - } - ] - } - }, - "constructInfo": { - "fqn": "@aws-cdk/aws-iam.CfnInstanceProfile", - "version": "0.0.0" - } - }, - "Resource": { - "id": "Resource", - "path": "aws-cdk-vpc-nat-instances/MyVpc/PublicSubnet1/NatInstance/Resource", - "attributes": { - "aws:cdk:cloudformation:type": "AWS::EC2::Instance", - "aws:cdk:cloudformation:props": { - "availabilityZone": "us-west-2a", - "iamInstanceProfile": { - "Ref": "MyVpcPublicSubnet1NatInstanceInstanceProfile2FD934CB" - }, - "imageId": "ami-0bc50b53fc59f31e0", - "instanceType": "t3.small", - "securityGroupIds": [ - { - "Fn::GetAtt": [ - "MyVpcNatSecurityGroupAA76397E", - "GroupId" - ] - } - ], - "sourceDestCheck": false, - "subnetId": { - "Ref": "MyVpcPublicSubnet1SubnetF6608456" - }, - "tags": [ - { - "key": "Name", - "value": "aws-cdk-vpc-nat-instances/MyVpc/PublicSubnet1/NatInstance" - } - ], - "userData": { - "Fn::Base64": "#!/bin/bash" - } - } - }, - "constructInfo": { - "fqn": "@aws-cdk/aws-ec2.CfnInstance", - "version": "0.0.0" - } - } - }, - "constructInfo": { - "fqn": "@aws-cdk/aws-ec2.Instance", - "version": "0.0.0" - } - } - }, - "constructInfo": { - "fqn": "@aws-cdk/aws-ec2.PublicSubnet", - "version": "0.0.0" - } - }, - "PublicSubnet2": { - "id": "PublicSubnet2", - "path": "aws-cdk-vpc-nat-instances/MyVpc/PublicSubnet2", - "children": { - "Subnet": { - "id": "Subnet", - "path": "aws-cdk-vpc-nat-instances/MyVpc/PublicSubnet2/Subnet", - "attributes": { - "aws:cdk:cloudformation:type": "AWS::EC2::Subnet", - "aws:cdk:cloudformation:props": { - "vpcId": { - "Ref": "MyVpcF9F0CA6F" - }, - "availabilityZone": "us-west-2b", - "cidrBlock": "10.0.32.0/19", - "mapPublicIpOnLaunch": true, - "tags": [ - { - "key": "aws-cdk:subnet-name", - "value": "Public" - }, - { - "key": "aws-cdk:subnet-type", - "value": "Public" - }, - { - "key": "Name", - "value": "aws-cdk-vpc-nat-instances/MyVpc/PublicSubnet2" - } - ] - } - }, - "constructInfo": { - "fqn": "@aws-cdk/aws-ec2.CfnSubnet", - "version": "0.0.0" - } - }, - "Acl": { - "id": "Acl", - "path": "aws-cdk-vpc-nat-instances/MyVpc/PublicSubnet2/Acl", - "constructInfo": { - "fqn": "@aws-cdk/core.Resource", - "version": "0.0.0" - } - }, - "RouteTable": { - "id": "RouteTable", - "path": "aws-cdk-vpc-nat-instances/MyVpc/PublicSubnet2/RouteTable", - "attributes": { - "aws:cdk:cloudformation:type": "AWS::EC2::RouteTable", - "aws:cdk:cloudformation:props": { - "vpcId": { - "Ref": "MyVpcF9F0CA6F" - }, - "tags": [ - { - "key": "Name", - "value": "aws-cdk-vpc-nat-instances/MyVpc/PublicSubnet2" - } - ] - } - }, - "constructInfo": { - "fqn": "@aws-cdk/aws-ec2.CfnRouteTable", - "version": "0.0.0" - } - }, - "RouteTableAssociation": { - "id": "RouteTableAssociation", - "path": "aws-cdk-vpc-nat-instances/MyVpc/PublicSubnet2/RouteTableAssociation", - "attributes": { - "aws:cdk:cloudformation:type": "AWS::EC2::SubnetRouteTableAssociation", - "aws:cdk:cloudformation:props": { - "routeTableId": { - "Ref": "MyVpcPublicSubnet2RouteTable1DF17386" - }, - "subnetId": { - "Ref": "MyVpcPublicSubnet2Subnet492B6BFB" - } - } - }, - "constructInfo": { - "fqn": "@aws-cdk/aws-ec2.CfnSubnetRouteTableAssociation", - "version": "0.0.0" - } - }, - "DefaultRoute": { - "id": "DefaultRoute", - "path": "aws-cdk-vpc-nat-instances/MyVpc/PublicSubnet2/DefaultRoute", - "attributes": { - "aws:cdk:cloudformation:type": "AWS::EC2::Route", - "aws:cdk:cloudformation:props": { - "routeTableId": { - "Ref": "MyVpcPublicSubnet2RouteTable1DF17386" - }, - "destinationCidrBlock": "0.0.0.0/0", - "gatewayId": { - "Ref": "MyVpcIGW5C4A4F63" - } - } - }, - "constructInfo": { - "fqn": "@aws-cdk/aws-ec2.CfnRoute", - "version": "0.0.0" - } - }, - "NatInstance": { - "id": "NatInstance", - "path": "aws-cdk-vpc-nat-instances/MyVpc/PublicSubnet2/NatInstance", - "children": { - "InstanceProfile": { - "id": "InstanceProfile", - "path": "aws-cdk-vpc-nat-instances/MyVpc/PublicSubnet2/NatInstance/InstanceProfile", - "attributes": { - "aws:cdk:cloudformation:type": "AWS::IAM::InstanceProfile", - "aws:cdk:cloudformation:props": { - "roles": [ - { - "Ref": "MyVpcNatRoleF1616EE9" - } - ] - } - }, - "constructInfo": { - "fqn": "@aws-cdk/aws-iam.CfnInstanceProfile", - "version": "0.0.0" - } - }, - "Resource": { - "id": "Resource", - "path": "aws-cdk-vpc-nat-instances/MyVpc/PublicSubnet2/NatInstance/Resource", - "attributes": { - "aws:cdk:cloudformation:type": "AWS::EC2::Instance", - "aws:cdk:cloudformation:props": { - "availabilityZone": "us-west-2b", - "iamInstanceProfile": { - "Ref": "MyVpcPublicSubnet2NatInstanceInstanceProfile5AB09EF6" - }, - "imageId": "ami-0bc50b53fc59f31e0", - "instanceType": "t3.small", - "securityGroupIds": [ - { - "Fn::GetAtt": [ - "MyVpcNatSecurityGroupAA76397E", - "GroupId" - ] - } - ], - "sourceDestCheck": false, - "subnetId": { - "Ref": "MyVpcPublicSubnet2Subnet492B6BFB" - }, - "tags": [ - { - "key": "Name", - "value": "aws-cdk-vpc-nat-instances/MyVpc/PublicSubnet2/NatInstance" - } - ], - "userData": { - "Fn::Base64": "#!/bin/bash" - } - } - }, - "constructInfo": { - "fqn": "@aws-cdk/aws-ec2.CfnInstance", - "version": "0.0.0" - } - } - }, - "constructInfo": { - "fqn": "@aws-cdk/aws-ec2.Instance", - "version": "0.0.0" - } - } - }, - "constructInfo": { - "fqn": "@aws-cdk/aws-ec2.PublicSubnet", - "version": "0.0.0" - } - }, - "PublicSubnet3": { - "id": "PublicSubnet3", - "path": "aws-cdk-vpc-nat-instances/MyVpc/PublicSubnet3", - "children": { - "Subnet": { - "id": "Subnet", - "path": "aws-cdk-vpc-nat-instances/MyVpc/PublicSubnet3/Subnet", - "attributes": { - "aws:cdk:cloudformation:type": "AWS::EC2::Subnet", - "aws:cdk:cloudformation:props": { - "vpcId": { - "Ref": "MyVpcF9F0CA6F" - }, - "availabilityZone": "us-west-2c", - "cidrBlock": "10.0.64.0/19", - "mapPublicIpOnLaunch": true, - "tags": [ - { - "key": "aws-cdk:subnet-name", - "value": "Public" - }, - { - "key": "aws-cdk:subnet-type", - "value": "Public" - }, - { - "key": "Name", - "value": "aws-cdk-vpc-nat-instances/MyVpc/PublicSubnet3" - } - ] - } - }, - "constructInfo": { - "fqn": "@aws-cdk/aws-ec2.CfnSubnet", - "version": "0.0.0" - } - }, - "Acl": { - "id": "Acl", - "path": "aws-cdk-vpc-nat-instances/MyVpc/PublicSubnet3/Acl", - "constructInfo": { - "fqn": "@aws-cdk/core.Resource", - "version": "0.0.0" - } - }, - "RouteTable": { - "id": "RouteTable", - "path": "aws-cdk-vpc-nat-instances/MyVpc/PublicSubnet3/RouteTable", - "attributes": { - "aws:cdk:cloudformation:type": "AWS::EC2::RouteTable", - "aws:cdk:cloudformation:props": { - "vpcId": { - "Ref": "MyVpcF9F0CA6F" - }, - "tags": [ - { - "key": "Name", - "value": "aws-cdk-vpc-nat-instances/MyVpc/PublicSubnet3" - } - ] - } - }, - "constructInfo": { - "fqn": "@aws-cdk/aws-ec2.CfnRouteTable", - "version": "0.0.0" - } - }, - "RouteTableAssociation": { - "id": "RouteTableAssociation", - "path": "aws-cdk-vpc-nat-instances/MyVpc/PublicSubnet3/RouteTableAssociation", - "attributes": { - "aws:cdk:cloudformation:type": "AWS::EC2::SubnetRouteTableAssociation", - "aws:cdk:cloudformation:props": { - "routeTableId": { - "Ref": "MyVpcPublicSubnet3RouteTable15028F08" - }, - "subnetId": { - "Ref": "MyVpcPublicSubnet3Subnet57EEE236" - } - } - }, - "constructInfo": { - "fqn": "@aws-cdk/aws-ec2.CfnSubnetRouteTableAssociation", - "version": "0.0.0" - } - }, - "DefaultRoute": { - "id": "DefaultRoute", - "path": "aws-cdk-vpc-nat-instances/MyVpc/PublicSubnet3/DefaultRoute", - "attributes": { - "aws:cdk:cloudformation:type": "AWS::EC2::Route", - "aws:cdk:cloudformation:props": { - "routeTableId": { - "Ref": "MyVpcPublicSubnet3RouteTable15028F08" - }, - "destinationCidrBlock": "0.0.0.0/0", - "gatewayId": { - "Ref": "MyVpcIGW5C4A4F63" - } - } - }, - "constructInfo": { - "fqn": "@aws-cdk/aws-ec2.CfnRoute", - "version": "0.0.0" - } - } - }, - "constructInfo": { - "fqn": "@aws-cdk/aws-ec2.PublicSubnet", - "version": "0.0.0" - } - }, - "PrivateSubnet1": { - "id": "PrivateSubnet1", - "path": "aws-cdk-vpc-nat-instances/MyVpc/PrivateSubnet1", - "children": { - "Subnet": { - "id": "Subnet", - "path": "aws-cdk-vpc-nat-instances/MyVpc/PrivateSubnet1/Subnet", - "attributes": { - "aws:cdk:cloudformation:type": "AWS::EC2::Subnet", - "aws:cdk:cloudformation:props": { - "vpcId": { - "Ref": "MyVpcF9F0CA6F" - }, - "availabilityZone": "us-west-2a", - "cidrBlock": "10.0.96.0/19", - "mapPublicIpOnLaunch": false, - "tags": [ - { - "key": "aws-cdk:subnet-name", - "value": "Private" - }, - { - "key": "aws-cdk:subnet-type", - "value": "Private" - }, - { - "key": "Name", - "value": "aws-cdk-vpc-nat-instances/MyVpc/PrivateSubnet1" - } - ] - } - }, - "constructInfo": { - "fqn": "@aws-cdk/aws-ec2.CfnSubnet", - "version": "0.0.0" - } - }, - "Acl": { - "id": "Acl", - "path": "aws-cdk-vpc-nat-instances/MyVpc/PrivateSubnet1/Acl", - "constructInfo": { - "fqn": "@aws-cdk/core.Resource", - "version": "0.0.0" - } - }, - "RouteTable": { - "id": "RouteTable", - "path": "aws-cdk-vpc-nat-instances/MyVpc/PrivateSubnet1/RouteTable", - "attributes": { - "aws:cdk:cloudformation:type": "AWS::EC2::RouteTable", - "aws:cdk:cloudformation:props": { - "vpcId": { - "Ref": "MyVpcF9F0CA6F" - }, - "tags": [ - { - "key": "Name", - "value": "aws-cdk-vpc-nat-instances/MyVpc/PrivateSubnet1" - } - ] - } - }, - "constructInfo": { - "fqn": "@aws-cdk/aws-ec2.CfnRouteTable", - "version": "0.0.0" - } - }, - "RouteTableAssociation": { - "id": "RouteTableAssociation", - "path": "aws-cdk-vpc-nat-instances/MyVpc/PrivateSubnet1/RouteTableAssociation", - "attributes": { - "aws:cdk:cloudformation:type": "AWS::EC2::SubnetRouteTableAssociation", - "aws:cdk:cloudformation:props": { - "routeTableId": { - "Ref": "MyVpcPrivateSubnet1RouteTable8819E6E2" - }, - "subnetId": { - "Ref": "MyVpcPrivateSubnet1Subnet5057CF7E" - } - } - }, - "constructInfo": { - "fqn": "@aws-cdk/aws-ec2.CfnSubnetRouteTableAssociation", - "version": "0.0.0" - } - }, - "DefaultRoute": { - "id": "DefaultRoute", - "path": "aws-cdk-vpc-nat-instances/MyVpc/PrivateSubnet1/DefaultRoute", - "attributes": { - "aws:cdk:cloudformation:type": "AWS::EC2::Route", - "aws:cdk:cloudformation:props": { - "routeTableId": { - "Ref": "MyVpcPrivateSubnet1RouteTable8819E6E2" - }, - "destinationCidrBlock": "0.0.0.0/0", - "instanceId": { - "Ref": "MyVpcPublicSubnet1NatInstance8E94E5F7" - } - } - }, - "constructInfo": { - "fqn": "@aws-cdk/aws-ec2.CfnRoute", - "version": "0.0.0" - } - } - }, - "constructInfo": { - "fqn": "@aws-cdk/aws-ec2.PrivateSubnet", - "version": "0.0.0" - } - }, - "PrivateSubnet2": { - "id": "PrivateSubnet2", - "path": "aws-cdk-vpc-nat-instances/MyVpc/PrivateSubnet2", - "children": { - "Subnet": { - "id": "Subnet", - "path": "aws-cdk-vpc-nat-instances/MyVpc/PrivateSubnet2/Subnet", - "attributes": { - "aws:cdk:cloudformation:type": "AWS::EC2::Subnet", - "aws:cdk:cloudformation:props": { - "vpcId": { - "Ref": "MyVpcF9F0CA6F" - }, - "availabilityZone": "us-west-2b", - "cidrBlock": "10.0.128.0/19", - "mapPublicIpOnLaunch": false, - "tags": [ - { - "key": "aws-cdk:subnet-name", - "value": "Private" - }, - { - "key": "aws-cdk:subnet-type", - "value": "Private" - }, - { - "key": "Name", - "value": "aws-cdk-vpc-nat-instances/MyVpc/PrivateSubnet2" - } - ] - } - }, - "constructInfo": { - "fqn": "@aws-cdk/aws-ec2.CfnSubnet", - "version": "0.0.0" - } - }, - "Acl": { - "id": "Acl", - "path": "aws-cdk-vpc-nat-instances/MyVpc/PrivateSubnet2/Acl", - "constructInfo": { - "fqn": "@aws-cdk/core.Resource", - "version": "0.0.0" - } - }, - "RouteTable": { - "id": "RouteTable", - "path": "aws-cdk-vpc-nat-instances/MyVpc/PrivateSubnet2/RouteTable", - "attributes": { - "aws:cdk:cloudformation:type": "AWS::EC2::RouteTable", - "aws:cdk:cloudformation:props": { - "vpcId": { - "Ref": "MyVpcF9F0CA6F" - }, - "tags": [ - { - "key": "Name", - "value": "aws-cdk-vpc-nat-instances/MyVpc/PrivateSubnet2" - } - ] - } - }, - "constructInfo": { - "fqn": "@aws-cdk/aws-ec2.CfnRouteTable", - "version": "0.0.0" - } - }, - "RouteTableAssociation": { - "id": "RouteTableAssociation", - "path": "aws-cdk-vpc-nat-instances/MyVpc/PrivateSubnet2/RouteTableAssociation", - "attributes": { - "aws:cdk:cloudformation:type": "AWS::EC2::SubnetRouteTableAssociation", - "aws:cdk:cloudformation:props": { - "routeTableId": { - "Ref": "MyVpcPrivateSubnet2RouteTableCEDCEECE" - }, - "subnetId": { - "Ref": "MyVpcPrivateSubnet2Subnet0040C983" - } - } - }, - "constructInfo": { - "fqn": "@aws-cdk/aws-ec2.CfnSubnetRouteTableAssociation", - "version": "0.0.0" - } - }, - "DefaultRoute": { - "id": "DefaultRoute", - "path": "aws-cdk-vpc-nat-instances/MyVpc/PrivateSubnet2/DefaultRoute", - "attributes": { - "aws:cdk:cloudformation:type": "AWS::EC2::Route", - "aws:cdk:cloudformation:props": { - "routeTableId": { - "Ref": "MyVpcPrivateSubnet2RouteTableCEDCEECE" - }, - "destinationCidrBlock": "0.0.0.0/0", - "instanceId": { - "Ref": "MyVpcPublicSubnet2NatInstance04BCE4E3" - } - } - }, - "constructInfo": { - "fqn": "@aws-cdk/aws-ec2.CfnRoute", - "version": "0.0.0" - } - } - }, - "constructInfo": { - "fqn": "@aws-cdk/aws-ec2.PrivateSubnet", - "version": "0.0.0" - } - }, - "PrivateSubnet3": { - "id": "PrivateSubnet3", - "path": "aws-cdk-vpc-nat-instances/MyVpc/PrivateSubnet3", - "children": { - "Subnet": { - "id": "Subnet", - "path": "aws-cdk-vpc-nat-instances/MyVpc/PrivateSubnet3/Subnet", - "attributes": { - "aws:cdk:cloudformation:type": "AWS::EC2::Subnet", - "aws:cdk:cloudformation:props": { - "vpcId": { - "Ref": "MyVpcF9F0CA6F" - }, - "availabilityZone": "us-west-2c", - "cidrBlock": "10.0.160.0/19", - "mapPublicIpOnLaunch": false, - "tags": [ - { - "key": "aws-cdk:subnet-name", - "value": "Private" - }, - { - "key": "aws-cdk:subnet-type", - "value": "Private" - }, - { - "key": "Name", - "value": "aws-cdk-vpc-nat-instances/MyVpc/PrivateSubnet3" - } - ] - } - }, - "constructInfo": { - "fqn": "@aws-cdk/aws-ec2.CfnSubnet", - "version": "0.0.0" - } - }, - "Acl": { - "id": "Acl", - "path": "aws-cdk-vpc-nat-instances/MyVpc/PrivateSubnet3/Acl", - "constructInfo": { - "fqn": "@aws-cdk/core.Resource", - "version": "0.0.0" - } - }, - "RouteTable": { - "id": "RouteTable", - "path": "aws-cdk-vpc-nat-instances/MyVpc/PrivateSubnet3/RouteTable", - "attributes": { - "aws:cdk:cloudformation:type": "AWS::EC2::RouteTable", - "aws:cdk:cloudformation:props": { - "vpcId": { - "Ref": "MyVpcF9F0CA6F" - }, - "tags": [ - { - "key": "Name", - "value": "aws-cdk-vpc-nat-instances/MyVpc/PrivateSubnet3" - } - ] - } - }, - "constructInfo": { - "fqn": "@aws-cdk/aws-ec2.CfnRouteTable", - "version": "0.0.0" - } - }, - "RouteTableAssociation": { - "id": "RouteTableAssociation", - "path": "aws-cdk-vpc-nat-instances/MyVpc/PrivateSubnet3/RouteTableAssociation", - "attributes": { - "aws:cdk:cloudformation:type": "AWS::EC2::SubnetRouteTableAssociation", - "aws:cdk:cloudformation:props": { - "routeTableId": { - "Ref": "MyVpcPrivateSubnet3RouteTableB790927C" - }, - "subnetId": { - "Ref": "MyVpcPrivateSubnet3Subnet772D6AD7" - } - } - }, - "constructInfo": { - "fqn": "@aws-cdk/aws-ec2.CfnSubnetRouteTableAssociation", - "version": "0.0.0" - } - }, - "DefaultRoute": { - "id": "DefaultRoute", - "path": "aws-cdk-vpc-nat-instances/MyVpc/PrivateSubnet3/DefaultRoute", - "attributes": { - "aws:cdk:cloudformation:type": "AWS::EC2::Route", - "aws:cdk:cloudformation:props": { - "routeTableId": { - "Ref": "MyVpcPrivateSubnet3RouteTableB790927C" - }, - "destinationCidrBlock": "0.0.0.0/0", - "instanceId": { - "Ref": "MyVpcPublicSubnet1NatInstance8E94E5F7" - } - } - }, - "constructInfo": { - "fqn": "@aws-cdk/aws-ec2.CfnRoute", - "version": "0.0.0" - } - } - }, - "constructInfo": { - "fqn": "@aws-cdk/aws-ec2.PrivateSubnet", - "version": "0.0.0" - } - }, - "IGW": { - "id": "IGW", - "path": "aws-cdk-vpc-nat-instances/MyVpc/IGW", - "attributes": { - "aws:cdk:cloudformation:type": "AWS::EC2::InternetGateway", - "aws:cdk:cloudformation:props": { - "tags": [ - { - "key": "Name", - "value": "aws-cdk-vpc-nat-instances/MyVpc" - } - ] - } - }, - "constructInfo": { - "fqn": "@aws-cdk/aws-ec2.CfnInternetGateway", - "version": "0.0.0" - } - }, - "VPCGW": { - "id": "VPCGW", - "path": "aws-cdk-vpc-nat-instances/MyVpc/VPCGW", - "attributes": { - "aws:cdk:cloudformation:type": "AWS::EC2::VPCGatewayAttachment", - "aws:cdk:cloudformation:props": { - "vpcId": { - "Ref": "MyVpcF9F0CA6F" - }, - "internetGatewayId": { - "Ref": "MyVpcIGW5C4A4F63" - } - } - }, - "constructInfo": { - "fqn": "@aws-cdk/aws-ec2.CfnVPCGatewayAttachment", - "version": "0.0.0" - } - }, - "NatSecurityGroup": { - "id": "NatSecurityGroup", - "path": "aws-cdk-vpc-nat-instances/MyVpc/NatSecurityGroup", - "children": { - "Resource": { - "id": "Resource", - "path": "aws-cdk-vpc-nat-instances/MyVpc/NatSecurityGroup/Resource", - "attributes": { - "aws:cdk:cloudformation:type": "AWS::EC2::SecurityGroup", - "aws:cdk:cloudformation:props": { - "groupDescription": "Security Group for NAT instances", - "securityGroupEgress": [ - { - "cidrIp": "0.0.0.0/0", - "description": "Allow all outbound traffic by default", - "ipProtocol": "-1" - } - ], - "securityGroupIngress": [ - { - "cidrIp": "0.0.0.0/0", - "ipProtocol": "-1", - "description": "from 0.0.0.0/0:ALL TRAFFIC" - } - ], - "tags": [ - { - "key": "Name", - "value": "aws-cdk-vpc-nat-instances/MyVpc" - } - ], - "vpcId": { - "Ref": "MyVpcF9F0CA6F" - } - } - }, - "constructInfo": { - "fqn": "@aws-cdk/aws-ec2.CfnSecurityGroup", - "version": "0.0.0" - } - } - }, - "constructInfo": { - "fqn": "@aws-cdk/aws-ec2.SecurityGroup", - "version": "0.0.0" - } - }, - "NatRole": { - "id": "NatRole", - "path": "aws-cdk-vpc-nat-instances/MyVpc/NatRole", - "children": { - "Resource": { - "id": "Resource", - "path": "aws-cdk-vpc-nat-instances/MyVpc/NatRole/Resource", - "attributes": { - "aws:cdk:cloudformation:type": "AWS::IAM::Role", - "aws:cdk:cloudformation:props": { - "assumeRolePolicyDocument": { - "Statement": [ - { - "Action": "sts:AssumeRole", - "Effect": "Allow", - "Principal": { - "Service": "ec2.amazonaws.com" - } - } - ], - "Version": "2012-10-17" - }, - "tags": [ - { - "key": "Name", - "value": "aws-cdk-vpc-nat-instances/MyVpc" - } - ] - } - }, - "constructInfo": { - "fqn": "@aws-cdk/aws-iam.CfnRole", - "version": "0.0.0" - } - } - }, - "constructInfo": { - "fqn": "@aws-cdk/aws-iam.Role", - "version": "0.0.0" - } - } - }, - "constructInfo": { - "fqn": "@aws-cdk/aws-ec2.Vpc", - "version": "0.0.0" - } - } - }, - "constructInfo": { - "fqn": "@aws-cdk/core.Stack", - "version": "0.0.0" - } - }, - "vpc-nat-instances": { - "id": "vpc-nat-instances", - "path": "vpc-nat-instances", - "children": { - "DefaultTest": { - "id": "DefaultTest", - "path": "vpc-nat-instances/DefaultTest", - "children": { - "Default": { - "id": "Default", - "path": "vpc-nat-instances/DefaultTest/Default", - "constructInfo": { - "fqn": "constructs.Construct", - "version": "10.1.78" - } - }, - "DeployAssert": { - "id": "DeployAssert", - "path": "vpc-nat-instances/DefaultTest/DeployAssert", - "constructInfo": { - "fqn": "@aws-cdk/core.Stack", - "version": "0.0.0" - } - } - }, - "constructInfo": { - "fqn": "@aws-cdk/integ-tests.IntegTestCase", - "version": "0.0.0" - } - } - }, - "constructInfo": { - "fqn": "@aws-cdk/integ-tests.IntegTest", - "version": "0.0.0" - } - } - }, - "constructInfo": { - "fqn": "@aws-cdk/core.App", - "version": "0.0.0" - } - } -} \ No newline at end of file diff --git a/packages/aws-cdk-lib/aws-ec2/test/nat-instances.integ.snapshot/vpcnatinstancesDefaultTestDeployAssert519D693A.template.json b/packages/aws-cdk-lib/aws-ec2/test/nat-instances.integ.snapshot/vpcnatinstancesDefaultTestDeployAssert519D693A.template.json deleted file mode 100644 index 9e26dfeeb6e64..0000000000000 --- a/packages/aws-cdk-lib/aws-ec2/test/nat-instances.integ.snapshot/vpcnatinstancesDefaultTestDeployAssert519D693A.template.json +++ /dev/null @@ -1 +0,0 @@ -{} \ No newline at end of file diff --git a/packages/aws-cdk-lib/aws-lambda-nodejs/README.md b/packages/aws-cdk-lib/aws-lambda-nodejs/README.md index 5a1ea73b8ac3b..4ab2e55f4f5ca 100644 --- a/packages/aws-cdk-lib/aws-lambda-nodejs/README.md +++ b/packages/aws-cdk-lib/aws-lambda-nodejs/README.md @@ -162,7 +162,7 @@ This can be configured by specifying `bundling.externalModules`: new nodejs.NodejsFunction(this, 'my-handler', { bundling: { externalModules: [ - 'aws-sdk', // Use the 'aws-sdk' available in the Lambda runtime + '@aws-sdk/*', // Use the AWS SDK for JS v3 available in the Lambda runtime 'cool-module', // 'cool-module' is already available in a Layer ], }, diff --git a/packages/aws-cdk-lib/aws-rds/test/snapshot-handler/index.ts b/packages/aws-cdk-lib/aws-rds/test/snapshot-handler/index.ts deleted file mode 100644 index 421827b511f70..0000000000000 --- a/packages/aws-cdk-lib/aws-rds/test/snapshot-handler/index.ts +++ /dev/null @@ -1,63 +0,0 @@ -/* eslint-disable no-console */ -import { RDS } from 'aws-sdk'; // eslint-disable-line import/no-extraneous-dependencies -import * as AWSCDKAsyncCustomResource from '../../../custom-resources/lib/provider-framework/types'; - -export async function onEventHandler(event: AWSCDKAsyncCustomResource.OnEventRequest): Promise { - console.log('Event: %j', event); - - const rds = new RDS(); - - const physicalResourceId = `${event.ResourceProperties.DBClusterIdentifier}-${event.ResourceProperties.DBClusterIdentifier}`; - - if (event.RequestType === 'Create' || event.RequestType === 'Update') { - const data = await rds.createDBClusterSnapshot({ - DBClusterIdentifier: event.ResourceProperties.DBClusterIdentifier, - DBClusterSnapshotIdentifier: event.ResourceProperties.DBClusterSnapshotIdentifier, - }).promise(); - return { - PhysicalResourceId: physicalResourceId, - Data: { - DBClusterSnapshotArn: data.DBClusterSnapshot?.DBClusterSnapshotArn, - }, - }; - } - - if (event.RequestType === 'Delete') { - await rds.deleteDBClusterSnapshot({ - DBClusterSnapshotIdentifier: event.ResourceProperties.DBClusterSnapshotIdentifier, - }).promise(); - } - - return { - PhysicalResourceId: `${event.ResourceProperties.DBClusterIdentifier}-${event.ResourceProperties.DBClusterIdentifier}`, - }; -} - -export async function isCompleteHandler(event: AWSCDKAsyncCustomResource.IsCompleteRequest): Promise { - console.log('Event: %j', event); - - const snapshotStatus = await tryGetClusterSnapshotStatus(event.ResourceProperties.DBClusterSnapshotIdentifier); - - switch (event.RequestType) { - case 'Create': - case 'Update': - return { IsComplete: snapshotStatus === 'available' }; - case 'Delete': - return { IsComplete: snapshotStatus === undefined }; - } -} - -async function tryGetClusterSnapshotStatus(identifier: string): Promise { - try { - const rds = new RDS(); - const data = await rds.describeDBClusterSnapshots({ - DBClusterSnapshotIdentifier: identifier, - }).promise(); - return data.DBClusterSnapshots?.[0].Status; - } catch (err: any) { - if (err.code === 'DBClusterSnapshotNotFoundFault') { - return undefined; - } - throw err; - } -} diff --git a/packages/aws-cdk-lib/aws-s3/test/put-objects-handler/index.ts b/packages/aws-cdk-lib/aws-s3/test/put-objects-handler/index.ts deleted file mode 100644 index 4a392db00cb66..0000000000000 --- a/packages/aws-cdk-lib/aws-s3/test/put-objects-handler/index.ts +++ /dev/null @@ -1,31 +0,0 @@ -// eslint-disable-next-line import/no-extraneous-dependencies -import { S3 } from 'aws-sdk'; - -const s3 = new S3(); - -export async function handler(event: AWSLambda.CloudFormationCustomResourceEvent): Promise { - switch (event.RequestType) { - case 'Create': - if (event.ResourceProperties.Fail) { - throw new Error('Failing on request!'); - } - const bucketName = event.ResourceProperties.BucketName; - if (!bucketName) { - throw new Error('Missing BucketName'); - } - return putObjects(bucketName); - case 'Update': - case 'Delete': - return; - } -} - -async function putObjects(bucketName: string, n = 5) { - // Put n objects in parallel - await Promise.all([...Array(n).keys()] - .map(key => s3.putObject({ - Bucket: bucketName, - Key: `Key${key}`, - Body: `Body${key}`, - }).promise())); -} diff --git a/packages/aws-cdk-lib/custom-resources/test/provider-framework/integration-test-fixtures/s3-assert-handler/index.py b/packages/aws-cdk-lib/custom-resources/test/provider-framework/integration-test-fixtures/s3-assert-handler/index.py deleted file mode 100644 index 0f99bdca49aa9..0000000000000 --- a/packages/aws-cdk-lib/custom-resources/test/provider-framework/integration-test-fixtures/s3-assert-handler/index.py +++ /dev/null @@ -1,44 +0,0 @@ -import boto3 - -s3 = boto3.client('s3') - -def on_event(event, ctx): - print(event) - return { - 'ArbitraryField': 12345 - } - -def is_complete(event, ctx): - print(event) - - # verify result from on_event is passed through - if event.get('ArbitraryField', None) != 12345: - raise 'Error: expecting "event" to include "ArbitraryField" with value 12345' - - # nothing to assert if this resource is being deleted - if event['RequestType'] == 'Delete': - return { 'IsComplete': True } - - props = event['ResourceProperties'] - bucket_name = props['BucketName'] - object_key = props['ObjectKey'] - expected_content = props['ExpectedContent'] - - print("reading content from s3://%s/%s" % (bucket_name, object_key)) - content = None - try: - result = s3.get_object(Bucket=bucket_name, Key=object_key) - content = result['Body'].read().decode('utf-8') - except s3.exceptions.NoSuchKey: - print("file not found") - pass - - print("actual content: %s" % content) - print("expected content: %s" % expected_content) - - is_equal = content == expected_content - - if is_equal: - print("s3 content matches expected") - - return { 'IsComplete': is_equal } diff --git a/packages/aws-cdk-lib/custom-resources/test/provider-framework/integration-test-fixtures/s3-assert.ts b/packages/aws-cdk-lib/custom-resources/test/provider-framework/integration-test-fixtures/s3-assert.ts deleted file mode 100644 index 7982d88a7b6ef..0000000000000 --- a/packages/aws-cdk-lib/custom-resources/test/provider-framework/integration-test-fixtures/s3-assert.ts +++ /dev/null @@ -1,95 +0,0 @@ -import * as path from 'path'; -import { Construct, Node } from 'constructs'; -import * as iam from '../../../../aws-iam'; -import * as lambda from '../../../../aws-lambda'; -import * as s3 from '../../../../aws-s3'; -import { CustomResource, Duration, Stack } from '../../../../core'; -import * as cr from '../../../lib'; - -export interface S3AssertProps { - /** - * The s3 bucket to query. - */ - readonly bucket: s3.IBucket; - - /** - * The object key. - */ - readonly objectKey: string; - - /** - * The expected contents. - */ - readonly expectedContent: string; -} - -/** - * A custom resource that asserts that a file on s3 has the specified contents. - * This resource will wait 10 minutes before, allowing for eventual consistency - * to stabilize (and also exercises the idea of asynchronous custom resources). - * - * Code is written in Python because why not. - */ -export class S3Assert extends Construct { - - constructor(scope: Construct, id: string, props: S3AssertProps) { - super(scope, id); - - new CustomResource(this, 'Resource', { - serviceToken: S3AssertProvider.getOrCreate(this), - resourceType: 'Custom::S3Assert', - properties: { - BucketName: props.bucket.bucketName, - ObjectKey: props.objectKey, - ExpectedContent: props.expectedContent, - }, - }); - } -} - -class S3AssertProvider extends Construct { - - /** - * Returns the singleton provider. - */ - public static getOrCreate(scope: Construct) { - const providerId = 'com.amazonaws.cdk.custom-resources.s3assert-provider'; - const stack = Stack.of(scope); - const group = Node.of(stack).tryFindChild(providerId) as S3AssertProvider || new S3AssertProvider(stack, providerId); - return group.provider.serviceToken; - } - - private readonly provider: cr.Provider; - - constructor(scope: Construct, id: string) { - super(scope, id); - - const onEvent = new lambda.Function(this, 's3assert-on-event', { - code: lambda.Code.fromAsset(path.join(__dirname, 's3-assert-handler')), - runtime: lambda.Runtime.PYTHON_3_7, - handler: 'index.on_event', - }); - - const isComplete = new lambda.Function(this, 's3assert-is-complete', { - code: lambda.Code.fromAsset(path.join(__dirname, 's3-assert-handler')), - runtime: lambda.Runtime.PYTHON_3_7, - handler: 'index.is_complete', - initialPolicy: [ - new iam.PolicyStatement({ - resources: ['*'], - actions: [ - 's3:GetObject*', - 's3:GetBucket*', - 's3:List*', - ], - }), - ], - }); - - this.provider = new cr.Provider(this, 's3assert-provider', { - onEventHandler: onEvent, - isCompleteHandler: isComplete, - totalTimeout: Duration.minutes(5), - }); - } -} diff --git a/packages/aws-cdk-lib/custom-resources/test/provider-framework/integration-test-fixtures/s3-file-handler/api.ts b/packages/aws-cdk-lib/custom-resources/test/provider-framework/integration-test-fixtures/s3-file-handler/api.ts deleted file mode 100644 index 79b07bda5a43b..0000000000000 --- a/packages/aws-cdk-lib/custom-resources/test/provider-framework/integration-test-fixtures/s3-file-handler/api.ts +++ /dev/null @@ -1,8 +0,0 @@ -export const PROP_BUCKET_NAME = 'BucketName'; -export const PROP_OBJECT_KEY = 'ObjectKey'; -export const PROP_CONTENTS = 'Contents'; -export const PROP_PUBLIC = 'PublicRead'; - -export const ATTR_ETAG = 'ETag'; -export const ATTR_URL = 'URL'; -export const ATTR_OBJECT_KEY = 'ObjectKey'; diff --git a/packages/aws-cdk-lib/custom-resources/test/provider-framework/integration-test-fixtures/s3-file-handler/index.ts b/packages/aws-cdk-lib/custom-resources/test/provider-framework/integration-test-fixtures/s3-file-handler/index.ts deleted file mode 100644 index de12c193aa637..0000000000000 --- a/packages/aws-cdk-lib/custom-resources/test/provider-framework/integration-test-fixtures/s3-file-handler/index.ts +++ /dev/null @@ -1,72 +0,0 @@ -/* eslint-disable no-console */ -import * as AWS from 'aws-sdk'; -import * as api from './api'; - -const s3 = new AWS.S3(); - -export async function onEvent(event: AWSCDKAsyncCustomResource.OnEventRequest) { - switch (event.RequestType) { - case 'Create': - case 'Update': - return putObject(event); - - case 'Delete': - return deleteObject(event); - } -} - -export async function putObject(event: AWSCDKAsyncCustomResource.OnEventRequest): Promise { - const bucketName = event.ResourceProperties[api.PROP_BUCKET_NAME]; - if (!bucketName) { throw new Error('"BucketName" is required'); } - - const contents = event.ResourceProperties[api.PROP_CONTENTS]; - if (!contents) { throw new Error('"Contents" is required'); } - - // determine the object key which is the physical ID of the resource. - // if it was not provided by the user, we generated it using the request ID. - let objectKey = event.ResourceProperties[api.PROP_OBJECT_KEY] || event.LogicalResourceId + '-' + event.RequestId.replace(/-/g, '') + '.txt'; - - // trim trailing `/` - if (objectKey.startsWith('/')) { - objectKey = objectKey.slice(1); - } - - const publicRead = event.ResourceProperties[api.PROP_PUBLIC] || false; - - console.log(`writing s3://${bucketName}/${objectKey}`); - - const resp = await s3.putObject({ - Bucket: bucketName, - Key: objectKey, - Body: contents, - ACL: publicRead ? 'public-read' : undefined, - }).promise(); - - // NOTE: updates to the object key will be handled automatically: a new object will be put and then we return - // the new name. this will tell cloudformation that the resource has been replaced and it will issue a DELETE - // for the old object. - - return { - PhysicalResourceId: objectKey, - Data: { - [api.ATTR_OBJECT_KEY]: objectKey, - [api.ATTR_ETAG]: resp.ETag, - [api.ATTR_URL]: `https://${bucketName}.s3.amazonaws.com/${objectKey}`, - }, - }; -} - -export async function deleteObject(event: AWSCDKAsyncCustomResource.OnEventRequest) { - const bucketName = event.ResourceProperties.BucketName; - if (!bucketName) { throw new Error('"BucketName" is required'); } - - const objectKey = event.PhysicalResourceId; - if (!objectKey) { - throw new Error('PhysicalResourceId expected for DELETE events'); - } - - await s3.deleteObject({ - Bucket: bucketName, - Key: objectKey, - }).promise(); -} diff --git a/packages/aws-cdk-lib/custom-resources/test/provider-framework/integration-test-fixtures/s3-file.ts b/packages/aws-cdk-lib/custom-resources/test/provider-framework/integration-test-fixtures/s3-file.ts deleted file mode 100644 index 1c09b674baaad..0000000000000 --- a/packages/aws-cdk-lib/custom-resources/test/provider-framework/integration-test-fixtures/s3-file.ts +++ /dev/null @@ -1,99 +0,0 @@ -import * as path from 'path'; -import { Construct, Node } from 'constructs'; -import * as api from './s3-file-handler/api'; -import * as iam from '../../../../aws-iam'; -import * as lambda from '../../../../aws-lambda'; -import * as s3 from '../../../../aws-s3'; -import { CustomResource, Stack } from '../../../../core'; -import * as cr from '../../../lib'; - -interface S3FileProps { - /** - * The bucket in which the file will be created. - */ - readonly bucket: s3.IBucket; - - /** - * The object key. - * - * @default - automatically-generated - */ - readonly objectKey?: string; - - /** - * The contents of the file. - */ - readonly contents: string; - - /** - * Indicates if this file should have public-read permissions. - * - * @default false - */ - readonly public?: boolean; -} - -export class S3File extends Construct { - public readonly objectKey: string; - public readonly url: string; - public readonly etag: string; - - constructor(scope: Construct, id: string, props: S3FileProps) { - super(scope, id); - - const resource = new CustomResource(this, 'Resource', { - serviceToken: S3FileProvider.getOrCreate(this), - resourceType: 'Custom::S3File', - properties: { - [api.PROP_BUCKET_NAME]: props.bucket.bucketName, - [api.PROP_CONTENTS]: props.contents, - [api.PROP_OBJECT_KEY]: props.objectKey, - [api.PROP_PUBLIC]: props.public, - }, - }); - - this.objectKey = resource.getAttString(api.ATTR_OBJECT_KEY); - this.url = resource.getAttString(api.ATTR_URL); - this.etag = resource.getAttString(api.ATTR_ETAG); - } -} - -class S3FileProvider extends Construct { - - /** - * Returns the singleton provider. - */ - public static getOrCreate(scope: Construct) { - const stack = Stack.of(scope); - const id = 'com.amazonaws.cdk.custom-resources.s3file-provider'; - const x = Node.of(stack).tryFindChild(id) as S3FileProvider || new S3FileProvider(stack, id); - return x.provider.serviceToken; - } - - private readonly provider: cr.Provider; - - constructor(scope: Construct, id: string) { - super(scope, id); - - this.provider = new cr.Provider(this, 's3file-provider', { - onEventHandler: new lambda.Function(this, 's3file-on-event', { - code: lambda.Code.fromAsset(path.join(__dirname, 's3-file-handler')), - runtime: lambda.Runtime.NODEJS_18_X, - handler: 'index.onEvent', - initialPolicy: [ - new iam.PolicyStatement({ - resources: ['*'], - actions: [ - 's3:GetObject*', - 's3:GetBucket*', - 's3:List*', - 's3:DeleteObject*', - 's3:PutObject*', - 's3:Abort*', - ], - }), - ], - }), - }); - } -} diff --git a/packages/aws-cdk-lib/triggers/test/trigger-handler.test.ts b/packages/aws-cdk-lib/triggers/test/trigger-handler.test.ts index c2fda6e81bed3..85e4929326ca3 100644 --- a/packages/aws-cdk-lib/triggers/test/trigger-handler.test.ts +++ b/packages/aws-cdk-lib/triggers/test/trigger-handler.test.ts @@ -13,8 +13,6 @@ afterEach(() => { jest.clearAllMocks(); }); -jest.mock('aws-sdk'); - const mockInvoke = jest.fn().mockResolvedValue({ StatusCode: 200, }); diff --git a/yarn.lock b/yarn.lock index 83b949b20e5b0..a87d15e88b820 100644 --- a/yarn.lock +++ b/yarn.lock @@ -194,6 +194,49 @@ "@smithy/util-utf8" "^2.0.0" tslib "^2.5.0" +"@aws-sdk/client-acm@3.408.0": + version "3.408.0" + resolved "https://registry.npmjs.org/@aws-sdk/client-acm/-/client-acm-3.408.0.tgz#78cb49d8e57805ae7804f8cb0c53fd8ba4bf8ec2" + integrity sha512-Iz6chhmCHffJkbaCHkGIIRsWPW7V/43DB6fRdkcdOtxzwZHQYaY3l5eEZ1NzPWLctcRcscFcBnU1l5or+TmhGg== + dependencies: + "@aws-crypto/sha256-browser" "3.0.0" + "@aws-crypto/sha256-js" "3.0.0" + "@aws-sdk/client-sts" "3.408.0" + "@aws-sdk/credential-provider-node" "3.408.0" + "@aws-sdk/middleware-host-header" "3.408.0" + "@aws-sdk/middleware-logger" "3.408.0" + "@aws-sdk/middleware-recursion-detection" "3.408.0" + "@aws-sdk/middleware-signing" "3.408.0" + "@aws-sdk/middleware-user-agent" "3.408.0" + "@aws-sdk/types" "3.408.0" + "@aws-sdk/util-endpoints" "3.408.0" + "@aws-sdk/util-user-agent-browser" "3.408.0" + "@aws-sdk/util-user-agent-node" "3.408.0" + "@smithy/config-resolver" "^2.0.5" + "@smithy/fetch-http-handler" "^2.0.5" + "@smithy/hash-node" "^2.0.5" + "@smithy/invalid-dependency" "^2.0.5" + "@smithy/middleware-content-length" "^2.0.5" + "@smithy/middleware-endpoint" "^2.0.5" + "@smithy/middleware-retry" "^2.0.5" + "@smithy/middleware-serde" "^2.0.5" + "@smithy/middleware-stack" "^2.0.0" + "@smithy/node-config-provider" "^2.0.6" + "@smithy/node-http-handler" "^2.0.5" + "@smithy/protocol-http" "^2.0.5" + "@smithy/smithy-client" "^2.0.5" + "@smithy/types" "^2.2.2" + "@smithy/url-parser" "^2.0.5" + "@smithy/util-base64" "^2.0.0" + "@smithy/util-body-length-browser" "^2.0.0" + "@smithy/util-body-length-node" "^2.1.0" + "@smithy/util-defaults-mode-browser" "^2.0.6" + "@smithy/util-defaults-mode-node" "^2.0.6" + "@smithy/util-retry" "^2.0.0" + "@smithy/util-utf8" "^2.0.0" + "@smithy/util-waiter" "^2.0.5" + tslib "^2.5.0" + "@aws-sdk/client-acm@^3.405.0": version "3.405.0" resolved "https://registry.npmjs.org/@aws-sdk/client-acm/-/client-acm-3.405.0.tgz#0469adf345ad9f5c1ced54c8e3bd5f73dca67cc1" @@ -806,6 +849,51 @@ "@smithy/util-waiter" "^2.0.5" tslib "^2.5.0" +"@aws-sdk/client-rds@3.408.0": + version "3.408.0" + resolved "https://registry.npmjs.org/@aws-sdk/client-rds/-/client-rds-3.408.0.tgz#eb033ce5c97273fd99dadb681c014241d81adad3" + integrity sha512-53FZjNdfkY2NK6m3Z1Iixgf9JDiKIwWvZQU/LhNTtG0Mh3APr5xHeTV0FrnY6oKXQTfQPBgBnHhi6yjuw07bOg== + dependencies: + "@aws-crypto/sha256-browser" "3.0.0" + "@aws-crypto/sha256-js" "3.0.0" + "@aws-sdk/client-sts" "3.408.0" + "@aws-sdk/credential-provider-node" "3.408.0" + "@aws-sdk/middleware-host-header" "3.408.0" + "@aws-sdk/middleware-logger" "3.408.0" + "@aws-sdk/middleware-recursion-detection" "3.408.0" + "@aws-sdk/middleware-sdk-rds" "3.408.0" + "@aws-sdk/middleware-signing" "3.408.0" + "@aws-sdk/middleware-user-agent" "3.408.0" + "@aws-sdk/types" "3.408.0" + "@aws-sdk/util-endpoints" "3.408.0" + "@aws-sdk/util-user-agent-browser" "3.408.0" + "@aws-sdk/util-user-agent-node" "3.408.0" + "@smithy/config-resolver" "^2.0.5" + "@smithy/fetch-http-handler" "^2.0.5" + "@smithy/hash-node" "^2.0.5" + "@smithy/invalid-dependency" "^2.0.5" + "@smithy/middleware-content-length" "^2.0.5" + "@smithy/middleware-endpoint" "^2.0.5" + "@smithy/middleware-retry" "^2.0.5" + "@smithy/middleware-serde" "^2.0.5" + "@smithy/middleware-stack" "^2.0.0" + "@smithy/node-config-provider" "^2.0.6" + "@smithy/node-http-handler" "^2.0.5" + "@smithy/protocol-http" "^2.0.5" + "@smithy/smithy-client" "^2.0.5" + "@smithy/types" "^2.2.2" + "@smithy/url-parser" "^2.0.5" + "@smithy/util-base64" "^2.0.0" + "@smithy/util-body-length-browser" "^2.0.0" + "@smithy/util-body-length-node" "^2.1.0" + "@smithy/util-defaults-mode-browser" "^2.0.6" + "@smithy/util-defaults-mode-node" "^2.0.6" + "@smithy/util-retry" "^2.0.0" + "@smithy/util-utf8" "^2.0.0" + "@smithy/util-waiter" "^2.0.5" + fast-xml-parser "4.2.5" + tslib "^2.5.0" + "@aws-sdk/client-redshift-data@^3.405.0": version "3.405.0" resolved "https://registry.npmjs.org/@aws-sdk/client-redshift-data/-/client-redshift-data-3.405.0.tgz#b5f58c86eb1e8cf04ff5536aaaf642ac24d82703" @@ -939,6 +1027,66 @@ fast-xml-parser "4.2.5" tslib "^2.5.0" +"@aws-sdk/client-s3@3.408.0": + version "3.408.0" + resolved "https://registry.npmjs.org/@aws-sdk/client-s3/-/client-s3-3.408.0.tgz#6abe4a07f225bc8151e6033792607eec8da58bfa" + integrity sha512-35Pw9rmQ5zNnAn0kDeV/VWpGN5d28OqVbUrfwKnxPGGbMaQ6JSxMTU4kIxWRaRBUgK/C+ow1Fjly5Kr6Fv9tdg== + dependencies: + "@aws-crypto/sha1-browser" "3.0.0" + "@aws-crypto/sha256-browser" "3.0.0" + "@aws-crypto/sha256-js" "3.0.0" + "@aws-sdk/client-sts" "3.408.0" + "@aws-sdk/credential-provider-node" "3.408.0" + "@aws-sdk/middleware-bucket-endpoint" "3.408.0" + "@aws-sdk/middleware-expect-continue" "3.408.0" + "@aws-sdk/middleware-flexible-checksums" "3.408.0" + "@aws-sdk/middleware-host-header" "3.408.0" + "@aws-sdk/middleware-location-constraint" "3.408.0" + "@aws-sdk/middleware-logger" "3.408.0" + "@aws-sdk/middleware-recursion-detection" "3.408.0" + "@aws-sdk/middleware-sdk-s3" "3.408.0" + "@aws-sdk/middleware-signing" "3.408.0" + "@aws-sdk/middleware-ssec" "3.408.0" + "@aws-sdk/middleware-user-agent" "3.408.0" + "@aws-sdk/signature-v4-multi-region" "3.408.0" + "@aws-sdk/types" "3.408.0" + "@aws-sdk/util-endpoints" "3.408.0" + "@aws-sdk/util-user-agent-browser" "3.408.0" + "@aws-sdk/util-user-agent-node" "3.408.0" + "@aws-sdk/xml-builder" "3.310.0" + "@smithy/config-resolver" "^2.0.5" + "@smithy/eventstream-serde-browser" "^2.0.5" + "@smithy/eventstream-serde-config-resolver" "^2.0.5" + "@smithy/eventstream-serde-node" "^2.0.5" + "@smithy/fetch-http-handler" "^2.0.5" + "@smithy/hash-blob-browser" "^2.0.5" + "@smithy/hash-node" "^2.0.5" + "@smithy/hash-stream-node" "^2.0.5" + "@smithy/invalid-dependency" "^2.0.5" + "@smithy/md5-js" "^2.0.5" + "@smithy/middleware-content-length" "^2.0.5" + "@smithy/middleware-endpoint" "^2.0.5" + "@smithy/middleware-retry" "^2.0.5" + "@smithy/middleware-serde" "^2.0.5" + "@smithy/middleware-stack" "^2.0.0" + "@smithy/node-config-provider" "^2.0.6" + "@smithy/node-http-handler" "^2.0.5" + "@smithy/protocol-http" "^2.0.5" + "@smithy/smithy-client" "^2.0.5" + "@smithy/types" "^2.2.2" + "@smithy/url-parser" "^2.0.5" + "@smithy/util-base64" "^2.0.0" + "@smithy/util-body-length-browser" "^2.0.0" + "@smithy/util-body-length-node" "^2.1.0" + "@smithy/util-defaults-mode-browser" "^2.0.6" + "@smithy/util-defaults-mode-node" "^2.0.6" + "@smithy/util-retry" "^2.0.0" + "@smithy/util-stream" "^2.0.5" + "@smithy/util-utf8" "^2.0.0" + "@smithy/util-waiter" "^2.0.5" + fast-xml-parser "4.2.5" + tslib "^2.5.0" + "@aws-sdk/client-s3@^3.405.0": version "3.405.0" resolved "https://registry.npmjs.org/@aws-sdk/client-s3/-/client-s3-3.405.0.tgz#c63b14bc8c8b6b8ed3164e36a5f93649ae5401e8" @@ -1167,6 +1315,45 @@ "@smithy/util-utf8" "^2.0.0" tslib "^2.5.0" +"@aws-sdk/client-sso@3.408.0": + version "3.408.0" + resolved "https://registry.npmjs.org/@aws-sdk/client-sso/-/client-sso-3.408.0.tgz#f6e8e9b5bc86713e3baba79d0c122d4c9cc5cc82" + integrity sha512-g0Y904ghLTg9JLJnmbuvf10Hrzwqn2pko6aCAK10vCI5Y2nQ6BAUXuPonxhZIlp+JHsk0B2FUBqquc+bErUspA== + dependencies: + "@aws-crypto/sha256-browser" "3.0.0" + "@aws-crypto/sha256-js" "3.0.0" + "@aws-sdk/middleware-host-header" "3.408.0" + "@aws-sdk/middleware-logger" "3.408.0" + "@aws-sdk/middleware-recursion-detection" "3.408.0" + "@aws-sdk/middleware-user-agent" "3.408.0" + "@aws-sdk/types" "3.408.0" + "@aws-sdk/util-endpoints" "3.408.0" + "@aws-sdk/util-user-agent-browser" "3.408.0" + "@aws-sdk/util-user-agent-node" "3.408.0" + "@smithy/config-resolver" "^2.0.5" + "@smithy/fetch-http-handler" "^2.0.5" + "@smithy/hash-node" "^2.0.5" + "@smithy/invalid-dependency" "^2.0.5" + "@smithy/middleware-content-length" "^2.0.5" + "@smithy/middleware-endpoint" "^2.0.5" + "@smithy/middleware-retry" "^2.0.5" + "@smithy/middleware-serde" "^2.0.5" + "@smithy/middleware-stack" "^2.0.0" + "@smithy/node-config-provider" "^2.0.6" + "@smithy/node-http-handler" "^2.0.5" + "@smithy/protocol-http" "^2.0.5" + "@smithy/smithy-client" "^2.0.5" + "@smithy/types" "^2.2.2" + "@smithy/url-parser" "^2.0.5" + "@smithy/util-base64" "^2.0.0" + "@smithy/util-body-length-browser" "^2.0.0" + "@smithy/util-body-length-node" "^2.1.0" + "@smithy/util-defaults-mode-browser" "^2.0.6" + "@smithy/util-defaults-mode-node" "^2.0.6" + "@smithy/util-retry" "^2.0.0" + "@smithy/util-utf8" "^2.0.0" + tslib "^2.5.0" + "@aws-sdk/client-sts@3.405.0", "@aws-sdk/client-sts@^3.405.0": version "3.405.0" resolved "https://registry.npmjs.org/@aws-sdk/client-sts/-/client-sts-3.405.0.tgz#5445286eb2ebca25dca6004686e71ce9b3cd50c7" @@ -1210,6 +1397,49 @@ fast-xml-parser "4.2.5" tslib "^2.5.0" +"@aws-sdk/client-sts@3.408.0": + version "3.408.0" + resolved "https://registry.npmjs.org/@aws-sdk/client-sts/-/client-sts-3.408.0.tgz#527d5b143913e9b1736be20f90938924a910545a" + integrity sha512-PpNmhCuFjVrgGBy00RVh3evBxzFfvUrALDqpBnPYhz489Qzg2I+T90FqdSUedPQPYe+qhq0YJMPKc9leYBEB/w== + dependencies: + "@aws-crypto/sha256-browser" "3.0.0" + "@aws-crypto/sha256-js" "3.0.0" + "@aws-sdk/credential-provider-node" "3.408.0" + "@aws-sdk/middleware-host-header" "3.408.0" + "@aws-sdk/middleware-logger" "3.408.0" + "@aws-sdk/middleware-recursion-detection" "3.408.0" + "@aws-sdk/middleware-sdk-sts" "3.408.0" + "@aws-sdk/middleware-signing" "3.408.0" + "@aws-sdk/middleware-user-agent" "3.408.0" + "@aws-sdk/types" "3.408.0" + "@aws-sdk/util-endpoints" "3.408.0" + "@aws-sdk/util-user-agent-browser" "3.408.0" + "@aws-sdk/util-user-agent-node" "3.408.0" + "@smithy/config-resolver" "^2.0.5" + "@smithy/fetch-http-handler" "^2.0.5" + "@smithy/hash-node" "^2.0.5" + "@smithy/invalid-dependency" "^2.0.5" + "@smithy/middleware-content-length" "^2.0.5" + "@smithy/middleware-endpoint" "^2.0.5" + "@smithy/middleware-retry" "^2.0.5" + "@smithy/middleware-serde" "^2.0.5" + "@smithy/middleware-stack" "^2.0.0" + "@smithy/node-config-provider" "^2.0.6" + "@smithy/node-http-handler" "^2.0.5" + "@smithy/protocol-http" "^2.0.5" + "@smithy/smithy-client" "^2.0.5" + "@smithy/types" "^2.2.2" + "@smithy/url-parser" "^2.0.5" + "@smithy/util-base64" "^2.0.0" + "@smithy/util-body-length-browser" "^2.0.0" + "@smithy/util-body-length-node" "^2.1.0" + "@smithy/util-defaults-mode-browser" "^2.0.6" + "@smithy/util-defaults-mode-node" "^2.0.6" + "@smithy/util-retry" "^2.0.0" + "@smithy/util-utf8" "^2.0.0" + fast-xml-parser "4.2.5" + tslib "^2.5.0" + "@aws-sdk/client-synthetics@^3.405.0": version "3.405.0" resolved "https://registry.npmjs.org/@aws-sdk/client-synthetics/-/client-synthetics-3.405.0.tgz#6b4a1ec38783639ff10685d6e96ef056aa52b09d" @@ -1273,6 +1503,16 @@ "@smithy/types" "^2.2.2" tslib "^2.5.0" +"@aws-sdk/credential-provider-env@3.408.0": + version "3.408.0" + resolved "https://registry.npmjs.org/@aws-sdk/credential-provider-env/-/credential-provider-env-3.408.0.tgz#199a793e5477e30417f6be9f82aa0262ba96328e" + integrity sha512-GCpgHEHxRTzKaMkwDC2gLb3xlD+ZxhKPUJ1DVcO7I9E3eCGJsYVedIi0/2XE+NP+HVoy8LyW2qH8QQWh64JKow== + dependencies: + "@aws-sdk/types" "3.408.0" + "@smithy/property-provider" "^2.0.0" + "@smithy/types" "^2.2.2" + tslib "^2.5.0" + "@aws-sdk/credential-provider-ini@3.405.0": version "3.405.0" resolved "https://registry.npmjs.org/@aws-sdk/credential-provider-ini/-/credential-provider-ini-3.405.0.tgz#e6aa48bdc164a1df9aa14e30dc6ec69b8c038bf3" @@ -1289,6 +1529,22 @@ "@smithy/types" "^2.2.2" tslib "^2.5.0" +"@aws-sdk/credential-provider-ini@3.408.0": + version "3.408.0" + resolved "https://registry.npmjs.org/@aws-sdk/credential-provider-ini/-/credential-provider-ini-3.408.0.tgz#68e88fb1a7da62421d2252e57c25b0421da342a9" + integrity sha512-vXuayXiwHncd3Xush0jQYrnu2aPPlE+fpdnpEdZGgUJwdbv2vSeYZ73ldH1LzCd179BEDVT0J7nHc7fposo3kg== + dependencies: + "@aws-sdk/credential-provider-env" "3.408.0" + "@aws-sdk/credential-provider-process" "3.408.0" + "@aws-sdk/credential-provider-sso" "3.408.0" + "@aws-sdk/credential-provider-web-identity" "3.408.0" + "@aws-sdk/types" "3.408.0" + "@smithy/credential-provider-imds" "^2.0.0" + "@smithy/property-provider" "^2.0.0" + "@smithy/shared-ini-file-loader" "^2.0.6" + "@smithy/types" "^2.2.2" + tslib "^2.5.0" + "@aws-sdk/credential-provider-node@3.405.0": version "3.405.0" resolved "https://registry.npmjs.org/@aws-sdk/credential-provider-node/-/credential-provider-node-3.405.0.tgz#d877a2809fedf682a3c7451968ecdff75f7542da" @@ -1306,6 +1562,23 @@ "@smithy/types" "^2.2.2" tslib "^2.5.0" +"@aws-sdk/credential-provider-node@3.408.0": + version "3.408.0" + resolved "https://registry.npmjs.org/@aws-sdk/credential-provider-node/-/credential-provider-node-3.408.0.tgz#91dd0f6e6f2434c8fb682276d125204d06ce4639" + integrity sha512-AzDtlj2Mb01K5+AiDI14HsIs9I/pI4nM3kxeOZZvocaaThF5OFR+4wR2v2plhfGJ8QAPEE/KnqcJ3JlJ7orShg== + dependencies: + "@aws-sdk/credential-provider-env" "3.408.0" + "@aws-sdk/credential-provider-ini" "3.408.0" + "@aws-sdk/credential-provider-process" "3.408.0" + "@aws-sdk/credential-provider-sso" "3.408.0" + "@aws-sdk/credential-provider-web-identity" "3.408.0" + "@aws-sdk/types" "3.408.0" + "@smithy/credential-provider-imds" "^2.0.0" + "@smithy/property-provider" "^2.0.0" + "@smithy/shared-ini-file-loader" "^2.0.6" + "@smithy/types" "^2.2.2" + tslib "^2.5.0" + "@aws-sdk/credential-provider-process@3.405.0": version "3.405.0" resolved "https://registry.npmjs.org/@aws-sdk/credential-provider-process/-/credential-provider-process-3.405.0.tgz#4ef0a913ab3c60753f56430ea658b1fabb8f8553" @@ -1317,6 +1590,17 @@ "@smithy/types" "^2.2.2" tslib "^2.5.0" +"@aws-sdk/credential-provider-process@3.408.0": + version "3.408.0" + resolved "https://registry.npmjs.org/@aws-sdk/credential-provider-process/-/credential-provider-process-3.408.0.tgz#fbcf6571bc87e536b847e14c4c9ee1fdd6b81deb" + integrity sha512-qCTf9tr6+I2s3+v5zP4YRQQrGlYw/jyZ7u/k6bGshhlvgwGPfjNuHrM8uK/W1kv4ng1myxaL1/tAY6RVVdXz4Q== + dependencies: + "@aws-sdk/types" "3.408.0" + "@smithy/property-provider" "^2.0.0" + "@smithy/shared-ini-file-loader" "^2.0.6" + "@smithy/types" "^2.2.2" + tslib "^2.5.0" + "@aws-sdk/credential-provider-sso@3.405.0": version "3.405.0" resolved "https://registry.npmjs.org/@aws-sdk/credential-provider-sso/-/credential-provider-sso-3.405.0.tgz#457f621ca592df29ac8ca6588897b9fac6387f4c" @@ -1330,6 +1614,19 @@ "@smithy/types" "^2.2.2" tslib "^2.5.0" +"@aws-sdk/credential-provider-sso@3.408.0": + version "3.408.0" + resolved "https://registry.npmjs.org/@aws-sdk/credential-provider-sso/-/credential-provider-sso-3.408.0.tgz#aaf772d34871eb4d02a8e8b242b64d02660c64b3" + integrity sha512-iKU91cxrttQyDhdhF7vJZd6XibvwGolFzuJBG4DD4jOdvmTcVq4L26AH8bjR1psnS6pvTa66FaYt6BGtbXgVeA== + dependencies: + "@aws-sdk/client-sso" "3.408.0" + "@aws-sdk/token-providers" "3.408.0" + "@aws-sdk/types" "3.408.0" + "@smithy/property-provider" "^2.0.0" + "@smithy/shared-ini-file-loader" "^2.0.6" + "@smithy/types" "^2.2.2" + tslib "^2.5.0" + "@aws-sdk/credential-provider-web-identity@3.398.0": version "3.398.0" resolved "https://registry.npmjs.org/@aws-sdk/credential-provider-web-identity/-/credential-provider-web-identity-3.398.0.tgz#0396a34bf9d2e4b48530c2f899cbb4101b592db8" @@ -1340,6 +1637,16 @@ "@smithy/types" "^2.2.2" tslib "^2.5.0" +"@aws-sdk/credential-provider-web-identity@3.408.0": + version "3.408.0" + resolved "https://registry.npmjs.org/@aws-sdk/credential-provider-web-identity/-/credential-provider-web-identity-3.408.0.tgz#2e38730a309b81527d23c3d435ea5ab1a3f73688" + integrity sha512-5FbDPF/zY/1t6k1zRI/HnrxcH2v7SwsEYu2SThI2qbzaP/K7MTnTanV5vNFcdQOpuQ7x3PrzTlH3AWZueCr3Vw== + dependencies: + "@aws-sdk/types" "3.408.0" + "@smithy/property-provider" "^2.0.0" + "@smithy/types" "^2.2.2" + tslib "^2.5.0" + "@aws-sdk/credential-providers@^3.405.0": version "3.405.0" resolved "https://registry.npmjs.org/@aws-sdk/credential-providers/-/credential-providers-3.405.0.tgz#be18021199af20a34674fe4e0a9a92c0ca9f1d71" @@ -1381,6 +1688,18 @@ "@smithy/util-config-provider" "^2.0.0" tslib "^2.5.0" +"@aws-sdk/middleware-bucket-endpoint@3.408.0": + version "3.408.0" + resolved "https://registry.npmjs.org/@aws-sdk/middleware-bucket-endpoint/-/middleware-bucket-endpoint-3.408.0.tgz#a7c125f13e6eac2cd0127cce721d62d8d9004d37" + integrity sha512-e3lf0Xml1+LeFJvF6agOMuK6gjQkySZQFgRYv1V6fieacPqGk6yoF35Cv7rSW02RN06zK5Sx3TmaL6NHxQbQmA== + dependencies: + "@aws-sdk/types" "3.408.0" + "@aws-sdk/util-arn-parser" "3.310.0" + "@smithy/protocol-http" "^2.0.5" + "@smithy/types" "^2.2.2" + "@smithy/util-config-provider" "^2.0.0" + tslib "^2.5.0" + "@aws-sdk/middleware-endpoint-discovery@3.405.0": version "3.405.0" resolved "https://registry.npmjs.org/@aws-sdk/middleware-endpoint-discovery/-/middleware-endpoint-discovery-3.405.0.tgz#14040780cf5a63eed08367ae508f0178c0694775" @@ -1402,6 +1721,16 @@ "@smithy/types" "^2.2.2" tslib "^2.5.0" +"@aws-sdk/middleware-expect-continue@3.408.0": + version "3.408.0" + resolved "https://registry.npmjs.org/@aws-sdk/middleware-expect-continue/-/middleware-expect-continue-3.408.0.tgz#00060b6b04401cfb5c3839484a4ef36cd58b9aaf" + integrity sha512-getv/MSPQnouOtpG8UIpTqpS/ecw4G0B2ctRktg+MhxUVqZM/0EF9nZZxsAHiHEF3dv06xTRuN27x/6WWFISSA== + dependencies: + "@aws-sdk/types" "3.408.0" + "@smithy/protocol-http" "^2.0.5" + "@smithy/types" "^2.2.2" + tslib "^2.5.0" + "@aws-sdk/middleware-flexible-checksums@3.400.0": version "3.400.0" resolved "https://registry.npmjs.org/@aws-sdk/middleware-flexible-checksums/-/middleware-flexible-checksums-3.400.0.tgz#f3cb1e9f42968d2177b583a83e5027b4d3f70e67" @@ -1416,6 +1745,20 @@ "@smithy/util-utf8" "^2.0.0" tslib "^2.5.0" +"@aws-sdk/middleware-flexible-checksums@3.408.0": + version "3.408.0" + resolved "https://registry.npmjs.org/@aws-sdk/middleware-flexible-checksums/-/middleware-flexible-checksums-3.408.0.tgz#cbf90666118fb1794cfbc28abf6014d24e89036b" + integrity sha512-rZeThuEma72W8RGs8ZiaLmbptuZF0Varu/01aI5NLUeWMs1QpJEWePbC7pbVtjEBrvh1WEU7PudGzt8NNXEaBw== + dependencies: + "@aws-crypto/crc32" "3.0.0" + "@aws-crypto/crc32c" "3.0.0" + "@aws-sdk/types" "3.408.0" + "@smithy/is-array-buffer" "^2.0.0" + "@smithy/protocol-http" "^2.0.5" + "@smithy/types" "^2.2.2" + "@smithy/util-utf8" "^2.0.0" + tslib "^2.5.0" + "@aws-sdk/middleware-host-header@3.398.0": version "3.398.0" resolved "https://registry.npmjs.org/@aws-sdk/middleware-host-header/-/middleware-host-header-3.398.0.tgz#4e5eeaa8ead96237e70cb6930dfb813a9c21ae8c" @@ -1426,6 +1769,16 @@ "@smithy/types" "^2.2.2" tslib "^2.5.0" +"@aws-sdk/middleware-host-header@3.408.0": + version "3.408.0" + resolved "https://registry.npmjs.org/@aws-sdk/middleware-host-header/-/middleware-host-header-3.408.0.tgz#7b84ce0336c7acd5bc1e82076ef95bde597d6edf" + integrity sha512-eofCXuSZ+ntbLzeCRdHzraXzgWqAplXU7W2qFFVC4O9lZBhADwNPI8n8x98TH0mftnmvZxh5Bo5U8WvEolIDkw== + dependencies: + "@aws-sdk/types" "3.408.0" + "@smithy/protocol-http" "^2.0.5" + "@smithy/types" "^2.2.2" + tslib "^2.5.0" + "@aws-sdk/middleware-location-constraint@3.398.0": version "3.398.0" resolved "https://registry.npmjs.org/@aws-sdk/middleware-location-constraint/-/middleware-location-constraint-3.398.0.tgz#ec7d046401d1f547d8dd55bf1c94ed067b10224b" @@ -1435,6 +1788,15 @@ "@smithy/types" "^2.2.2" tslib "^2.5.0" +"@aws-sdk/middleware-location-constraint@3.408.0": + version "3.408.0" + resolved "https://registry.npmjs.org/@aws-sdk/middleware-location-constraint/-/middleware-location-constraint-3.408.0.tgz#e36497b3f071bbe63156ed41a761283006d318a2" + integrity sha512-zUfUuhM91K1XLtBDAsFy6hs8egdI1KW2b8roAeHPCt4M3G8W1NP3NX5WLoS8yPe/gm3LHTpR8MgS5ZTtoV8Kvw== + dependencies: + "@aws-sdk/types" "3.408.0" + "@smithy/types" "^2.2.2" + tslib "^2.5.0" + "@aws-sdk/middleware-logger@3.398.0": version "3.398.0" resolved "https://registry.npmjs.org/@aws-sdk/middleware-logger/-/middleware-logger-3.398.0.tgz#1f336c329861c2aa7cc267d84ef41e74e98b1502" @@ -1444,6 +1806,15 @@ "@smithy/types" "^2.2.2" tslib "^2.5.0" +"@aws-sdk/middleware-logger@3.408.0": + version "3.408.0" + resolved "https://registry.npmjs.org/@aws-sdk/middleware-logger/-/middleware-logger-3.408.0.tgz#6c745f352ba95284ee78a397368c7dc79378da43" + integrity sha512-otwXPCubsGRFv8Hb6nKw6Vvnu4dC8CcPk05buStj42nF8QdjWrKGb2rDCvLph5lr576LF5HN+Y2moyOi7z/I7g== + dependencies: + "@aws-sdk/types" "3.408.0" + "@smithy/types" "^2.2.2" + tslib "^2.5.0" + "@aws-sdk/middleware-recursion-detection@3.398.0": version "3.398.0" resolved "https://registry.npmjs.org/@aws-sdk/middleware-recursion-detection/-/middleware-recursion-detection-3.398.0.tgz#e456d67fc88afac73004a8feae497d3ab24231e4" @@ -1454,6 +1825,16 @@ "@smithy/types" "^2.2.2" tslib "^2.5.0" +"@aws-sdk/middleware-recursion-detection@3.408.0": + version "3.408.0" + resolved "https://registry.npmjs.org/@aws-sdk/middleware-recursion-detection/-/middleware-recursion-detection-3.408.0.tgz#036fa1ee8b76d5a0947591590a7a3a867aea8cae" + integrity sha512-QfZwmX5z0IRC2c8pBi9VozSqbJw19V5oxyykSTqdjGe3CG3yNujXObV6xQesK67CWSnPb9wDgVGKUoYuIXwOxw== + dependencies: + "@aws-sdk/types" "3.408.0" + "@smithy/protocol-http" "^2.0.5" + "@smithy/types" "^2.2.2" + tslib "^2.5.0" + "@aws-sdk/middleware-sdk-ec2@3.398.0": version "3.398.0" resolved "https://registry.npmjs.org/@aws-sdk/middleware-sdk-ec2/-/middleware-sdk-ec2-3.398.0.tgz#c38cb3864c9cfc8f18f3aa43252c2e4ae6e8f9ef" @@ -1468,6 +1849,19 @@ "@smithy/types" "^2.2.2" tslib "^2.5.0" +"@aws-sdk/middleware-sdk-rds@3.408.0": + version "3.408.0" + resolved "https://registry.npmjs.org/@aws-sdk/middleware-sdk-rds/-/middleware-sdk-rds-3.408.0.tgz#fe4e5aed2b0f9fbaefd4dcd35deb7697ae75fa64" + integrity sha512-Xm85VJ5b0z5wAjHv4NKI5CK/T5RQ5KtQSZB86m//5p8YkP3PYcFAccFJIAFcPxtrCeCkYidd5bbTtGZjqzaFMw== + dependencies: + "@aws-sdk/types" "3.408.0" + "@aws-sdk/util-format-url" "3.408.0" + "@smithy/middleware-endpoint" "^2.0.5" + "@smithy/protocol-http" "^2.0.5" + "@smithy/signature-v4" "^2.0.0" + "@smithy/types" "^2.2.2" + tslib "^2.5.0" + "@aws-sdk/middleware-sdk-route53@3.398.0": version "3.398.0" resolved "https://registry.npmjs.org/@aws-sdk/middleware-sdk-route53/-/middleware-sdk-route53-3.398.0.tgz#37484344c10803d857a5b0d988c1f68e070a3374" @@ -1488,6 +1882,17 @@ "@smithy/types" "^2.2.2" tslib "^2.5.0" +"@aws-sdk/middleware-sdk-s3@3.408.0": + version "3.408.0" + resolved "https://registry.npmjs.org/@aws-sdk/middleware-sdk-s3/-/middleware-sdk-s3-3.408.0.tgz#4fc099a90cb97b848263ad49b1bfe8fa7219a550" + integrity sha512-7mEHtBeotQOXRmjK9HtZ4DifhdUMLEvNJzs6gZ4oFHI2VxC6S4uXe9uUTlO3qoeg/r+MbOaBknSVmxr71rTFeQ== + dependencies: + "@aws-sdk/types" "3.408.0" + "@aws-sdk/util-arn-parser" "3.310.0" + "@smithy/protocol-http" "^2.0.5" + "@smithy/types" "^2.2.2" + tslib "^2.5.0" + "@aws-sdk/middleware-sdk-sts@3.398.0": version "3.398.0" resolved "https://registry.npmjs.org/@aws-sdk/middleware-sdk-sts/-/middleware-sdk-sts-3.398.0.tgz#f7383c86eedba80666b1a009256a1127d1c4edc6" @@ -1498,6 +1903,16 @@ "@smithy/types" "^2.2.2" tslib "^2.5.0" +"@aws-sdk/middleware-sdk-sts@3.408.0": + version "3.408.0" + resolved "https://registry.npmjs.org/@aws-sdk/middleware-sdk-sts/-/middleware-sdk-sts-3.408.0.tgz#812deff5fa8388cda6d6908452d6223b059232f9" + integrity sha512-dIO9BTX049P2PwaeAK2lxJeA2rZi9/bWzMP1GIE60VrMDHmN5Ljvh1lLActECLAqNQIqN5Ub0bKV2tC/jMn+CA== + dependencies: + "@aws-sdk/middleware-signing" "3.408.0" + "@aws-sdk/types" "3.408.0" + "@smithy/types" "^2.2.2" + tslib "^2.5.0" + "@aws-sdk/middleware-signing@3.398.0": version "3.398.0" resolved "https://registry.npmjs.org/@aws-sdk/middleware-signing/-/middleware-signing-3.398.0.tgz#ad8f73c2e7ab564eea95568e2e109f41af6128ec" @@ -1511,6 +1926,19 @@ "@smithy/util-middleware" "^2.0.0" tslib "^2.5.0" +"@aws-sdk/middleware-signing@3.408.0": + version "3.408.0" + resolved "https://registry.npmjs.org/@aws-sdk/middleware-signing/-/middleware-signing-3.408.0.tgz#89bb56abf5cbddaa9b04026c74362765918b6ff2" + integrity sha512-flLiLKATJ4NLcLb7lPojyQ6NvLSyQ3axqIClqwMRnhSRxvREB7OgBKwmPecSl0I5JxsNEqo+mjARdMjUHadgWQ== + dependencies: + "@aws-sdk/types" "3.408.0" + "@smithy/property-provider" "^2.0.0" + "@smithy/protocol-http" "^2.0.5" + "@smithy/signature-v4" "^2.0.0" + "@smithy/types" "^2.2.2" + "@smithy/util-middleware" "^2.0.0" + tslib "^2.5.0" + "@aws-sdk/middleware-ssec@3.398.0": version "3.398.0" resolved "https://registry.npmjs.org/@aws-sdk/middleware-ssec/-/middleware-ssec-3.398.0.tgz#0c4f291e009833858935eb589a94d386cfc45a49" @@ -1520,6 +1948,15 @@ "@smithy/types" "^2.2.2" tslib "^2.5.0" +"@aws-sdk/middleware-ssec@3.408.0": + version "3.408.0" + resolved "https://registry.npmjs.org/@aws-sdk/middleware-ssec/-/middleware-ssec-3.408.0.tgz#6cb76f81ebded308bda6f323c3b61897ab867d33" + integrity sha512-bxPob/FXtb2m7PywNkW5kn08SVDsS/eAOZ8p61OiPh5VxlsPIaWUyjfA1a0jWMZALb6X6rTHAIeF93ywFiPxJg== + dependencies: + "@aws-sdk/types" "3.408.0" + "@smithy/types" "^2.2.2" + tslib "^2.5.0" + "@aws-sdk/middleware-user-agent@3.398.0": version "3.398.0" resolved "https://registry.npmjs.org/@aws-sdk/middleware-user-agent/-/middleware-user-agent-3.398.0.tgz#42542b3697ee6812cb8f81fd19757dc1592af0e0" @@ -1531,6 +1968,17 @@ "@smithy/types" "^2.2.2" tslib "^2.5.0" +"@aws-sdk/middleware-user-agent@3.408.0": + version "3.408.0" + resolved "https://registry.npmjs.org/@aws-sdk/middleware-user-agent/-/middleware-user-agent-3.408.0.tgz#c1909be2ce2c350273747923c4791a2d37bb0af8" + integrity sha512-UvlKri8/Mgf5W+tFU6ZJ65fC6HljcysIqfRFts/8Wurl322IS1I4j+pyjV2P6eK1054bzynfi3Trv+tRYHtVcA== + dependencies: + "@aws-sdk/types" "3.408.0" + "@aws-sdk/util-endpoints" "3.408.0" + "@smithy/protocol-http" "^2.0.5" + "@smithy/types" "^2.2.2" + tslib "^2.5.0" + "@aws-sdk/node-http-handler@^3.370.0": version "3.374.0" resolved "https://registry.npmjs.org/@aws-sdk/node-http-handler/-/node-http-handler-3.374.0.tgz#8cd58b4d9814713e26034c12eabc119c113a5bc4" @@ -1564,6 +2012,17 @@ "@smithy/types" "^2.2.2" tslib "^2.5.0" +"@aws-sdk/signature-v4-multi-region@3.408.0": + version "3.408.0" + resolved "https://registry.npmjs.org/@aws-sdk/signature-v4-multi-region/-/signature-v4-multi-region-3.408.0.tgz#752ca06cc834113c1b806a5850e520f79263816c" + integrity sha512-lFfQAG4ZO8Q7tYFDt9x7Hs1v45DjGTcXC/9c8g3Y6FS6WM/OScYtPXP0WDqQQt4BToHiDzcSxx4Ezxqvt3vJEA== + dependencies: + "@aws-sdk/types" "3.408.0" + "@smithy/protocol-http" "^2.0.5" + "@smithy/signature-v4" "^2.0.0" + "@smithy/types" "^2.2.2" + tslib "^2.5.0" + "@aws-sdk/token-providers@3.405.0": version "3.405.0" resolved "https://registry.npmjs.org/@aws-sdk/token-providers/-/token-providers-3.405.0.tgz#6af597f695afe0f7be20d5e10fb2cddccdd08470" @@ -1605,6 +2064,47 @@ "@smithy/util-utf8" "^2.0.0" tslib "^2.5.0" +"@aws-sdk/token-providers@3.408.0": + version "3.408.0" + resolved "https://registry.npmjs.org/@aws-sdk/token-providers/-/token-providers-3.408.0.tgz#1de7fbbe25b8526ee7f3eebac26f581e3488a5d3" + integrity sha512-D//BjUrVtDzDdCz1mRdZZSAc822fh75Ssq46smeS6S6NKq3vJeHhfrQJMyVU1GclXu1tn9AwykaQW5Jwb5im+g== + dependencies: + "@aws-crypto/sha256-browser" "3.0.0" + "@aws-crypto/sha256-js" "3.0.0" + "@aws-sdk/middleware-host-header" "3.408.0" + "@aws-sdk/middleware-logger" "3.408.0" + "@aws-sdk/middleware-recursion-detection" "3.408.0" + "@aws-sdk/middleware-user-agent" "3.408.0" + "@aws-sdk/types" "3.408.0" + "@aws-sdk/util-endpoints" "3.408.0" + "@aws-sdk/util-user-agent-browser" "3.408.0" + "@aws-sdk/util-user-agent-node" "3.408.0" + "@smithy/config-resolver" "^2.0.5" + "@smithy/fetch-http-handler" "^2.0.5" + "@smithy/hash-node" "^2.0.5" + "@smithy/invalid-dependency" "^2.0.5" + "@smithy/middleware-content-length" "^2.0.5" + "@smithy/middleware-endpoint" "^2.0.5" + "@smithy/middleware-retry" "^2.0.5" + "@smithy/middleware-serde" "^2.0.5" + "@smithy/middleware-stack" "^2.0.0" + "@smithy/node-config-provider" "^2.0.6" + "@smithy/node-http-handler" "^2.0.5" + "@smithy/property-provider" "^2.0.0" + "@smithy/protocol-http" "^2.0.5" + "@smithy/shared-ini-file-loader" "^2.0.6" + "@smithy/smithy-client" "^2.0.5" + "@smithy/types" "^2.2.2" + "@smithy/url-parser" "^2.0.5" + "@smithy/util-base64" "^2.0.0" + "@smithy/util-body-length-browser" "^2.0.0" + "@smithy/util-body-length-node" "^2.1.0" + "@smithy/util-defaults-mode-browser" "^2.0.6" + "@smithy/util-defaults-mode-node" "^2.0.6" + "@smithy/util-retry" "^2.0.0" + "@smithy/util-utf8" "^2.0.0" + tslib "^2.5.0" + "@aws-sdk/types@3.398.0", "@aws-sdk/types@^3.222.0", "@aws-sdk/types@^3.398.0": version "3.398.0" resolved "https://registry.npmjs.org/@aws-sdk/types/-/types-3.398.0.tgz#8ce02559536670f9188cddfce32e9dd12b4fe965" @@ -1613,6 +2113,14 @@ "@smithy/types" "^2.2.2" tslib "^2.5.0" +"@aws-sdk/types@3.408.0": + version "3.408.0" + resolved "https://registry.npmjs.org/@aws-sdk/types/-/types-3.408.0.tgz#eb10377130f23aef6594eb0e0a14e82dfa2e4d5a" + integrity sha512-sIsR5224xWQTW7O6h4V0S7DMWs4bK4DCunwOo7Avpq7ZVmH2YyLTs0n4NGL186j8xTosycF1ACQgpM48SLIvaA== + dependencies: + "@smithy/types" "^2.2.2" + tslib "^2.5.0" + "@aws-sdk/util-arn-parser@3.310.0": version "3.310.0" resolved "https://registry.npmjs.org/@aws-sdk/util-arn-parser/-/util-arn-parser-3.310.0.tgz#861ff8810851be52a320ec9e4786f15b5fc74fba" @@ -1628,6 +2136,14 @@ "@aws-sdk/types" "3.398.0" tslib "^2.5.0" +"@aws-sdk/util-endpoints@3.408.0": + version "3.408.0" + resolved "https://registry.npmjs.org/@aws-sdk/util-endpoints/-/util-endpoints-3.408.0.tgz#397c6d9236434063127301f9c4d2117bdb978621" + integrity sha512-N1D5cKEkCqf5Q7IF/pI9kfcNrT+/5ctZ6cQo4Ex6xaOcnUzdOZcXdPqaMRZVZRn8enjK2SpoLlRpXGISOugPaw== + dependencies: + "@aws-sdk/types" "3.408.0" + tslib "^2.5.0" + "@aws-sdk/util-format-url@3.398.0": version "3.398.0" resolved "https://registry.npmjs.org/@aws-sdk/util-format-url/-/util-format-url-3.398.0.tgz#dab4089d77f77db1566d8a914da7ebf92cb84817" @@ -1638,6 +2154,16 @@ "@smithy/types" "^2.2.2" tslib "^2.5.0" +"@aws-sdk/util-format-url@3.408.0": + version "3.408.0" + resolved "https://registry.npmjs.org/@aws-sdk/util-format-url/-/util-format-url-3.408.0.tgz#f60d0af1c24f61377d8d2bb25b3130d485e7aee4" + integrity sha512-kk4xkTrVH2+/dGCKsbTPtAsza11dLM9qFM4PNhUWPvBfBvpON54RY7WOOxmEpmEQId1pPhns3wYUucmFUaPSSw== + dependencies: + "@aws-sdk/types" "3.408.0" + "@smithy/querystring-builder" "^2.0.5" + "@smithy/types" "^2.2.2" + tslib "^2.5.0" + "@aws-sdk/util-locate-window@^3.0.0": version "3.310.0" resolved "https://registry.npmjs.org/@aws-sdk/util-locate-window/-/util-locate-window-3.310.0.tgz#b071baf050301adee89051032bd4139bba32cc40" @@ -1655,6 +2181,16 @@ bowser "^2.11.0" tslib "^2.5.0" +"@aws-sdk/util-user-agent-browser@3.408.0": + version "3.408.0" + resolved "https://registry.npmjs.org/@aws-sdk/util-user-agent-browser/-/util-user-agent-browser-3.408.0.tgz#60b9660d4eb8c7ee9b3dc941436f1a025cc62567" + integrity sha512-wOVjDprG5h6kM8aJZk/tRX/RgxNxr73d6kIsUePlAgil13q62M9lcFMcIXduqtDsa1B6FfVB2wx/pyUuOZri5g== + dependencies: + "@aws-sdk/types" "3.408.0" + "@smithy/types" "^2.2.2" + bowser "^2.11.0" + tslib "^2.5.0" + "@aws-sdk/util-user-agent-node@3.405.0": version "3.405.0" resolved "https://registry.npmjs.org/@aws-sdk/util-user-agent-node/-/util-user-agent-node-3.405.0.tgz#4904eb60b0cb9d8b31b773f7afc9568fb217bd4d" @@ -1665,6 +2201,16 @@ "@smithy/types" "^2.2.2" tslib "^2.5.0" +"@aws-sdk/util-user-agent-node@3.408.0": + version "3.408.0" + resolved "https://registry.npmjs.org/@aws-sdk/util-user-agent-node/-/util-user-agent-node-3.408.0.tgz#2976414ed440d0a338b1ec6373a220ae71c08cab" + integrity sha512-BzMFV+cIXrtfcfJk3GpXnkANFkzZisvAtD306TMgIscn5FF26K1jD5DU+h5Q5WMq7gx+oXh9kJ3Lu3hi7hahKQ== + dependencies: + "@aws-sdk/types" "3.408.0" + "@smithy/node-config-provider" "^2.0.6" + "@smithy/types" "^2.2.2" + tslib "^2.5.0" + "@aws-sdk/util-utf8-browser@^3.0.0": version "3.259.0" resolved "https://registry.npmjs.org/@aws-sdk/util-utf8-browser/-/util-utf8-browser-3.259.0.tgz#3275a6f5eb334f96ca76635b961d3c50259fd9ff"