sparse-intern-71089
11/30/2021, 6:52 PMbillowy-army-68599
witty-morning-22479
12/01/2021, 1:21 PMconst adsMarmaladeRequestLambdaRole = new awsnative.iam.Role(
`ads-${env}-marmalade-request-lambda-role`,
{
assumeRolePolicyDocument: assumeRolePolicyForLambda,
},
);
const adsMarmaladeRequestLambdaParams = {
publish: true,
path: '/',
name: `ads-${env}-marmalade-request`,
role: adsMarmaladeRequestLambdaRole.arn,
code: {
s3Bucket: 'ads-delivery-sandbox-adthrive',
s3Key: `${commit}/ads-marmalade-request.zip`,
},
memorySize: 128,
runtime: 'nodejs12.x',
handler: 'index.handler',
timeout: 3,
tracingConfig: {
mode: FunctionTracingConfigMode.PassThrough,
},
};
const adsMarmaladeRequestLambda = new awsnative.lambda.Function(
`ads-${env}-marmalade-request`,
adsMarmaladeRequestLambdaParams,
);
witty-morning-22479
12/01/2021, 1:21 PMwitty-morning-22479
12/01/2021, 1:22 PM