@aws-cdk/aws-codeguruprofiler
Advanced tools
Comparing version 1.171.0 to 1.172.0
{ | ||
"version": "2", | ||
"toolVersion": "1.66.0", | ||
"toolVersion": "1.67.0", | ||
"snippets": { | ||
@@ -5,0 +5,0 @@ "2abbe3e26b0721778d592b132b322c63656994244f814f5cacc26c3ff2e4bd9f": { |
@@ -10,3 +10,3 @@ "use strict"; | ||
// See: docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-resource-specification.html | ||
// @cfn2ts:meta@ {"generated":"2022-08-31T19:33:46.784Z","fingerprint":"K8lcrYTnlrfRa3ph60VPcH0wSCcKloO9dwENcCIByeQ="} | ||
// @cfn2ts:meta@ {"generated":"2022-09-07T22:56:41.313Z","fingerprint":"K8lcrYTnlrfRa3ph60VPcH0wSCcKloO9dwENcCIByeQ="} | ||
/* eslint-disable max-len */ // This is generated code - line lengths are difficult to control | ||
@@ -154,3 +154,3 @@ const cdk = require("@aws-cdk/core"); | ||
_a = JSII_RTTI_SYMBOL_1; | ||
CfnProfilingGroup[_a] = { fqn: "@aws-cdk/aws-codeguruprofiler.CfnProfilingGroup", version: "1.171.0" }; | ||
CfnProfilingGroup[_a] = { fqn: "@aws-cdk/aws-codeguruprofiler.CfnProfilingGroup", version: "1.172.0" }; | ||
/** | ||
@@ -213,2 +213,2 @@ * The CloudFormation resource type name for this resource class. | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29kZWd1cnVwcm9maWxlci5nZW5lcmF0ZWQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJjb2RlZ3VydXByb2ZpbGVyLmdlbmVyYXRlZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7QUFBQSwrRUFBK0U7QUFDL0UsK0RBQStEO0FBQy9ELDhGQUE4RjtBQUM5RixzSEFBc0g7QUFFdEgsNEJBQTRCLENBQUMsaUVBQWlFO0FBRTlGLHFDQUFxQztBQUNy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3BlcnRpZXMpO1xuICAgIH1cbiAgICBwcm9wZXJ0aWVzID0gcHJvcGVydGllcyA9PSBudWxsID8ge30gOiBwcm9wZXJ0aWVzO1xuICAgIGlmICh0eXBlb2YgcHJvcGVydGllcyAhPT0gJ29iamVjdCcpIHtcbiAgICAgICAgcmV0dXJuIG5ldyBjZm5fcGFyc2UuRnJvbUNsb3VkRm9ybWF0aW9uUmVzdWx0KHByb3BlcnRpZXMpO1xuICAgIH1cbiAgICBjb25zdCByZXQgPSBuZXcgY2ZuX3BhcnNlLkZyb21DbG91ZEZvcm1hdGlvblByb3BlcnR5T2JqZWN0PENmblByb2ZpbGluZ0dyb3VwLkNoYW5uZWxQcm9wZXJ0eT4oKTtcbiAgICByZXQuYWRkUHJvcGVydHlSZXN1bHQoJ2NoYW5uZWxJZCcsICdjaGFubmVsSWQnLCBwcm9wZXJ0aWVzLmNoYW5uZWxJZCAhPSBudWxsID8gY2ZuX3BhcnNlLkZyb21DbG91ZEZvcm1hdGlvbi5nZXRTdHJpbmcocHJvcGVydGllcy5jaGFubmVsSWQpIDogdW5kZWZpbmVkKTtcbiAgICByZXQuYWRkUHJvcGVydHlSZXN1bHQoJ2NoYW5uZWxVcmknLCAnY2hhbm5lbFVyaScsIGNmbl9wYXJzZS5Gcm9tQ2xvdWRGb3JtYXRpb24uZ2V0U3RyaW5nKHByb3BlcnRpZXMuY2hhbm5lbFVyaSkpO1xuICAgIHJldC5hZGRVbnJlY29nbml6ZWRQcm9wZXJ0aWVzQXNFeHRyYShwcm9wZXJ0aWVzKTtcbiAgICByZXR1cm4gcmV0O1xufVxuIl19 |
@@ -133,3 +133,3 @@ "use strict"; | ||
_a = JSII_RTTI_SYMBOL_1; | ||
ProfilingGroup[_a] = { fqn: "@aws-cdk/aws-codeguruprofiler.ProfilingGroup", version: "1.171.0" }; | ||
ProfilingGroup[_a] = { fqn: "@aws-cdk/aws-codeguruprofiler.ProfilingGroup", version: "1.172.0" }; | ||
//# sourceMappingURL=data:application/json;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dyb3VwLmF0dHJBcm4sIHtcbiAgICAgIHNlcnZpY2U6ICdjb2RlZ3VydS1wcm9maWxlcicsXG4gICAgICByZXNvdXJjZTogJ3Byb2ZpbGluZ0dyb3VwJyxcbiAgICAgIHJlc291cmNlTmFtZTogdGhpcy5waHlzaWNhbE5hbWUsXG4gICAgfSk7XG4gIH1cblxuICBwcml2YXRlIGdlbmVyYXRlVW5pcXVlSWQoKTogc3RyaW5nIHtcbiAgICBjb25zdCBuYW1lID0gTmFtZXMudW5pcXVlSWQodGhpcyk7XG4gICAgaWYgKG5hbWUubGVuZ3RoID4gMjQwKSB7XG4gICAgICByZXR1cm4gbmFtZS5zdWJzdHJpbmcoMCwgMTIwKSArIG5hbWUuc3Vic3RyaW5nKG5hbWUubGVuZ3RoIC0gMTIwKTtcbiAgICB9XG4gICAgcmV0dXJuIG5hbWU7XG4gIH1cblxufVxuIl19 |
{ | ||
"name": "@aws-cdk/aws-codeguruprofiler", | ||
"version": "1.171.0", | ||
"version": "1.172.0", | ||
"description": "The CDK Construct Library for AWS::CodeGuruProfiler", | ||
@@ -84,17 +84,17 @@ "main": "lib/index.js", | ||
"devDependencies": { | ||
"@aws-cdk/assertions": "1.171.0", | ||
"@aws-cdk/cdk-build-tools": "1.171.0", | ||
"@aws-cdk/integ-runner": "1.171.0", | ||
"@aws-cdk/cfn2ts": "1.171.0", | ||
"@aws-cdk/pkglint": "1.171.0", | ||
"@aws-cdk/assertions": "1.172.0", | ||
"@aws-cdk/cdk-build-tools": "1.172.0", | ||
"@aws-cdk/integ-runner": "1.172.0", | ||
"@aws-cdk/cfn2ts": "1.172.0", | ||
"@aws-cdk/pkglint": "1.172.0", | ||
"@types/jest": "^27.5.2" | ||
}, | ||
"dependencies": { | ||
"@aws-cdk/aws-iam": "1.171.0", | ||
"@aws-cdk/core": "1.171.0", | ||
"@aws-cdk/aws-iam": "1.172.0", | ||
"@aws-cdk/core": "1.172.0", | ||
"constructs": "^3.3.69" | ||
}, | ||
"peerDependencies": { | ||
"@aws-cdk/aws-iam": "1.171.0", | ||
"@aws-cdk/core": "1.171.0", | ||
"@aws-cdk/aws-iam": "1.172.0", | ||
"@aws-cdk/core": "1.172.0", | ||
"constructs": "^3.3.69" | ||
@@ -101,0 +101,0 @@ }, |
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
+ Added@aws-cdk/aws-iam@1.172.0(transitive)
+ Added@aws-cdk/cloud-assembly-schema@1.172.0(transitive)
+ Added@aws-cdk/core@1.172.0(transitive)
+ Added@aws-cdk/cx-api@1.172.0(transitive)
+ Added@aws-cdk/region-info@1.172.0(transitive)
- Removed@aws-cdk/aws-iam@1.171.0(transitive)
- Removed@aws-cdk/cloud-assembly-schema@1.171.0(transitive)
- Removed@aws-cdk/core@1.171.0(transitive)
- Removed@aws-cdk/cx-api@1.171.0(transitive)
- Removed@aws-cdk/region-info@1.171.0(transitive)
Updated@aws-cdk/aws-iam@1.172.0
Updated@aws-cdk/core@1.172.0