@aws-cdk/aws-directoryservice
Advanced tools
Comparing version 0.15.1 to 0.15.2
@@ -5,3 +5,3 @@ "use strict"; | ||
// See: docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-resource-specification.html | ||
// @cfn2ts:meta@ {"generated":"2018-11-06T21:03:59.137Z","fingerprint":"bEWaQR+eDIzNet04Eoj58X/003c75kMT8K0jvZRrhmA="} | ||
// @cfn2ts:meta@ {"generated":"2018-11-08T12:52:55.882Z","fingerprint":"bEWaQR+eDIzNet04Eoj58X/003c75kMT8K0jvZRrhmA="} | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -261,2 +261,2 @@ // tslint:disable:max-line-length | This is generated code - line lengths are difficult to control | ||
exports.SimpleADDnsIpAddresses = SimpleADDnsIpAddresses; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGlyZWN0b3J5c2VydmljZS5nZW5lcmF0ZWQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJkaXJlY3RvcnlzZXJ2aWNlLmdlbmVyYXRlZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsK0VBQStFO0FBQy9FLCtEQUErRDtBQUMvRCw4RkFBOEY7QUFDOUYsc0hBQXNIOztBQUV0SCxrR0FBa0c7QUFFbEcsb0NBQXFDO0FBRXJDLElBQWlCLGNBQWMsQ0FxTDlCO0FBckxELFdBQWlCLGNBQWM7SUEwQzNCOzs7Ozs7T0FNRztJQUNILFNBQVMsaUNBQWlDLENBQUMsVUFBZTtRQUN0RCxJQUFJLENBQUMsR0FBRyxDQUFDLFVBQVUsQ0FBQyxVQUFVLENBQUMsRUFBRTtZQUFFLE9BQU8sR0FBRyxDQUFDLGtCQUFrQixDQUFDO1NBQUU7UUFDbkUsTUFBTSxNQUFNLEdBQUcsSUFBSSxHQUFHLENBQUMsaUJBQWlCLEVBQUUsQ0FBQztRQUMzQyxNQUFNLENBQUMsT0FBTy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ibmV0SWRzKSxcbiAgICAgICAgICBWcGNJZDogY2RrLnN0cmluZ1RvQ2xvdWRGb3JtYXRpb24ocHJvcGVydGllcy52cGNJZCksXG4gICAgICAgIH07XG4gICAgfVxufVxuXG5leHBvcnQgY2xhc3MgU2ltcGxlQUREbnNJcEFkZHJlc3NlcyBleHRlbmRzIGNkay5Ub2tlbiB7XG4gICAgLy8gQHRzLWlnbm9yZTogcHJpdmF0ZSBidXQgdW51c2VkIG9uIHB1cnBvc2UuXG4gICAgcHJpdmF0ZSByZWFkb25seSB0aGlzSXNBU2ltcGxlQUREbnNJcEFkZHJlc3NlcyA9IHRydWU7XG59XG4iXX0= |
{ | ||
"name": "@aws-cdk/aws-directoryservice", | ||
"version": "0.15.1", | ||
"version": "0.15.2", | ||
"description": "The CDK Construct Library for AWS::DirectoryService", | ||
@@ -55,9 +55,9 @@ "main": "lib/index.js", | ||
"devDependencies": { | ||
"@aws-cdk/assert": "^0.15.1", | ||
"cdk-build-tools": "^0.15.1", | ||
"cfn2ts": "^0.15.1", | ||
"pkglint": "^0.15.1" | ||
"@aws-cdk/assert": "^0.15.2", | ||
"cdk-build-tools": "^0.15.2", | ||
"cfn2ts": "^0.15.2", | ||
"pkglint": "^0.15.2" | ||
}, | ||
"dependencies": { | ||
"@aws-cdk/cdk": "^0.15.1" | ||
"@aws-cdk/cdk": "^0.15.2" | ||
}, | ||
@@ -64,0 +64,0 @@ "homepage": "https://github.com/awslabs/aws-cdk", |
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
Updated@aws-cdk/cdk@^0.15.2