@aws-cdk/aws-elasticsearch
Advanced tools
Comparing version 0.24.1 to 0.25.0
@@ -5,3 +5,3 @@ "use strict"; | ||
// See: docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-resource-specification.html | ||
// @cfn2ts:meta@ {"generated":"2019-02-07T16:46:47.840Z","fingerprint":"mCogtx42IWKQzrYmrYfwptRTTLuZuFgNVVADPr7PD6k="} | ||
// @cfn2ts:meta@ {"generated":"2019-02-28T09:52:42.958Z","fingerprint":"MTbLUbuqq1cKHtvgg5vMyEG3HcUqiVnV/MX6WlFF8JM="} | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -42,2 +42,3 @@ // tslint:disable:max-line-length | This is generated code - line lengths are difficult to control | ||
*/ | ||
// @ts-ignore TS6133 | ||
function cfnDomainPropsToCloudFormation(properties) { | ||
@@ -125,2 +126,3 @@ if (!cdk.canInspect(properties)) { | ||
*/ | ||
// @ts-ignore TS6133 | ||
function cfnDomainEBSOptionsPropertyToCloudFormation(properties) { | ||
@@ -165,2 +167,3 @@ if (!cdk.canInspect(properties)) { | ||
*/ | ||
// @ts-ignore TS6133 | ||
function cfnDomainElasticsearchClusterConfigPropertyToCloudFormation(properties) { | ||
@@ -203,2 +206,3 @@ if (!cdk.canInspect(properties)) { | ||
*/ | ||
// @ts-ignore TS6133 | ||
function cfnDomainEncryptionAtRestOptionsPropertyToCloudFormation(properties) { | ||
@@ -236,2 +240,3 @@ if (!cdk.canInspect(properties)) { | ||
*/ | ||
// @ts-ignore TS6133 | ||
function cfnDomainNodeToNodeEncryptionOptionsPropertyToCloudFormation(properties) { | ||
@@ -268,2 +273,3 @@ if (!cdk.canInspect(properties)) { | ||
*/ | ||
// @ts-ignore TS6133 | ||
function cfnDomainSnapshotOptionsPropertyToCloudFormation(properties) { | ||
@@ -301,2 +307,3 @@ if (!cdk.canInspect(properties)) { | ||
*/ | ||
// @ts-ignore TS6133 | ||
function cfnDomainVPCOptionsPropertyToCloudFormation(properties) { | ||
@@ -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JpcHQgcHJvcGVydGllcyBvZiBhIGBgVlBDT3B0aW9uc1Byb3BlcnR5YGBcbiAqXG4gKiBAcmV0dXJucyB0aGUgQVdTIENsb3VkRm9ybWF0aW9uIHByb3BlcnRpZXMgb2YgYW4gYGBBV1M6OkVsYXN0aWNzZWFyY2g6OkRvbWFpbi5WUENPcHRpb25zYGAgcmVzb3VyY2UuXG4gKi9cbi8vIEB0cy1pZ25vcmUgVFM2MTMzXG5mdW5jdGlvbiBjZm5Eb21haW5WUENPcHRpb25zUHJvcGVydHlUb0Nsb3VkRm9ybWF0aW9uKHByb3BlcnRpZXM6IGFueSk6IGFueSB7XG4gICAgaWYgKCFjZGsuY2FuSW5zcGVjdChwcm9wZXJ0aWVzKSkgeyByZXR1cm4gcHJvcGVydGllczsgfVxuICAgIENmbkRvbWFpbl9WUENPcHRpb25zUHJvcGVydHlWYWxpZGF0b3IocHJvcGVydGllcykuYXNzZXJ0U3VjY2VzcygpO1xuICAgIHJldHVybiB7XG4gICAgICBTZWN1cml0eUdyb3VwSWRzOiBjZGsubGlzdE1hcHBlcihjZGsuc3RyaW5nVG9DbG91ZEZvcm1hdGlvbikocHJvcGVydGllcy5zZWN1cml0eUdyb3VwSWRzKSxcbiAgICAgIFN1Ym5ldElkczogY2RrLmxpc3RNYXBwZXIoY2RrLnN0cmluZ1RvQ2xvdWRGb3JtYXRpb24pKHByb3BlcnRpZXMuc3VibmV0SWRzKSxcbiAgICB9O1xufVxuIl19 |
{ | ||
"name": "@aws-cdk/aws-elasticsearch", | ||
"version": "0.24.1", | ||
"version": "0.25.0", | ||
"description": "The CDK Construct Library for AWS::Elasticsearch", | ||
@@ -57,13 +57,13 @@ "main": "lib/index.js", | ||
"devDependencies": { | ||
"@aws-cdk/assert": "^0.24.1", | ||
"cdk-build-tools": "^0.24.1", | ||
"cfn2ts": "^0.24.1", | ||
"pkglint": "^0.24.1" | ||
"@aws-cdk/assert": "^0.25.0", | ||
"cdk-build-tools": "^0.25.0", | ||
"cfn2ts": "^0.25.0", | ||
"pkglint": "^0.25.0" | ||
}, | ||
"dependencies": { | ||
"@aws-cdk/cdk": "^0.24.1" | ||
"@aws-cdk/cdk": "^0.25.0" | ||
}, | ||
"homepage": "https://github.com/awslabs/aws-cdk", | ||
"peerDependencies": { | ||
"@aws-cdk/cdk": "^0.24.1" | ||
"@aws-cdk/cdk": "^0.25.0" | ||
}, | ||
@@ -73,2 +73,2 @@ "engines": { | ||
} | ||
} | ||
} |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
595
118931
12
1
+ Added@aws-cdk/cdk@0.25.3(transitive)
+ Added@aws-cdk/cx-api@0.25.3(transitive)
- Removed@aws-cdk/cdk@0.24.1(transitive)
- Removed@aws-cdk/cx-api@0.24.1(transitive)
Updated@aws-cdk/cdk@^0.25.0