New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

@aws-cdk/aws-dax

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-cdk/aws-dax - npm Package Compare versions

Comparing version 0.9.2 to 0.10.0

@@ -93,8 +93,9 @@ import cdk = require('@aws-cdk/cdk');

*
* @param parent the ``cdk.Construct`` this ``ClusterResource`` is a part of
* @param name the name of the resource in the ``cdk.Construct`` tree
* @param parent the ``cdk.Construct`` this ``ClusterResource`` is a part of
* @param name the name of the resource in the ``cdk.Construct`` tree
* @param properties the properties of this ``ClusterResource``
*/
constructor(parent: cdk.Construct, name: string, properties: ClusterResourceProps);
protected renderProperties(): {
readonly propertyOverrides: ClusterResourceProps;
protected renderProperties(properties: any): {
[key: string]: any;

@@ -149,8 +150,9 @@ };

*
* @param parent the ``cdk.Construct`` this ``ParameterGroupResource`` is a part of
* @param name the name of the resource in the ``cdk.Construct`` tree
* @param parent the ``cdk.Construct`` this ``ParameterGroupResource`` is a part of
* @param name the name of the resource in the ``cdk.Construct`` tree
* @param properties the properties of this ``ParameterGroupResource``
*/
constructor(parent: cdk.Construct, name: string, properties?: ParameterGroupResourceProps);
protected renderProperties(): {
readonly propertyOverrides: ParameterGroupResourceProps;
protected renderProperties(properties: any): {
[key: string]: any;

@@ -193,8 +195,9 @@ };

*
* @param parent the ``cdk.Construct`` this ``SubnetGroupResource`` is a part of
* @param name the name of the resource in the ``cdk.Construct`` tree
* @param parent the ``cdk.Construct`` this ``SubnetGroupResource`` is a part of
* @param name the name of the resource in the ``cdk.Construct`` tree
* @param properties the properties of this ``SubnetGroupResource``
*/
constructor(parent: cdk.Construct, name: string, properties: SubnetGroupResourceProps);
protected renderProperties(): {
readonly propertyOverrides: SubnetGroupResourceProps;
protected renderProperties(properties: any): {
[key: string]: any;

@@ -201,0 +204,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:32.783Z","fingerprint":"1fq+aLE93SFtjhdprM+w/JvCe5QsMDBh2MhAjJQGlug="}
// @cfn2ts:meta@ {"generated":"2018-09-27T21:34:58.684Z","fingerprint":"TgQESdrTVuCF+2JZz6nn4uEIgzz2MM+hwK1yLeiNEBk="}
Object.defineProperty(exports, "__esModule", { value: true });

@@ -77,4 +77,4 @@ // tslint:disable:max-line-length | This is generated code - line lengths are difficult to control

*
* @param parent the ``cdk.Construct`` this ``ClusterResource`` is a part of
* @param name the name of the resource in the ``cdk.Construct`` tree
* @param parent the ``cdk.Construct`` this ``ClusterResource`` is a part of
* @param name the name of the resource in the ``cdk.Construct`` tree
* @param properties the properties of this ``ClusterResource``

@@ -91,5 +91,8 @@ */

}
renderProperties() {
return clusterResourcePropsToCloudFormation(cdk.resolve(this.properties));
get propertyOverrides() {
return this.untypedPropertyOverrides;
}
renderProperties(properties) {
return clusterResourcePropsToCloudFormation(cdk.resolve(properties));
}
}

@@ -176,4 +179,4 @@ /**

*
* @param parent the ``cdk.Construct`` this ``ParameterGroupResource`` is a part of
* @param name the name of the resource in the ``cdk.Construct`` tree
* @param parent the ``cdk.Construct`` this ``ParameterGroupResource`` is a part of
* @param name the name of the resource in the ``cdk.Construct`` tree
* @param properties the properties of this ``ParameterGroupResource``

@@ -185,5 +188,8 @@ */

}
renderProperties() {
return parameterGroupResourcePropsToCloudFormation(cdk.resolve(this.properties));
get propertyOverrides() {
return this.untypedPropertyOverrides;
}
renderProperties(properties) {
return parameterGroupResourcePropsToCloudFormation(cdk.resolve(properties));
}
}

@@ -240,4 +246,4 @@ /**

*
* @param parent the ``cdk.Construct`` this ``SubnetGroupResource`` is a part of
* @param name the name of the resource in the ``cdk.Construct`` tree
* @param parent the ``cdk.Construct`` this ``SubnetGroupResource`` is a part of
* @param name the name of the resource in the ``cdk.Construct`` tree
* @param properties the properties of this ``SubnetGroupResource``

@@ -250,5 +256,8 @@ */

}
renderProperties() {
return subnetGroupResourcePropsToCloudFormation(cdk.resolve(this.properties));
get propertyOverrides() {
return this.untypedPropertyOverrides;
}
renderProperties(properties) {
return subnetGroupResourcePropsToCloudFormation(cdk.resolve(properties));
}
}

@@ -261,2 +270,2 @@ /**

})(cloudformation = exports.cloudformation || (exports.cloudformation = {}));
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF4LmdlbmVyYXRlZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImRheC5nZW5lcmF0ZWQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLCtFQUErRTtBQUMvRSwrREFBK0Q7QUFDL0QsOEZBQThGO0FBQzlGLHNIQUFzSDs7QUFFdEgsa0dBQWtHO0FBRWxHLG9DQUFxQztBQUVyQyxJQUFpQixjQUFjLENBbU45QjtBQW5ORCxXQUFpQixjQUFjO0lBd0UzQjs7Ozs7O09BTUc7SUFDSCxTQUFTLDZCQUE2QixDQUFDLFVBQWU7UUFDbEQsSUFBSSxDQUFDLEdBQUcsQ0FBQyxVQUFVLENBQUMsVUFBVSxDQUFDLEVBQUU7WUFBRSxPQUFPLEdBQUcsQ0FBQyxrQkFBa0IsQ0FBQztTQUFFO1FBQ25FLE1BQU0sTUFBTSxHQUFHLElBQUksR0FBRyxDQUFDLGlCQUFpQixFQUFFLENBQUM7UUFDM0MsTUFBTSxDQUFDLE9BQU8sQ0FBQyxHQUFHLENBQUMsaUJBQWlCLENBQUMsbUJBQW1CLEVBQUUsR0FBRyxDQUFDLGFBQWEsQ0FBQyxHQUFHLENBQUMsY0FBYyxDQUFDLENBQUMsQ0FBQyxVQUFVLENBQUMsaUJBQWlCLENBQUMsQ0FBQyxDQUFDO1FBQ2hJLE1BQU0sQ0FBQyxPQUFPLENBQUMsR0FBRyxDQUFDLGlCQUFpQixDQUFDLGFBQWEsRUFBRSxHQUFHLENBQUMsY0FBYyxDQUFDLENBQUMsVUFBVSxDQUFDL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NvbnN0cnVjdGBgIHRoaXMgYGBTdWJuZXRHcm91cFJlc291cmNlYGAgaXMgYSBwYXJ0IG9mXG4gICAgICAgICAqIEBwYXJhbSBuYW1lICAgICAgIHRoZSBuYW1lIG9mIHRoZSByZXNvdXJjZSBpbiB0aGUgYGBjZGsuQ29uc3RydWN0YGAgdHJlZVxuICAgICAgICAgKiBAcGFyYW0gcHJvcGVydGllcyB0aGUgcHJvcGVydGllcyBvZiB0aGlzIGBgU3VibmV0R3JvdXBSZXNvdXJjZWBgXG4gICAgICAgICAqL1xuICAgICAgICBjb25zdHJ1Y3RvcihwYXJlbnQ6IGNkay5Db25zdHJ1Y3QsIG5hbWU6IHN0cmluZywgcHJvcGVydGllczogU3VibmV0R3JvdXBSZXNvdXJjZVByb3BzKSB7XG4gICAgICAgICAgICBzdXBlcihwYXJlbnQsIG5hbWUsIHsgdHlwZTogU3VibmV0R3JvdXBSZXNvdXJjZS5yZXNvdXJjZVR5cGVOYW1lLCBwcm9wZXJ0aWVzIH0pO1xuICAgICAgICAgICAgY2RrLnJlcXVpcmVQcm9wZXJ0eShwcm9wZXJ0aWVzLCAnc3VibmV0SWRzJywgdGhpcyk7XG4gICAgICAgICAgICB0aGlzLnN1Ym5ldEdyb3VwQXJuID0gdGhpcy5yZWYudG9TdHJpbmcoKTtcbiAgICAgICAgfVxuXG4gICAgICAgIHByb3RlY3RlZCByZW5kZXJQcm9wZXJ0aWVzKCk6IHsgW2tleTogc3RyaW5nXTogYW55IH0gIHtcbiAgICAgICAgICAgIHJldHVybiBzdWJuZXRHcm91cFJlc291cmNlUHJvcHNUb0Nsb3VkRm9ybWF0aW9uKGNkay5yZXNvbHZlKHRoaXMucHJvcGVydGllcykpO1xuICAgICAgICB9XG4gICAgfVxufVxuIl19
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF4LmdlbmVyYXRlZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImRheC5n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zO1xuICAgICAgICB9XG4gICAgICAgIHByb3RlY3RlZCByZW5kZXJQcm9wZXJ0aWVzKHByb3BlcnRpZXM6IGFueSk6IHsgW2tleTogc3RyaW5nXTogYW55IH0gIHtcbiAgICAgICAgICAgIHJldHVybiBzdWJuZXRHcm91cFJlc291cmNlUHJvcHNUb0Nsb3VkRm9ybWF0aW9uKGNkay5yZXNvbHZlKHByb3BlcnRpZXMpKTtcbiAgICAgICAgfVxuICAgIH1cbn1cbiJdfQ==
{
"name": "@aws-cdk/aws-dax",
"version": "0.9.2",
"version": "0.10.0",
"description": "The CDK Construct Library for AWS::DAX",

@@ -55,11 +55,11 @@ "main": "lib/index.js",

"devDependencies": {
"@aws-cdk/assert": "^0.9.2",
"cdk-build-tools": "^0.9.2",
"cfn2ts": "^0.9.2",
"pkglint": "^0.9.2"
"@aws-cdk/assert": "^0.10.0",
"cdk-build-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"
}

@@ -1,1 +0,2 @@

export {};
declare const _default: void;
export = _default;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const nodeunit_1 = require("nodeunit");
exports = nodeunit_1.testCase({
module.exports = nodeunit_1.testCase({
notTested(test) {

@@ -10,2 +9,2 @@ test.ok(true, 'No tests are specified for this package.');

});
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGVzdC5kYXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJ0ZXN0LmRheC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLHVDQUEwQztBQUUxQyxPQUFPLEdBQUcsbUJBQVEsQ0FBQztJQUNmLFNBQVMsQ0FBQyxJQUFVO1FBQ2hCLElBQUksQ0FBQyxFQUFFLENBQUMsSUFBSSxFQUFFLDBDQUEwQyxDQUFDLENBQUM7UUFDMUQsSUFBSSxDQUFDLElBQUksRUFBRSxDQUFDO0lBQ2hCLENBQUM7Q0FDSixDQUFDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBUZXN0LCB0ZXN0Q2FzZSB9IGZyb20gJ25vZGV1bml0JztcblxuZXhwb3J0cyA9IHRlc3RDYXNlKHtcbiAgICBub3RUZXN0ZWQodGVzdDogVGVzdCkge1xuICAgICAgICB0ZXN0Lm9rKHRydWUsICdObyB0ZXN0cyBhcmUgc3BlY2lmaWVkIGZvciB0aGlzIHBhY2thZ2UuJyk7XG4gICAgICAgIHRlc3QuZG9uZSgpO1xuICAgIH1cbn0pO1xuIl19
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGVzdC5kYXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJ0ZXN0LmRheC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsdUNBQTBDO0FBRTFDLGlCQUFTLG1CQUFRLENBQUM7SUFDaEIsU0FBUyxDQUFDLElBQVU7UUFDbEIsSUFBSSxDQUFDLEVBQUUsQ0FBQyxJQUFJLEVBQUUsMENBQTBDLENBQUMsQ0FBQztRQUMxRCxJQUFJLENBQUMsSUFBSSxFQUFFLENBQUM7SUFDZCxDQUFDO0NBQ0YsQ0FBQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgVGVzdCwgdGVzdENhc2UgfSBmcm9tICdub2RldW5pdCc7XG5cbmV4cG9ydCA9IHRlc3RDYXNlKHtcbiAgbm90VGVzdGVkKHRlc3Q6IFRlc3QpIHtcbiAgICB0ZXN0Lm9rKHRydWUsICdObyB0ZXN0cyBhcmUgc3BlY2lmaWVkIGZvciB0aGlzIHBhY2thZ2UuJyk7XG4gICAgdGVzdC5kb25lKCk7XG4gIH1cbn0pO1xuIl19

Sorry, the diff of this file is not supported yet