@aws-cdk/aws-servicecatalog
Advanced tools
Comparing version 1.159.0 to 1.160.0
@@ -46,3 +46,3 @@ "use strict"; | ||
_a = JSII_RTTI_SYMBOL_1; | ||
CloudFormationTemplate[_a] = { fqn: "@aws-cdk/aws-servicecatalog.CloudFormationTemplate", version: "1.159.0" }; | ||
CloudFormationTemplate[_a] = { fqn: "@aws-cdk/aws-servicecatalog.CloudFormationTemplate", version: "1.160.0" }; | ||
/** | ||
@@ -49,0 +49,0 @@ * Template code from a Url. |
@@ -96,3 +96,3 @@ "use strict"; | ||
if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") { | ||
Error.captureStackTrace(error, this.constructor); | ||
Error.captureStackTrace(error, Portfolio); | ||
} | ||
@@ -156,3 +156,3 @@ throw error; | ||
_a = JSII_RTTI_SYMBOL_1; | ||
Portfolio[_a] = { fqn: "@aws-cdk/aws-servicecatalog.Portfolio", version: "1.159.0" }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicG9ydGZvbGlvLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsicG9ydGZvbGlvLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7OztBQUFBLHdDQUF3QztBQUV4QyxxQ0FBcUM7QUFNckMsdUVBQW1FO0FBQ25FLHlDQUE0QztBQUM1QyxxREFBc0Q7QUFFdEQseUVBQStHO0FBZ0ovRyxNQUFlLGFBQWMsU0FBUSxHQUFHLENBQUMsUUFBUTtJQUFqRDs7UUFHbUIseUJBQW9CLEdBQWdCLElBQUksR0FBRyxFQUFFLENBQUM7SUFzRmpFLENBQUM7SUFwRlEsZ0JBQWdCLENBQUMsSUFBZTtRQUNyQyxJQUFJLENBQUMsa0JBQWtCLENBQUMsSUFBSSxDQUFDLE9BQU8sRUFBRSxJQUFJLENBQUMsSUFBSSxDQUFDLElBQUksQ0FBQyxDQUFDO0tBQ3ZEO0lBRU0sZ0JBQWdCLENBQUM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JvcHMudGFnT3B0aW9ucyAhPT0gdW5kZWZpbmVkKSB7XG4gICAgICB0aGlzLmFzc29jaWF0ZVRhZ09wdGlvbnMocHJvcHMudGFnT3B0aW9ucyk7XG4gICAgfVxuICB9XG5cbiAgcHJvdGVjdGVkIGdlbmVyYXRlVW5pcXVlSGFzaCh2YWx1ZTogc3RyaW5nKTogc3RyaW5nIHtcbiAgICByZXR1cm4gaGFzaFZhbHVlcyhjZGsuTmFtZXMubm9kZVVuaXF1ZUlkKHRoaXMucG9ydGZvbGlvLm5vZGUpLCB2YWx1ZSk7XG4gIH1cblxuICBwcml2YXRlIHZhbGlkYXRlUG9ydGZvbGlvUHJvcHMocHJvcHM6IFBvcnRmb2xpb1Byb3BzKSB7XG4gICAgSW5wdXRWYWxpZGF0b3IudmFsaWRhdGVMZW5ndGgodGhpcy5ub2RlLnBhdGgsICdwb3J0Zm9saW8gZGlzcGxheSBuYW1lJywgMSwgMTAwLCBwcm9wcy5kaXNwbGF5TmFtZSk7XG4gICAgSW5wdXRWYWxpZGF0b3IudmFsaWRhdGVMZW5ndGgodGhpcy5ub2RlLnBhdGgsICdwb3J0Zm9saW8gcHJvdmlkZXIgbmFtZScsIDEsIDUwLCBwcm9wcy5wcm92aWRlck5hbWUpO1xuICAgIElucHV0VmFsaWRhdG9yLnZhbGlkYXRlTGVuZ3RoKHRoaXMubm9kZS5wYXRoLCAncG9ydGZvbGlvIGRlc2NyaXB0aW9uJywgMCwgMjAwMCwgcHJvcHMuZGVzY3JpcHRpb24pO1xuICB9XG59XG4iXX0= |
@@ -9,3 +9,3 @@ "use strict"; | ||
static associateProductWithPortfolio(portfolio, product, options) { | ||
validation_1.InputValidator.validateLength(this.prettyPrintAssociation(portfolio, product), 'description', 0, 2000, options === null || options === void 0 ? void 0 : options.description); | ||
validation_1.InputValidator.validateLength(this.prettyPrintAssociation(portfolio, product), 'description', 0, 2000, options?.description); | ||
const associationKey = util_1.hashValues(portfolio.node.addr, product.node.addr, product.stack.node.addr); | ||
@@ -90,3 +90,2 @@ const constructId = `PortfolioProductAssociation${associationKey}`; | ||
static deployWithStackSets(portfolio, product, options) { | ||
var _a; | ||
const association = this.associateProductWithPortfolio(portfolio, product, options); | ||
@@ -101,3 +100,3 @@ // Check if a launch role has already been set. | ||
acceptLanguage: options.messageLanguage, | ||
description: (_a = options.description) !== null && _a !== void 0 ? _a : '', | ||
description: options.description ?? '', | ||
portfolioId: portfolio.portfolioId, | ||
@@ -181,2 +180,2 @@ productId: product.productId, | ||
exports.AssociationManager = AssociationManager; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXNzb2NpYXRpb24tbWFuYWdlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImFzc29jaWF0aW9uLW1hbmFnZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBU0EsMEVBR3FDO0FBRXJDLGlDQUFvQztBQUNwQyw2Q0FBOEM7QUFFOUMsTUFBYSxrQkFBa0I7SUFDdEIsTUFBTSxDQUFDLDZCQUE2QixDQUN6QyxTQUFxQixFQUFFLE9BQWlCLEVBQUUsT0FBNEM7UUFFdEYsMkJBQWMsQ0FBQyxjQUFjLENBQUMsSUFBSSxDQUFDLHNCQUFzQixDQUFDLFNBQVMsRUFBRSxPQUFPLENBQUMsRUFBRSxhQUFhLEVBQUUsQ0FBQyxFQUFFLElBQUksRUFBRSxPQUFPLGFBQVAsT0FBTyx1QkFBUCxPQUFPLENBQUUsV0FBVyxDQUFDLENBQUM7UUFDN0gsTUFBTSxjQUFjLEdBQUcsaUJBQVUsQ0FBQyxTQUFTLENBQUMsSUFBSSxDQUFDLElBQUksRUFBRSxPQUFPLENBQUMsSUFBSSxDQUFDLElBQUksRUFBRSxPQUFPLENBQUMsS0FBSyxDQUFDLElBQUksQ0FBQyxJQUFJLENBQUMsQ0FBQztRQUNuRyxNQUFNLFdBQVcsR0FBRyw4QkFBOEIsY0FBYyx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Bc3NlcnREZXNjcmlwdGlvbjogYXNzZXJ0aW9uLmRlc2NyaXB0aW9uLFxuICAgICAgfSk7XG4gICAgICByZXR1cm4gZm9ybWF0dGVkQXNzZXJ0aW9ucztcbiAgICB9LCBuZXcgQXJyYXk8eyBBc3NlcnQ6IHN0cmluZywgQXNzZXJ0RGVzY3JpcHRpb246IHN0cmluZyB8IHVuZGVmaW5lZCB9PigpKTtcbiAgfTtcbn1cblxuaW50ZXJmYWNlIExhdW5jaFJvbGVBcm5PcHRpb24ge1xuICByZWFkb25seSByb2xlQXJuOiBzdHJpbmcsXG4gIHJlYWRvbmx5IGxvY2FsUm9sZU5hbWU/OiBuZXZlcixcbn1cblxuaW50ZXJmYWNlIExhdW5jaFJvbGVOYW1lT3B0aW9uIHtcbiAgcmVhZG9ubHkgbG9jYWxSb2xlTmFtZTogc3RyaW5nLFxuICByZWFkb25seSByb2xlQXJuPzogbmV2ZXIsXG59XG5cbnR5cGUgTGF1bmNoUm9sZUNvbnN0cmFpbnRSb2xlT3B0aW9ucyA9IExhdW5jaFJvbGVBcm5PcHRpb24gfCBMYXVuY2hSb2xlTmFtZU9wdGlvbjtcbiJdfQ== |
@@ -26,3 +26,3 @@ "use strict"; | ||
if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") { | ||
Error.captureStackTrace(error, this.constructor); | ||
Error.captureStackTrace(error, ProductStackHistory); | ||
} | ||
@@ -89,3 +89,3 @@ throw error; | ||
_a = JSII_RTTI_SYMBOL_1; | ||
ProductStackHistory[_a] = { fqn: "@aws-cdk/aws-servicecatalog.ProductStackHistory", version: "1.159.0" }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvZHVjdC1zdGFjay1oaXN0b3J5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsicHJvZHVjdC1zdGFjay1oaXN0b3J5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7OztBQUFB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GlzdCBpbiAke3Byb2R1Y3RTdGFja1NuYXBzaG90RGlyZWN0b3J5fS5cbiAgICAgICAgU2luY2UgbG9ja2VkIGhhcyBiZWVuIHNldCB0byAke3RoaXMucHJvcHMuY3VycmVudFZlcnNpb25Mb2NrZWR9LFxuICAgICAgICBFaXRoZXIgdXBkYXRlIHRoZSBjdXJyZW50VmVyc2lvbk5hbWUgdG8gZGVwbG95IGEgbmV3IHZlcnNpb24gb3IgZGVwbG95IHRoZSBleGlzdGluZyBQcm9kdWN0U3RhY2sgc25hcHNob3QuXG4gICAgICAgIElmICR7dGhpcy5wcm9wcy5jdXJyZW50VmVyc2lvbk5hbWV9IHdhcyB1bmludGVudGlvbmFsbHkgc3ludGhlc2l6ZWQgYW5kIG5vdCBkZXBsb3llZCwgXG4gICAgICAgIGRlbGV0ZSB0aGUgY29ycmVzcG9uZGluZyB2ZXJzaW9uIGZyb20gJHtwcm9kdWN0U3RhY2tTbmFwc2hvdERpcmVjdG9yeX0gYW5kIHJlZGVwbG95LmApO1xuICAgICAgfVxuICAgIH1cbiAgICBmcy53cml0ZUZpbGVTeW5jKHRlbXBsYXRlRmlsZVBhdGgsIGNmbik7XG4gIH1cbn1cbiJdfQ== | ||
ProductStackHistory[_a] = { fqn: "@aws-cdk/aws-servicecatalog.ProductStackHistory", version: "1.160.0" }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvZHVjdC1zdGFjay1oaXN0b3J5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsicHJvZHVjdC1zdGFjay1oaXN0b3J5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7OztBQUFBLHlCQUF5QjtBQUN6Qiw2QkFBNkI7QUFDN0Isd0NBQXNDO0FBRXRDLHVFQUFtRTtBQUNuRSxxQ0FBb0U7QUFJcEUsaUdBQWlHO0FBQ2pHLDhEQUE4RDtBQUM5RCx3Q0FBMkQ7QUF5Qz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pb25Mb2NrZWR9LFxuICAgICAgICBFaXRoZXIgdXBkYXRlIHRoZSBjdXJyZW50VmVyc2lvbk5hbWUgdG8gZGVwbG95IGEgbmV3IHZlcnNpb24gb3IgZGVwbG95IHRoZSBleGlzdGluZyBQcm9kdWN0U3RhY2sgc25hcHNob3QuXG4gICAgICAgIElmICR7dGhpcy5wcm9wcy5jdXJyZW50VmVyc2lvbk5hbWV9IHdhcyB1bmludGVudGlvbmFsbHkgc3ludGhlc2l6ZWQgYW5kIG5vdCBkZXBsb3llZCwgXG4gICAgICAgIGRlbGV0ZSB0aGUgY29ycmVzcG9uZGluZyB2ZXJzaW9uIGZyb20gJHtwcm9kdWN0U3RhY2tTbmFwc2hvdERpcmVjdG9yeX0gYW5kIHJlZGVwbG95LmApO1xuICAgICAgfVxuICAgIH1cbiAgICBmcy53cml0ZUZpbGVTeW5jKHRlbXBsYXRlRmlsZVBhdGgsIGNmbik7XG4gIH1cbn1cbiJdfQ== |
@@ -69,3 +69,3 @@ "use strict"; | ||
_a = JSII_RTTI_SYMBOL_1; | ||
ProductStack[_a] = { fqn: "@aws-cdk/aws-servicecatalog.ProductStack", version: "1.159.0" }; | ||
ProductStack[_a] = { fqn: "@aws-cdk/aws-servicecatalog.ProductStack", version: "1.160.0" }; | ||
/** | ||
@@ -72,0 +72,0 @@ * Validates the scope for a product stack, which must be defined within the scope of another `Stack`. |
@@ -43,3 +43,3 @@ "use strict"; | ||
_a = JSII_RTTI_SYMBOL_1; | ||
Product[_a] = { fqn: "@aws-cdk/aws-servicecatalog.Product", version: "1.159.0" }; | ||
Product[_a] = { fqn: "@aws-cdk/aws-servicecatalog.Product", version: "1.160.0" }; | ||
/** | ||
@@ -56,3 +56,3 @@ * A Service Catalog Cloudformation Product. | ||
if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") { | ||
Error.captureStackTrace(error, this.constructor); | ||
Error.captureStackTrace(error, CloudFormationProduct); | ||
} | ||
@@ -118,3 +118,3 @@ throw error; | ||
_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VzY3JpcHRpb24nLCAwLCA4MTkxLCBwcm9kdWN0VmVyc2lvbi5kZXNjcmlwdGlvbik7XG4gICAgfSk7XG4gIH1cbn1cbiJdfQ== |
@@ -26,3 +26,3 @@ "use strict"; | ||
if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") { | ||
Error.captureStackTrace(error, this.constructor); | ||
Error.captureStackTrace(error, TagOptions); | ||
} | ||
@@ -60,3 +60,3 @@ throw error; | ||
_a = JSII_RTTI_SYMBOL_1; | ||
TagOptions[_a] = { fqn: "@aws-cdk/aws-servicecatalog.TagOptions", version: "1.159.0" }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFnLW9wdGlvbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJ0YWctb3B0aW9ucy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7QUFBQSxxQ0FBcUM7QUFDckMseUNBQTRDO0FBQzVDLHFEQUFzRDtBQUN0RCx5RUFBMEQ7QUFrQjFEOzs7Ozs7R0FNRztBQUNILE1BQWEsVUFBVyxTQUFRLEdBQUcsQ0FBQyxRQUFRO0lBUTFDLFlBQVksS0FBZ0IsRUFBRSxFQUFVLEVBQUUsS0FBc0I7UUFDOUQsS0FBSyxDQUFDLEtBQUssRUFBRSxFQUFFLENBQUMsQ0FBQzs7Ozs7Ozs7OztRQUVqQixJQUFJLENBQUMsY0FBYyxHQUFHLElBQUksQ0FBQywwQkFBMEIsQ0FBQyxLQUFLLENBQUMsb0JBQW9CLENBQUMsQ0FBQztLQUNuRjtJQUVPLDBCQUEwQixDQUFDLG9CQUFvRDtRQUNyRixJQUFJLE1BQU0sQ0FBQyxJQUFJLENBQUMsb0JBQW9CLENBQUMsQ0FBQyxNQUFNLEtBQUssQ0FBQyxFQUFFO1lBQ2xELE1BQU0sSUFBSSxLQUFLLENBQUMsMkRBQTJELElBQUksQ0FBQyxJQUFJLENBQUMsSU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5vZGUuYWRkciwgJ1RhZ09wdGlvbiB2YWx1ZScsIDEsIDI1NiwgdGFnVmFsdWUpO1xuICAgICAgICBjb25zdCB0YWdPcHRpb25JZGVudGlmaWVyID0gaGFzaFZhbHVlcyh0YWdLZXksIHRhZ1ZhbHVlKTtcbiAgICAgICAgY29uc3QgdGFnT3B0aW9uID0gbmV3IENmblRhZ09wdGlvbih0aGlzLCB0YWdPcHRpb25JZGVudGlmaWVyLCB7XG4gICAgICAgICAga2V5OiB0YWdLZXksXG4gICAgICAgICAgdmFsdWU6IHRhZ1ZhbHVlLFxuICAgICAgICAgIGFjdGl2ZTogdHJ1ZSxcbiAgICAgICAgfSk7XG4gICAgICAgIHRhZ09wdGlvbnMucHVzaCh0YWdPcHRpb24pO1xuICAgICAgfSk7XG4gICAgfVxuICAgIHJldHVybiB0YWdPcHRpb25zO1xuICB9XG59XG5cbiJdfQ== | ||
TagOptions[_a] = { fqn: "@aws-cdk/aws-servicecatalog.TagOptions", version: "1.160.0" }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFnLW9wdGlvbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJ0YWctb3B0aW9ucy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7QUFBQSxxQ0FBcUM7QUFDckMseUNBQTRDO0FBQzVDLHFEQUFzRDtBQUN0RCx5RUFBMEQ7QUFrQjFEOzs7Ozs7R0FNRztBQUNILE1BQWEsVUFBVyxTQUFRLEdBQUcsQ0FBQyxRQUFRO0lBUTFDLFlBQVksS0FBZ0IsRUFBRSxFQUFVLEVBQUUsS0FBc0I7UUFDOUQsS0FBSyxDQUFDLEtBQUssRUFBRSxFQUFFLENBQUMsQ0FBQzs7Ozs7OytDQVRSLFVBQVU7Ozs7UUFXbkIsSUFBSSxDQUFDLGNBQWMsR0FBRyxJQUFJLENBQUMsMEJBQTBCLENBQUMsS0FBSyxDQUFDL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B2YWx1ZXMgd2VyZSBwcm92aWRlZCBmb3IgdGFnIG9wdGlvbiBrZXkgJHt0YWdLZXl9IGZvciByZXNvdXJjZSAke3RoaXMubm9kZS5wYXRofWApO1xuICAgICAgfVxuICAgICAgdW5pcXVlVGFnVmFsdWVzLmZvckVhY2goKHRhZ1ZhbHVlOiBzdHJpbmcpID0+IHtcbiAgICAgICAgSW5wdXRWYWxpZGF0b3IudmFsaWRhdGVMZW5ndGgodGhpcy5ub2RlLmFkZHIsICdUYWdPcHRpb24gdmFsdWUnLCAxLCAyNTYsIHRhZ1ZhbHVlKTtcbiAgICAgICAgY29uc3QgdGFnT3B0aW9uSWRlbnRpZmllciA9IGhhc2hWYWx1ZXModGFnS2V5LCB0YWdWYWx1ZSk7XG4gICAgICAgIGNvbnN0IHRhZ09wdGlvbiA9IG5ldyBDZm5UYWdPcHRpb24odGhpcywgdGFnT3B0aW9uSWRlbnRpZmllciwge1xuICAgICAgICAgIGtleTogdGFnS2V5LFxuICAgICAgICAgIHZhbHVlOiB0YWdWYWx1ZSxcbiAgICAgICAgICBhY3RpdmU6IHRydWUsXG4gICAgICAgIH0pO1xuICAgICAgICB0YWdPcHRpb25zLnB1c2godGFnT3B0aW9uKTtcbiAgICAgIH0pO1xuICAgIH1cbiAgICByZXR1cm4gdGFnT3B0aW9ucztcbiAgfVxufVxuXG4iXX0= |
{ | ||
"name": "@aws-cdk/aws-servicecatalog", | ||
"version": "1.159.0", | ||
"version": "1.160.0", | ||
"description": "The CDK Construct Library for AWS::ServiceCatalog", | ||
@@ -82,14 +82,14 @@ "main": "lib/index.js", | ||
"devDependencies": { | ||
"@aws-cdk/assertions": "1.159.0", | ||
"@aws-cdk/cdk-build-tools": "1.159.0", | ||
"@aws-cdk/integ-runner": "1.159.0", | ||
"@aws-cdk/cfn2ts": "1.159.0", | ||
"@aws-cdk/pkglint": "1.159.0", | ||
"@types/jest": "^27.5.0" | ||
"@aws-cdk/assertions": "1.160.0", | ||
"@aws-cdk/cdk-build-tools": "1.160.0", | ||
"@aws-cdk/integ-runner": "1.160.0", | ||
"@aws-cdk/cfn2ts": "1.160.0", | ||
"@aws-cdk/pkglint": "1.160.0", | ||
"@types/jest": "^27.5.2" | ||
}, | ||
"dependencies": { | ||
"@aws-cdk/aws-iam": "1.159.0", | ||
"@aws-cdk/aws-s3-assets": "1.159.0", | ||
"@aws-cdk/aws-sns": "1.159.0", | ||
"@aws-cdk/core": "1.159.0", | ||
"@aws-cdk/aws-iam": "1.160.0", | ||
"@aws-cdk/aws-s3-assets": "1.160.0", | ||
"@aws-cdk/aws-sns": "1.160.0", | ||
"@aws-cdk/core": "1.160.0", | ||
"constructs": "^3.3.69" | ||
@@ -99,10 +99,10 @@ }, | ||
"peerDependencies": { | ||
"@aws-cdk/aws-iam": "1.159.0", | ||
"@aws-cdk/aws-s3-assets": "1.159.0", | ||
"@aws-cdk/aws-sns": "1.159.0", | ||
"@aws-cdk/core": "1.159.0", | ||
"@aws-cdk/aws-iam": "1.160.0", | ||
"@aws-cdk/aws-s3-assets": "1.160.0", | ||
"@aws-cdk/aws-sns": "1.160.0", | ||
"@aws-cdk/core": "1.160.0", | ||
"constructs": "^3.3.69" | ||
}, | ||
"engines": { | ||
"node": ">= 10.13.0 <13 || >=13.7.0" | ||
"node": ">= 14.15.0" | ||
}, | ||
@@ -109,0 +109,0 @@ "awslint": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
1658300
12447
+ Added@aws-cdk/assets@1.160.0(transitive)
+ Added@aws-cdk/aws-cloudwatch@1.160.0(transitive)
+ Added@aws-cdk/aws-codestarnotifications@1.160.0(transitive)
+ Added@aws-cdk/aws-events@1.160.0(transitive)
+ Added@aws-cdk/aws-iam@1.160.0(transitive)
+ Added@aws-cdk/aws-kms@1.160.0(transitive)
+ Added@aws-cdk/aws-s3@1.160.0(transitive)
+ Added@aws-cdk/aws-s3-assets@1.160.0(transitive)
+ Added@aws-cdk/aws-sns@1.160.0(transitive)
+ Added@aws-cdk/aws-sqs@1.160.0(transitive)
+ Added@aws-cdk/cloud-assembly-schema@1.160.0(transitive)
+ Added@aws-cdk/core@1.160.0(transitive)
+ Added@aws-cdk/cx-api@1.160.0(transitive)
+ Added@aws-cdk/region-info@1.160.0(transitive)
- Removed@aws-cdk/assets@1.159.0(transitive)
- Removed@aws-cdk/aws-cloudwatch@1.159.0(transitive)
- Removed@aws-cdk/aws-codestarnotifications@1.159.0(transitive)
- Removed@aws-cdk/aws-events@1.159.0(transitive)
- Removed@aws-cdk/aws-iam@1.159.0(transitive)
- Removed@aws-cdk/aws-kms@1.159.0(transitive)
- Removed@aws-cdk/aws-s3@1.159.0(transitive)
- Removed@aws-cdk/aws-s3-assets@1.159.0(transitive)
- Removed@aws-cdk/aws-sns@1.159.0(transitive)
- Removed@aws-cdk/aws-sqs@1.159.0(transitive)
- Removed@aws-cdk/cloud-assembly-schema@1.159.0(transitive)
- Removed@aws-cdk/core@1.159.0(transitive)
- Removed@aws-cdk/cx-api@1.159.0(transitive)
- Removed@aws-cdk/region-info@1.159.0(transitive)
Updated@aws-cdk/aws-iam@1.160.0
Updated@aws-cdk/aws-sns@1.160.0
Updated@aws-cdk/core@1.160.0