@casechek/aws-cdk-elasticsearch-index
Advanced tools
Comparing version 1.0.0-alpha.15 to 1.0.0-alpha.16
@@ -50,2 +50,5 @@ "use strict"; | ||
serviceToken: provider.serviceToken, | ||
properties: { | ||
mappingJSONPath: props.mappingJSONPath, | ||
}, | ||
}); | ||
@@ -56,2 +59,2 @@ this.indexName = resource.getAttString(constants_1.INDEX_NAME_KEY); | ||
exports.ElasticsearchIndex = ElasticsearchIndex; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9saWIvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7O0FBQUEsd0NBQW9FO0FBQ3BFLDBEQUErQztBQUUvQyxvREFBdUU7QUFDdkUsZ0VBQXFEO0FBQ3JELDJDQUE2QjtBQUM3Qiw4Q0FBbUQ7QUFDbkQseURBQTJEO0FBVTNELE1BQWEsa0JBQW1CLFNBQVEsZ0JBQVM7SUFFL0MsWUFDRSxLQUFnQixFQUNoQixFQUFVLEVBQ1YsS0FBOEIsRUFDOUIsa0JBQTBCLElBQUksQ0FBQyxJQUFJLENBQ2pDLFNBQVMsRUFDVCxJQUFJLEVBQ0osV0FBVyxFQUNYLFVBQVUsQ0FDWDtRQUVELEtBQUssQ0FBQyxLQUFLLEVBQUUsRUFBRSxDQUFDLENBQUM7UUFFakIsTUFBTSxnQkFBZ0IsR0FBRyxJQUFJLHFCQUFLLENBQUMsSUFBSSxFQUFFLHlCQUF5QixFQUFFO1lBQ2xFLElBQUksRUFBRSxLQUFLLENBQUMsZUFBZTtTQUM1QixDQUFDLENBQUM7UUFFSCxNQUFNLGNBQWMsR0FBRyxJQUFJLHFCQUFRLENBQUMsSUFBSSxFQUFFLGdCQUFnQixFQUFFO1lBQzFELE9BQU8sRUFBRSxvQkFBTyxDQUFDLFdBQVc7WUFDNUIsSUFBSSxFQ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gICAgIFMzX1VSTDogbWFwcGluZ0pTT05Bc3NldC5zM1VybCxcbiAgICAgIH0sXG4gICAgICB0aW1lb3V0OiBEdXJhdGlvbi5taW51dGVzKDE0KSxcbiAgICAgIHZwYzogcHJvcHMudnBjLFxuICAgICAgdHJhY2luZzogVHJhY2luZy5BQ1RJVkUsXG4gICAgfSk7XG5cbiAgICBtYXBwaW5nSlNPTkFzc2V0LmdyYW50UmVhZChvbkV2ZW50SGFuZGxlcik7XG5cbiAgICBpZiAocHJvcHMucG9saWN5QXJuKSB7XG4gICAgICBvbkV2ZW50SGFuZGxlci5hZGRUb1JvbGVQb2xpY3koXG4gICAgICAgIG5ldyBQb2xpY3lTdGF0ZW1lbnQoe1xuICAgICAgICAgIGFjdGlvbnM6IFsnZXM6RVNIdHRwR2V0JywgJ2VzOkVTSHR0cEhlYWQnLCAnZXM6RVNIdHRwUHV0J10sXG4gICAgICAgICAgcmVzb3VyY2VzOiBbcHJvcHMucG9saWN5QXJuXSxcbiAgICAgICAgfSlcbiAgICAgICk7XG4gICAgfVxuXG4gICAgY29uc3QgcHJvdmlkZXIgPSBuZXcgUHJvdmlkZXIodGhpcywgJ0VsYXN0aWNzZWFyY2hJbmRleFByb3ZpZGVyJywge1xuICAgICAgb25FdmVudEhhbmRsZXIsXG4gICAgfSk7XG5cbiAgICBjb25zdCByZXNvdXJjZSA9IG5ldyBDdXN0b21SZXNvdXJjZSh0aGlzLCAnRWxhc3RpY3NlYXJjaEluZGV4Jywge1xuICAgICAgc2VydmljZVRva2VuOiBwcm92aWRlci5zZXJ2aWNlVG9rZW4sXG4gICAgfSk7XG5cbiAgICB0aGlzLmluZGV4TmFtZSA9IHJlc291cmNlLmdldEF0dFN0cmluZyhJTkRFWF9OQU1FX0tFWSk7XG4gIH1cbn1cbiJdfQ== | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyI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IpO1xuXG4gICAgaWYgKHByb3BzLnBvbGljeUFybikge1xuICAgICAgb25FdmVudEhhbmRsZXIuYWRkVG9Sb2xlUG9saWN5KFxuICAgICAgICBuZXcgUG9saWN5U3RhdGVtZW50KHtcbiAgICAgICAgICBhY3Rpb25zOiBbJ2VzOkVTSHR0cEdldCcsICdlczpFU0h0dHBIZWFkJywgJ2VzOkVTSHR0cFB1dCddLFxuICAgICAgICAgIHJlc291cmNlczogW3Byb3BzLnBvbGljeUFybl0sXG4gICAgICAgIH0pXG4gICAgICApO1xuICAgIH1cblxuICAgIGNvbnN0IHByb3ZpZGVyID0gbmV3IFByb3ZpZGVyKHRoaXMsICdFbGFzdGljc2VhcmNoSW5kZXhQcm92aWRlcicsIHtcbiAgICAgIG9uRXZlbnRIYW5kbGVyLFxuICAgIH0pO1xuXG4gICAgY29uc3QgcmVzb3VyY2UgPSBuZXcgQ3VzdG9tUmVzb3VyY2UodGhpcywgJ0VsYXN0aWNzZWFyY2hJbmRleCcsIHtcbiAgICAgIHNlcnZpY2VUb2tlbjogcHJvdmlkZXIuc2VydmljZVRva2VuLFxuICAgICAgcHJvcGVydGllczoge1xuICAgICAgICBtYXBwaW5nSlNPTlBhdGg6IHByb3BzLm1hcHBpbmdKU09OUGF0aCxcbiAgICAgIH0sXG4gICAgfSk7XG5cbiAgICB0aGlzLmluZGV4TmFtZSA9IHJlc291cmNlLmdldEF0dFN0cmluZyhJTkRFWF9OQU1FX0tFWSk7XG4gIH1cbn1cbiJdfQ== |
{ | ||
"name": "@casechek/aws-cdk-elasticsearch-index", | ||
"version": "1.0.0-alpha.15", | ||
"version": "1.0.0-alpha.16", | ||
"description": "Elasticsearch Index Custom Resource for AWS CDK", | ||
@@ -5,0 +5,0 @@ "main": "dist/lib/index.js", |
Sorry, the diff of this file is too big to display
994452
28279