Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@aws-cdk/aws-directoryservice

Package Overview
Dependencies
Maintainers
5
Versions
288
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 1.6.1 to 1.7.0

8

lib/directoryservice.generated.js

@@ -5,3 +5,3 @@ "use strict";

// See: docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-resource-specification.html
// @cfn2ts:meta@ {"generated":"2019-08-29T12:52:27.533Z","fingerprint":"I69/5bDFqIssoGTa52yj5ZJC5LxO0jEidA0nf5ToQO4="}
// @cfn2ts:meta@ {"generated":"2019-09-06T00:08:35.011Z","fingerprint":"Gx1GjUIQXK7Ivnp5RKlPxCLwQ/tprbIW4TcmffyOCEs="}
Object.defineProperty(exports, "__esModule", { value: true });

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

}
exports.CfnMicrosoftAD = CfnMicrosoftAD;
/**

@@ -107,3 +108,2 @@ * The CloudFormation resource type name for this resource class.

CfnMicrosoftAD.CFN_RESOURCE_TYPE_NAME = "AWS::DirectoryService::MicrosoftAD";
exports.CfnMicrosoftAD = CfnMicrosoftAD;
/**

@@ -243,2 +243,3 @@ * Determine whether the given properties match those of a `VpcSettingsProperty`

}
exports.CfnSimpleAD = CfnSimpleAD;
/**

@@ -248,3 +249,2 @@ * The CloudFormation resource type name for this resource class.

CfnSimpleAD.CFN_RESOURCE_TYPE_NAME = "AWS::DirectoryService::SimpleAD";
exports.CfnSimpleAD = CfnSimpleAD;
/**

@@ -286,2 +286,2 @@ * Determine whether the given properties match those of a `VpcSettingsProperty`

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGlyZWN0b3J5c2VydmljZS5nZW5lcmF0ZWQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6W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description": "The CDK Construct Library for AWS::DirectoryService",

@@ -65,3 +65,3 @@ "main": "lib/index.js",

"devDependencies": {
"@aws-cdk/assert": "^1.6.1",
"@aws-cdk/assert": "^1.7.0",
"cdk-build-tools": "file:../../../tools/cdk-build-tools",

@@ -72,7 +72,7 @@ "cfn2ts": "file:../../../tools/cfn2ts",

"dependencies": {
"@aws-cdk/core": "^1.6.1"
"@aws-cdk/core": "^1.7.0"
},
"homepage": "https://github.com/aws/aws-cdk",
"peerDependencies": {
"@aws-cdk/core": "^1.6.1"
"@aws-cdk/core": "^1.7.0"
},

@@ -83,2 +83,2 @@ "engines": {

"stability": "experimental"
}
}

@@ -10,5 +10,3 @@ {

"lib": [
"es2016",
"es2017.object",
"es2017.string"
"es2016"
],

@@ -15,0 +13,0 @@ "module": "CommonJS",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc