@renovosolutions/cdk-library-aws-iam-access-key
Advanced tools
Comparing version 0.0.35 to 0.0.36
@@ -1,1 +0,1 @@ | ||
crhelper | ||
crhelper==2.0.11 |
@@ -66,6 +66,18 @@ "use strict"; | ||
}); | ||
const bundlingCmds = [ | ||
'mkdir -p /asset-output', | ||
'pip install -r /asset-input/requirements.txt -t /asset-output', | ||
'cp index.py /asset-output/index.py', | ||
]; | ||
const onEventHandler = new aws_cdk_lib_1.aws_lambda.Function(this, 'OnEventHandler', { | ||
runtime: aws_cdk_lib_1.aws_lambda.Runtime.PYTHON_3_9, | ||
handler: 'index.handler', | ||
code: props.lambdaCode ?? aws_cdk_lib_1.aws_lambda.Code.fromAsset(path.join(__dirname, '../lambda')), | ||
code: props.lambdaCode ?? aws_cdk_lib_1.aws_lambda.Code.fromAsset(path.join(__dirname, '../lambda'), { | ||
bundling: { | ||
image: aws_cdk_lib_1.aws_lambda.Runtime.PYTHON_3_9.bundlingImage, | ||
command: [ | ||
'bash', '-c', bundlingCmds.join(' && '), | ||
], | ||
}, | ||
}), | ||
timeout: aws_cdk_lib_1.Duration.seconds(30), | ||
@@ -90,3 +102,3 @@ role, | ||
_a = JSII_RTTI_SYMBOL_1; | ||
AccessKey[_a] = { fqn: "@renovosolutions/cdk-library-aws-iam-access-key.AccessKey", version: "0.0.35" }; | ||
AccessKey[_a] = { fqn: "@renovosolutions/cdk-library-aws-iam-access-key.AccessKey", version: "0.0.36" }; | ||
class AccessKeyFunctionCodeCache extends aws_cdk_lib_1.aws_s3.Bucket { | ||
@@ -193,4 +205,4 @@ constructor(scope, id, props) { | ||
_b = JSII_RTTI_SYMBOL_1; | ||
AccessKeyFunctionCodeCache[_b] = { fqn: "@renovosolutions/cdk-library-aws-iam-access-key.AccessKeyFunctionCodeCache", version: "0.0.35" }; | ||
AccessKeyFunctionCodeCache[_b] = { fqn: "@renovosolutions/cdk-library-aws-iam-access-key.AccessKeyFunctionCodeCache", version: "0.0.36" }; | ||
; | ||
//# sourceMappingURL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XRlbWVudCh7XG4gICAgICAgICAgZWZmZWN0OiBpYW0uRWZmZWN0LkFMTE9XLFxuICAgICAgICAgIHNpZDogJ0lhbUFsbG93S2V5TWFuYWdlbWVudFBvbGljeScsXG4gICAgICAgICAgYWN0aW9uczogW1xuICAgICAgICAgICAgJ2lhbTpDcmVhdGVBY2Nlc3NLZXknLFxuICAgICAgICAgICAgJ2lhbTpEZWxldGVBY2Nlc3NLZXknLFxuICAgICAgICAgICAgJ2lhbTpMaXN0QWNjZXNzS2V5cycsXG4gICAgICAgICAgXSxcbiAgICAgICAgICByZXNvdXJjZXM6IFsnKiddLFxuICAgICAgICAgIGNvbmRpdGlvbnM6IHtcbiAgICAgICAgICAgIFN0cmluZ0VxdWFsczoge1xuICAgICAgICAgICAgICAnaWFtOlJlc291cmNlVGFnL0NmblN0YWNrSWRGb3JBY2Nlc3NLZXlMaWJyYXJ5JzogU3RhY2sub2YodGhpcykuc3RhY2tJZCxcbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgfSxcbiAgICAgICAgfSksXG4gICAgICBdLFxuICAgIH0pO1xuXG4gICAgaWYgKHByb3BzLmttc0tleSkge1xuICAgICAgbGFtYmRhUG9saWN5LmFkZFN0YXRlbWVudHMobmV3IGlhbS5Qb2xpY3lTdGF0ZW1lbnQoe1xuICAgICAgICBlZmZlY3Q6IGlhbS5FZmZlY3QuQUxMT1csXG4gICAgICAgIHNpZDogJ0ttc0FsbG93S2V5TWFuYWdlbWVudFBvbGljeScsXG4gICAgICAgIGFjdGlvbnM6IFtcbiAgICAgICAgICAna21zOkVuY3J5cHQnLFxuICAgICAgICAgICdrbXM6RGVjcnlwdCcsXG4gICAgICAgICAgJ2ttczpSZUVuY3J5cHQqJyxcbiAgICAgICAgICAna21zOkdlbmVyYXRlRGF0YUtleSonLFxuICAgICAgICBdLFxuICAgICAgICByZXNvdXJjZXM6IFtwcm9wcy5rbXNLZXkua2V5QXJuXSxcbiAgICAgIH0pKTtcbiAgICB9XG5cbiAgICB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SZXNvdXJjZScsXG4gICAgICAgICAgICAnc2VjcmV0c21hbmFnZXI6UmVzdG9yZVNlY3JldCcsXG4gICAgICAgICAgXSxcbiAgICAgICAgICByZXNvdXJjZXM6IFtgYXJuOmF3czpzZWNyZXRzbWFuYWdlcjoke1N0YWNrLm9mKHRoaXMpLnJlZ2lvbn06JHtTdGFjay5vZih0aGlzKS5hY2NvdW50fTpzZWNyZXQ6JHtzZWNyZXROYW1lfS0qYF0sXG4gICAgICAgIH0pLFxuICAgICAgICBuZXcgaWFtLlBvbGljeVN0YXRlbWVudCh7XG4gICAgICAgICAgZWZmZWN0OiBpYW0uRWZmZWN0LkFMTE9XLFxuICAgICAgICAgIHNpZDogJ0lhbUFsbG93S2V5TWFuYWdlbWVudFBvbGljeScsXG4gICAgICAgICAgYWN0aW9uczogW1xuICAgICAgICAgICAgJ2lhbTpDcmVhdGVBY2Nlc3NLZXknLFxuICAgICAgICAgICAgJ2lhbTpEZWxldGVBY2Nlc3NLZXknLFxuICAgICAgICAgICAgJ2lhbTpMaXN0QWNjZXNzS2V5cycsXG4gICAgICAgICAgXSxcbiAgICAgICAgICByZXNvdXJjZXM6IFsnKiddLFxuICAgICAgICAgIGNvbmRpdGlvbnM6IHtcbiAgICAgICAgICAgIFN0cmluZ0VxdWFsczoge1xuICAgICAgICAgICAgICAnaWFtOlJlc291cmNlVGFnL0NmblN0YWNrSWRGb3JBY2Nlc3NLZXlMaWJyYXJ5JzogU3RhY2sub2YodGhpcykuc3RhY2tJZCxcbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgfSxcbiAgICAgICAgfSksXG4gICAgICBdLFxuICAgIH0pO1xuXG4gICAgaWYgKHByb3BzLmttc0tleSkge1xuICAgICAgbGFtYmRhUG9saWN5LmFkZFN0YXRlbWVudHMobmV3IGlhbS5Qb2xpY3lTdGF0ZW1lbnQoe1xuICAgICAgICBlZmZlY3Q6IGlhbS5FZmZlY3QuQUxMT1csXG4gICAgICAgIHNpZDogJ0ttc0FsbG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0LlxuICAgKlxuICAgKiBAcGFyYW0gcHJpbmNpcGFsT3JnUGF0aHMgVGhlIG9yZ2FuaXphdGlvbmFsIHVuaXQgcGF0aHMgdG8gYWRkIGFjY2VzcyBmb3IuXG4gICAqL1xuICBwdWJsaWMgYWRkT3JnT3VBY2Nlc3NQb2xpY3kocHJpbmNpcGFsT3JnUGF0aHM6IHN0cmluZ1tdKTogaWFtLkFkZFRvUmVzb3VyY2VQb2xpY3lSZXN1bHQge1xuICAgIHJldHVybiB0aGlzLmFkZFRvUmVzb3VyY2VQb2xpY3kobmV3IGlhbS5Qb2xpY3lTdGF0ZW1lbnQoe1xuICAgICAgZWZmZWN0OiBpYW0uRWZmZWN0LkFMTE9XLFxuICAgICAgcHJpbmNpcGFsczogW25ldyBpYW0uU3RhclByaW5jaXBhbF0sXG4gICAgICBhY3Rpb25zOiBbJ3MzOkdldE9iamVjdCddLFxuICAgICAgcmVzb3VyY2VzOiBbdGhpcy5hcm5Gb3JPYmplY3RzKCcqJyldLFxuICAgICAgY29uZGl0aW9uczoge1xuICAgICAgICBTdHJpbmdMaWtlOiB7XG4gICAgICAgICAgJ2F3czpQcmluY2lwYWxPcmdQYXRocyc6IHByaW5jaXBhbE9yZ1BhdGhzLFxuICAgICAgICB9LFxuICAgICAgfSxcbiAgICB9KSk7XG4gIH1cbn07XG4iXX0= |
@@ -84,3 +84,3 @@ { | ||
}, | ||
"version": "0.0.35", | ||
"version": "0.0.36", | ||
"jest": { | ||
@@ -87,0 +87,0 @@ "testMatch": [ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
253288
379