@aws-cdk/aws-ecr
Advanced tools
Comparing version 0.9.2 to 0.10.0
@@ -39,8 +39,9 @@ import cdk = require('@aws-cdk/cdk'); | ||
* | ||
* @param parent the ``cdk.Construct`` this ``RepositoryResource`` is a part of | ||
* @param name the name of the resource in the ``cdk.Construct`` tree | ||
* @param parent the ``cdk.Construct`` this ``RepositoryResource`` is a part of | ||
* @param name the name of the resource in the ``cdk.Construct`` tree | ||
* @param properties the properties of this ``RepositoryResource`` | ||
*/ | ||
constructor(parent: cdk.Construct, name: string, properties?: RepositoryResourceProps); | ||
protected renderProperties(): { | ||
readonly propertyOverrides: RepositoryResourceProps; | ||
protected renderProperties(properties: any): { | ||
[key: string]: any; | ||
@@ -47,0 +48,0 @@ }; |
@@ -5,3 +5,3 @@ "use strict"; | ||
// See: docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-resource-specification.html | ||
// @cfn2ts:meta@ {"generated":"2018-09-20T12:53:38.623Z","fingerprint":"WNKwWU/jhPAbqq/U0VzEZcA65qYAqVytPriiSxZx/5U="} | ||
// @cfn2ts:meta@ {"generated":"2018-09-27T21:35:04.512Z","fingerprint":"KXCq6NUam3JaYtcGgGABmQ/Rvacfm5c3fOqqa8rkCvA="} | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -54,4 +54,4 @@ // tslint:disable:max-line-length | This is generated code - line lengths are difficult to control | ||
* | ||
* @param parent the ``cdk.Construct`` this ``RepositoryResource`` is a part of | ||
* @param name the name of the resource in the ``cdk.Construct`` tree | ||
* @param parent the ``cdk.Construct`` this ``RepositoryResource`` is a part of | ||
* @param name the name of the resource in the ``cdk.Construct`` tree | ||
* @param properties the properties of this ``RepositoryResource`` | ||
@@ -64,5 +64,8 @@ */ | ||
} | ||
renderProperties() { | ||
return repositoryResourcePropsToCloudFormation(cdk.resolve(this.properties)); | ||
get propertyOverrides() { | ||
return this.untypedPropertyOverrides; | ||
} | ||
renderProperties(properties) { | ||
return repositoryResourcePropsToCloudFormation(cdk.resolve(properties)); | ||
} | ||
} | ||
@@ -108,2 +111,2 @@ /** | ||
})(cloudformation = exports.cloudformation || (exports.cloudformation = {})); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZWNyLmdlbmVyYXRlZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImVjci5nZW5lcmF0ZWQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLCtFQUErRTtBQUMvRSwrREFBK0Q7QUFDL0QsOEZBQThGO0FBQzlGLHNIQUFzSDs7QUFFdEgsa0dBQWtHO0FBRWxHLG9DQUFxQztBQUVyQyxJQUFpQixjQUFjLENBd0k5QjtBQXhJRCxXQUFpQixjQUFjO0lBc0IzQjs7Ozs7O09BTUc7SUFDSCxTQUFTLGdDQUFnQyxDQUFDLFVBQWU7UUFDckQsSUFBSSxDQUFDLEdBQUcsQ0FBQyxVQUFVLENBQUMsVUFBVSxDQUFDLEVBQUU7WUFBRSxPQUFPLEdBQUcsQ0FBQyxrQkFBa0IsQ0FBQztTQUFFO1FBQ25FLE1BQU0sTUFBTSxHQUFHLElBQUksR0FBRyxDQUFDLGlCQUFpQixFQUFFLENBQUM7UUFDM0MsTUFBTSxDQUFDLE9BQU8sQ0FBQyxHQUFHLENBQUMsaUJBQWlCLENBQUMsaUJBQWlCLEVBQUUsbURBQW1ELENBQUMsQ0FBQyxVQUFVLENBQUMsZUFBZSxDQUFDLENBQUMsQ0FBQztRQUMxSSxNQUFNLENBQUMsT0FBTyxDQUFDLEdBQUcsQ0FBQyxpQkFBaUIsQ0FBQyxnQkFBZ0IsRUFBRSxHQUFHLENBQUMsY0FBYyxDQUFDLENBQUMsVUFBVSxDQUFDLGNBQWMsQ0FBQyxDQUFDLENBQUM7UUFDdkcsTUFBTSxDQUFDLE9BQU8sQ0FBQyxHQUFHLENBQUMsaUJBQWlCLENBQUMsc0JBQXNCLEVBQUUsR0FBRyxDQUFDLGNBQ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pb24ocHJvcGVydGllcy5saWZlY3ljbGVQb2xpY3lUZXh0KSxcbiAgICAgICAgICBSZWdpc3RyeUlkOiBjZGsuc3RyaW5nVG9DbG91ZEZvcm1hdGlvbihwcm9wZXJ0aWVzLnJlZ2lzdHJ5SWQpLFxuICAgICAgICB9O1xuICAgIH1cbn1cbiJdfQ== |
@@ -35,2 +35,2 @@ "use strict"; | ||
})(CountType = exports.CountType || (exports.CountType = {})); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGlmZWN5Y2xlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsibGlmZWN5Y2xlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBMkRBOztHQUVHO0FBQ0gsSUFBWSxTQWVYO0FBZkQsV0FBWSxTQUFTO0lBQ2pCOztPQUVHO0lBQ0gsd0JBQVcsQ0FBQTtJQUVYOztPQUVHO0lBQ0gsOEJBQWlCLENBQUE7SUFFakI7O09BRUc7SUFDSCxrQ0FBcUIsQ0FBQTtBQUN6QixDQUFDLEVBZlcsU0FBUyxHQUFULGlCQUFTLEtBQVQsaUJBQVMsUUFlcEI7QUFFRDs7R0FFRztBQUNILElBQVksU0FVWDtBQVZELFdBQVksU0FBUztJQUNqQjs7T0FFRztJQUNILHNEQUF5QyxDQUFBO0lBRXpDOztPQUVHO0lBQ0gsa0RBQXFDLENBQUE7QUFDekMsQ0FBQyxFQVZXLFNBQVMsR0FBVCxpQkFBUyxLQUFULGlCQUFTLFFBVXBCIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBBbiBFQ1IgbGlmZSBjeWNsZSBydWxlXG4gKi9cbmV4cG9ydCBpbnRlcmZhY2UgTGlmZWN5Y2xlUnVsZSB7XG4gICAgLyoqXG4gICAgICogQ29udHJvbHMgdGhlIG9yZGVyIGluIHdoaWNoIHJ1bGVzIGFyZSBldmFsdWF0ZWQgKGxvdyB0byBoaWdoKVxu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OXG4gKi9cbmZ1bmN0aW9uIHJlbmRlckxpZmVjeWNsZVJ1bGUocnVsZTogTGlmZWN5Y2xlUnVsZSkge1xuICAgIHJldHVybiB7XG4gICAgICAgIHJ1bGVQcmlvcml0eTogcnVsZS5ydWxlUHJpb3JpdHksXG4gICAgICAgIGRlc2NyaXB0aW9uOiBydWxlLmRlc2NyaXB0aW9uLFxuICAgICAgICBzZWxlY3Rpb246IHtcbiAgICAgICAgICAgIHRhZ1N0YXR1czogcnVsZS50YWdTdGF0dXMgfHwgVGFnU3RhdHVzLkFueSxcbiAgICAgICAgICAgIHRhZ1ByZWZpeExpc3Q6IHJ1bGUudGFnUHJlZml4TGlzdCxcbiAgICAgICAgICAgIGNvdW50VHlwZTogcnVsZS5tYXhJbWFnZUFnZURheXMgIT09IHVuZGVmaW5lZCA/IENvdW50VHlwZS5TaW5jZUltYWdlUHVzaGVkIDogQ291bnRUeXBlLkltYWdlQ291bnRNb3JlVGhhbixcbiAgICAgICAgICAgIGNvdW50TnVtYmVyOiBydWxlLm1heEltYWdlQWdlRGF5cyAhPT0gdW5kZWZpbmVkID8gcnVsZS5tYXhJbWFnZUFnZURheXMgOiBydWxlLm1heEltYWdlQ291bnQsXG4gICAgICAgICAgICBjb3VudFVuaXQ6IHJ1bGUubWF4SW1hZ2VBZ2VEYXlzICE9PSB1bmRlZmluZWQgPyAnZGF5cycgOiB1bmRlZmluZWQsXG4gICAgICAgIH0sXG4gICAgICAgIGFjdGlvbjoge1xuICAgICAgICAgICAgdHlwZTogJ2V4cGlyZSdcbiAgICAgICAgfVxuICAgIH07XG59XG4iXX0= | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVwb3NpdG9yeS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInJlcG9zaXRvcnkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSxvQ0FBcUM7QUFDckMsbURBQWlEO0FBQ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1bGVQcmlvcml0eTogcnVsZS5ydWxlUHJpb3JpdHksXG4gICAgZGVzY3JpcHRpb246IHJ1bGUuZGVzY3JpcHRpb24sXG4gICAgc2VsZWN0aW9uOiB7XG4gICAgICB0YWdTdGF0dXM6IHJ1bGUudGFnU3RhdHVzIHx8IFRhZ1N0YXR1cy5BbnksXG4gICAgICB0YWdQcmVmaXhMaXN0OiBydWxlLnRhZ1ByZWZpeExpc3QsXG4gICAgICBjb3VudFR5cGU6IHJ1bGUubWF4SW1hZ2VBZ2VEYXlzICE9PSB1bmRlZmluZWQgPyBDb3VudFR5cGUuU2luY2VJbWFnZVB1c2hlZCA6IENvdW50VHlwZS5JbWFnZUNvdW50TW9yZVRoYW4sXG4gICAgICBjb3VudE51bWJlcjogcnVsZS5tYXhJbWFnZUFnZURheXMgIT09IHVuZGVmaW5lZCA/IHJ1bGUubWF4SW1hZ2VBZ2VEYXlzIDogcnVsZS5tYXhJbWFnZUNvdW50LFxuICAgICAgY291bnRVbml0OiBydWxlLm1heEltYWdlQWdlRGF5cyAhPT0gdW5kZWZpbmVkID8gJ2RheXMnIDogdW5kZWZpbmVkLFxuICAgIH0sXG4gICAgYWN0aW9uOiB7XG4gICAgICB0eXBlOiAnZXhwaXJlJ1xuICAgIH1cbiAgfTtcbn1cbiJdfQ== |
{ | ||
"name": "@aws-cdk/aws-ecr", | ||
"version": "0.9.2", | ||
"version": "0.10.0", | ||
"description": "The CDK Construct Library for AWS::ECR", | ||
@@ -55,12 +55,12 @@ "main": "lib/index.js", | ||
"devDependencies": { | ||
"@aws-cdk/assert": "^0.9.2", | ||
"cdk-build-tools": "^0.9.2", | ||
"cdk-integ-tools": "^0.9.2", | ||
"cfn2ts": "^0.9.2", | ||
"pkglint": "^0.9.2" | ||
"@aws-cdk/assert": "^0.10.0", | ||
"cdk-build-tools": "^0.10.0", | ||
"cdk-integ-tools": "^0.10.0", | ||
"cfn2ts": "^0.10.0", | ||
"pkglint": "^0.10.0" | ||
}, | ||
"dependencies": { | ||
"@aws-cdk/cdk": "^0.9.2" | ||
"@aws-cdk/cdk": "^0.10.0" | ||
}, | ||
"homepage": "https://github.com/awslabs/aws-cdk" | ||
} |
@@ -13,2 +13,2 @@ "use strict"; | ||
process.stdout.write(app.run()); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW50ZWcuYmFzaWMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJpbnRlZy5iYXNpYy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLG9DQUFxQztBQUNyQyw4QkFBK0I7QUFFL0IsTUFBTSxHQUFHLEdBQUcsSUFBSSxHQUFHLENBQUMsR0FBRyxDQUFDLE9BQU8sQ0FBQyxJQUFJLENBQUMsQ0FBQztBQUN0QyxNQUFNLEtBQUssR0FBRyxJQUFJLEdBQUcsQ0FBQyxLQUFLLENBQUMsR0FBRyxFQUFFLHFCQUFxQixDQUFDLENBQUM7QUFFeEQsTUFBTSxJQUFJLEdBQUcsSUFBSSxHQUFHLENBQUMsVUFBVSxDQUFDLEtBQUssRUFBRSxNQUFNLENBQUMsQ0FBQztBQUMvQyxJQUFJLENBQUMsZ0JBQWdCLENBQUMsRUFBRSxhQUFhLEVBQUUsQ0FBQyxFQUFFLENBQUMsQ0FBQztBQUU1QyxJQUFJLEdBQUcsQ0FBQyxNQUFNLENBQUMsS0FBSyxFQUFFLGVBQWUsRUFBRTtJQUNuQyxLQUFLLEVBQUUsSUFBSSxDQUFDLGFBQWE7Q0FDNUIsQ0FBQyxDQUFDO0FBRUgsT0FBTyxDQUFDLE1BQU0sQ0FBQyxLQUFLLENBQUMsR0FBRyxDQUFDLEdBQUcsRUFBRSxDQUFDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgY2RrID0gcmVxdWlyZSgnQGF3cy1jZGsvY2RrJyk7XG5pbXBvcnQgZWNyID0gcmVxdWlyZSgnLi4vbGliJyk7XG5c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ICAgICAgICAgIH1cbiAgICAgICAgXSxcbiAgICAgICAgVmVyc2lvbjogXCIyMDEyLTEwLTE3XCJcbiAgICAgIH0sXG4gICAgfSkpO1xuXG4gICAgdGVzdC5kb25lKCk7XG4gIH1cbn07XG4iXX0= |
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
873
123825
+ Added@aws-cdk/cdk@0.10.0(transitive)
+ Added@aws-cdk/cx-api@0.10.0(transitive)
- Removed@aws-cdk/cdk@0.9.2(transitive)
- Removed@aws-cdk/cx-api@0.9.2(transitive)
Updated@aws-cdk/cdk@^0.10.0