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
4
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 0.13.0 to 0.14.0

4

lib/directoryservice.generated.d.ts

@@ -11,3 +11,3 @@ import cdk = require('@aws-cdk/cdk');

*/
microsoftAdName: string | cdk.Token;
name: string | cdk.Token;
/**

@@ -104,3 +104,3 @@ * ``AWS::DirectoryService::MicrosoftAD.Password``

*/
simpleAdName: string | cdk.Token;
name: string | cdk.Token;
/**

@@ -107,0 +107,0 @@ * ``AWS::DirectoryService::SimpleAD.Password``

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

// See: docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-resource-specification.html
// @cfn2ts:meta@ {"generated":"2018-10-19T13:45:13.082Z","fingerprint":"6KcBDJVHtycI0XI53Aayl+HTr/MG1WO6+1u8M19IFAY="}
// @cfn2ts:meta@ {"generated":"2018-10-26T12:02:28.043Z","fingerprint":"7o/qWKBJqaN5pWkY1Plu6VFwQYLcRao8fGhApaA7ZYk="}
Object.defineProperty(exports, "__esModule", { value: true });

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

errors.collect(cdk.propertyValidator('enableSso', cdk.validateBoolean)(properties.enableSso));
errors.collect(cdk.propertyValidator('microsoftAdName', cdk.requiredValidator)(properties.microsoftAdName));
errors.collect(cdk.propertyValidator('microsoftAdName', cdk.validateString)(properties.microsoftAdName));
errors.collect(cdk.propertyValidator('name', cdk.requiredValidator)(properties.name));
errors.collect(cdk.propertyValidator('name', cdk.validateString)(properties.name));
errors.collect(cdk.propertyValidator('password', cdk.requiredValidator)(properties.password));

@@ -50,3 +50,3 @@ errors.collect(cdk.propertyValidator('password', cdk.validateString)(properties.password));

return {
Name: cdk.stringToCloudFormation(properties.microsoftAdName),
Name: cdk.stringToCloudFormation(properties.name),
Password: cdk.stringToCloudFormation(properties.password),

@@ -73,3 +73,3 @@ VpcSettings: microsoftADResourceVpcSettingsPropertyToCloudFormation(properties.vpcSettings),

super(parent, name, { type: MicrosoftADResource.resourceTypeName, properties });
cdk.requireProperty(properties, 'microsoftAdName', this);
cdk.requireProperty(properties, 'name', this);
cdk.requireProperty(properties, 'password', this);

@@ -153,4 +153,4 @@ cdk.requireProperty(properties, 'vpcSettings', this);

errors.collect(cdk.propertyValidator('enableSso', cdk.validateBoolean)(properties.enableSso));
errors.collect(cdk.propertyValidator('simpleAdName', cdk.requiredValidator)(properties.simpleAdName));
errors.collect(cdk.propertyValidator('simpleAdName', cdk.validateString)(properties.simpleAdName));
errors.collect(cdk.propertyValidator('name', cdk.requiredValidator)(properties.name));
errors.collect(cdk.propertyValidator('name', cdk.validateString)(properties.name));
errors.collect(cdk.propertyValidator('password', cdk.requiredValidator)(properties.password));

@@ -178,3 +178,3 @@ errors.collect(cdk.propertyValidator('password', cdk.validateString)(properties.password));

return {
Name: cdk.stringToCloudFormation(properties.simpleAdName),
Name: cdk.stringToCloudFormation(properties.name),
Password: cdk.stringToCloudFormation(properties.password),

@@ -202,3 +202,3 @@ Size: cdk.stringToCloudFormation(properties.size),

super(parent, name, { type: SimpleADResource.resourceTypeName, properties });
cdk.requireProperty(properties, 'simpleAdName', this);
cdk.requireProperty(properties, 'name', this);
cdk.requireProperty(properties, 'password', this);

@@ -267,2 +267,2 @@ cdk.requireProperty(properties, 'size', this);

exports.SimpleADDnsIpAddresses = SimpleADDnsIpAddresses;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGlyZWN0b3J5c2VydmljZS5nZW5lcmF0ZWQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJkaXJlY3RvcnlzZXJ2aWNlLmdlbmVyYXRlZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpb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J0aWVzIG9mIGEgYGBWcGNTZXR0aW5nc1Byb3BlcnR5YGBcbiAgICAgKlxuICAgICAqIEByZXR1cm5zIHRoZSBBV1MgQ2xvdWRGb3JtYXRpb24gcHJvcGVydGllcyBvZiBhbiBgYEFXUzo6RGlyZWN0b3J5U2VydmljZTo6U2ltcGxlQUQuVnBjU2V0dGluZ3NgYCByZXNvdXJjZS5cbiAgICAgKi9cbiAgICBmdW5jdGlvbiBzaW1wbGVBRFJlc291cmNlVnBjU2V0dGluZ3NQcm9wZXJ0eVRvQ2xvdWRGb3JtYXRpb24ocHJvcGVydGllczogYW55KTogYW55IHtcbiAgICAgICAgaWYgKCFjZGsuY2FuSW5zcGVjdChwcm9wZXJ0aWVzKSkgeyByZXR1cm4gcHJvcGVydGllczsgfVxuICAgICAgICBTaW1wbGVBRFJlc291cmNlX1ZwY1NldHRpbmdzUHJvcGVydHlWYWxpZGF0b3IocHJvcGVydGllcykuYXNzZXJ0U3VjY2VzcygpO1xuICAgICAgICByZXR1cm4ge1xuICAgICAgICAgIFN1Ym5ldElkczogY2RrLmxpc3RNYXBwZXIoY2RrLnN0cmluZ1RvQ2xvdWRGb3JtYXRpb24pKHByb3BlcnRpZXMuc3VibmV0SWRzKSxcbiAgICAgICAgICBWcGNJZDogY2RrLnN0cmluZ1RvQ2xvdWRGb3JtYXRpb24ocHJvcGVydGllcy52cGNJZCksXG4gICAgICAgIH07XG4gICAgfVxufVxuXG5leHBvcnQgY2xhc3MgU2ltcGxlQUREbnNJcEFkZHJlc3NlcyBleHRlbmRzIGNkay5Ub2tlbiB7XG4gICAgLy8gQHRzLWlnbm9yZTogcHJpdmF0ZSBidXQgdW51c2VkIG9uIHB1cnBvc2UuXG4gICAgcHJpdmF0ZSByZWFkb25seSB0aGlzSXNBU2ltcGxlQUREbnNJcEFkZHJlc3NlcyA9IHRydWU7XG59XG4iXX0=
{
"name": "@aws-cdk/aws-directoryservice",
"version": "0.13.0",
"version": "0.14.0",
"description": "The CDK Construct Library for AWS::DirectoryService",

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

"devDependencies": {
"@aws-cdk/assert": "^0.13.0",
"cdk-build-tools": "^0.13.0",
"cfn2ts": "^0.13.0",
"pkglint": "^0.13.0"
"@aws-cdk/assert": "^0.14.0",
"cdk-build-tools": "^0.14.0",
"cfn2ts": "^0.14.0",
"pkglint": "^0.14.0"
},
"dependencies": {
"@aws-cdk/cdk": "^0.13.0"
"@aws-cdk/cdk": "^0.14.0"
},
"homepage": "https://github.com/awslabs/aws-cdk"
}

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