Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 7 additions & 1 deletion test/integ.node-proxy-agent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,20 @@ import * as cdk from 'aws-cdk-lib';
import * as lambda from 'aws-cdk-lib/aws-lambda';
import * as s3_assets from 'aws-cdk-lib/aws-s3-assets';
import * as cr from 'aws-cdk-lib/custom-resources';
import { LAMBDA_CREATE_NEW_POLICIES_WITH_ADDTOROLEPOLICY } from 'aws-cdk-lib/cx-api';

import { ASSET_FILE, LAYER_SOURCE_DIR } from '../lib';

/**
* Test verifies that node-proxy-agent is invoked successfully inside Lambda runtime.
*/

const app = new cdk.App();
const app = new cdk.App({
postCliContext: {
[LAMBDA_CREATE_NEW_POLICIES_WITH_ADDTOROLEPOLICY]: false,
},
});

const stack = new cdk.Stack(app, 'lambda-layer-node-proxy-agent-integ-stack');
const asset = new s3_assets.Asset(stack, 'node-proxy-asset', {
path: ASSET_FILE,
Expand Down
Loading