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

@aws-cdk/aws-elasticsearch

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-elasticsearch - npm Package Compare versions

Comparing version 0.26.0 to 0.27.0

54

lib/elasticsearch.generated.d.ts

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

*/
accessPolicies?: object | cdk.Token;
readonly accessPolicies?: object | cdk.Token;
/**

@@ -17,3 +17,3 @@ * `AWS::Elasticsearch::Domain.AdvancedOptions`

*/
advancedOptions?: {
readonly advancedOptions?: {
[key: string]: (string);

@@ -25,3 +25,3 @@ } | cdk.Token;

*/
domainName?: string;
readonly domainName?: string;
/**

@@ -31,3 +31,3 @@ * `AWS::Elasticsearch::Domain.EBSOptions`

*/
ebsOptions?: CfnDomain.EBSOptionsProperty | cdk.Token;
readonly ebsOptions?: CfnDomain.EBSOptionsProperty | cdk.Token;
/**

@@ -37,3 +37,3 @@ * `AWS::Elasticsearch::Domain.ElasticsearchClusterConfig`

*/
elasticsearchClusterConfig?: CfnDomain.ElasticsearchClusterConfigProperty | cdk.Token;
readonly elasticsearchClusterConfig?: CfnDomain.ElasticsearchClusterConfigProperty | cdk.Token;
/**

@@ -43,3 +43,3 @@ * `AWS::Elasticsearch::Domain.ElasticsearchVersion`

*/
elasticsearchVersion?: string;
readonly elasticsearchVersion?: string;
/**

@@ -49,3 +49,3 @@ * `AWS::Elasticsearch::Domain.EncryptionAtRestOptions`

*/
encryptionAtRestOptions?: CfnDomain.EncryptionAtRestOptionsProperty | cdk.Token;
readonly encryptionAtRestOptions?: CfnDomain.EncryptionAtRestOptionsProperty | cdk.Token;
/**

@@ -55,3 +55,3 @@ * `AWS::Elasticsearch::Domain.NodeToNodeEncryptionOptions`

*/
nodeToNodeEncryptionOptions?: CfnDomain.NodeToNodeEncryptionOptionsProperty | cdk.Token;
readonly nodeToNodeEncryptionOptions?: CfnDomain.NodeToNodeEncryptionOptionsProperty | cdk.Token;
/**

@@ -61,3 +61,3 @@ * `AWS::Elasticsearch::Domain.SnapshotOptions`

*/
snapshotOptions?: CfnDomain.SnapshotOptionsProperty | cdk.Token;
readonly snapshotOptions?: CfnDomain.SnapshotOptionsProperty | cdk.Token;
/**

@@ -67,3 +67,3 @@ * `AWS::Elasticsearch::Domain.Tags`

*/
tags?: cdk.CfnTag[];
readonly tags?: cdk.CfnTag[];
/**

@@ -73,3 +73,3 @@ * `AWS::Elasticsearch::Domain.VPCOptions`

*/
vpcOptions?: CfnDomain.VPCOptionsProperty | cdk.Token;
readonly vpcOptions?: CfnDomain.VPCOptionsProperty | cdk.Token;
}

@@ -127,3 +127,3 @@ /**

*/
ebsEnabled?: boolean | cdk.Token;
readonly ebsEnabled?: boolean | cdk.Token;
/**

@@ -133,3 +133,3 @@ * `CfnDomain.EBSOptionsProperty.Iops`

*/
iops?: number | cdk.Token;
readonly iops?: number | cdk.Token;
/**

@@ -139,3 +139,3 @@ * `CfnDomain.EBSOptionsProperty.VolumeSize`

*/
volumeSize?: number | cdk.Token;
readonly volumeSize?: number | cdk.Token;
/**

@@ -145,3 +145,3 @@ * `CfnDomain.EBSOptionsProperty.VolumeType`

*/
volumeType?: string;
readonly volumeType?: string;
}

@@ -158,3 +158,3 @@ }

*/
dedicatedMasterCount?: number | cdk.Token;
readonly dedicatedMasterCount?: number | cdk.Token;
/**

@@ -164,3 +164,3 @@ * `CfnDomain.ElasticsearchClusterConfigProperty.DedicatedMasterEnabled`

*/
dedicatedMasterEnabled?: boolean | cdk.Token;
readonly dedicatedMasterEnabled?: boolean | cdk.Token;
/**

@@ -170,3 +170,3 @@ * `CfnDomain.ElasticsearchClusterConfigProperty.DedicatedMasterType`

*/
dedicatedMasterType?: string;
readonly dedicatedMasterType?: string;
/**

@@ -176,3 +176,3 @@ * `CfnDomain.ElasticsearchClusterConfigProperty.InstanceCount`

*/
instanceCount?: number | cdk.Token;
readonly instanceCount?: number | cdk.Token;
/**

@@ -182,3 +182,3 @@ * `CfnDomain.ElasticsearchClusterConfigProperty.InstanceType`

*/
instanceType?: string;
readonly instanceType?: string;
/**

@@ -188,3 +188,3 @@ * `CfnDomain.ElasticsearchClusterConfigProperty.ZoneAwarenessEnabled`

*/
zoneAwarenessEnabled?: boolean | cdk.Token;
readonly zoneAwarenessEnabled?: boolean | cdk.Token;
}

@@ -201,3 +201,3 @@ }

*/
enabled?: boolean | cdk.Token;
readonly enabled?: boolean | cdk.Token;
/**

@@ -207,3 +207,3 @@ * `CfnDomain.EncryptionAtRestOptionsProperty.KmsKeyId`

*/
kmsKeyId?: string;
readonly kmsKeyId?: string;
}

@@ -220,3 +220,3 @@ }

*/
enabled?: boolean | cdk.Token;
readonly enabled?: boolean | cdk.Token;
}

@@ -233,3 +233,3 @@ }

*/
automatedSnapshotStartHour?: number | cdk.Token;
readonly automatedSnapshotStartHour?: number | cdk.Token;
}

@@ -246,3 +246,3 @@ }

*/
securityGroupIds?: string[];
readonly securityGroupIds?: string[];
/**

@@ -252,4 +252,4 @@ * `CfnDomain.VPCOptionsProperty.SubnetIds`

*/
subnetIds?: string[];
readonly subnetIds?: string[];
}
}

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

// See: docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-resource-specification.html
// @cfn2ts:meta@ {"generated":"2019-03-20T12:45:26.446Z","fingerprint":"AsDr3A2V/j2moU9MF1YaLZv1EfeKyetQBA7GyTzm8UM="}
// @cfn2ts:meta@ {"generated":"2019-03-28T21:22:29.347Z","fingerprint":"BLfYxNxIBJTBBmev3SBqo/Q4K03rXMt6SnOaQEDpd/g="}
Object.defineProperty(exports, "__esModule", { value: true });

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

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZWxhc3RpY3NlYXJjaC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BcbiAqXG4gKiBAcmV0dXJucyB0aGUgQVdTIENsb3VkRm9ybWF0aW9uIHByb3BlcnRpZXMgb2YgYW4gYEFXUzo6RWxhc3RpY3NlYXJjaDo6RG9tYWluLlZQQ09wdGlvbnNgIHJlc291cmNlLlxuICovXG4vLyBAdHMtaWdub3JlIFRTNjEzM1xuZnVuY3Rpb24gY2ZuRG9tYWluVlBDT3B0aW9uc1Byb3BlcnR5VG9DbG91ZEZvcm1hdGlvbihwcm9wZXJ0aWVzOiBhbnkpOiBhbnkge1xuICAgIGlmICghY2RrLmNhbkluc3BlY3QocHJvcGVydGllcykpIHsgcmV0dXJuIHByb3BlcnRpZXM7IH1cbiAgICBDZm5Eb21haW5fVlBDT3B0aW9uc1Byb3BlcnR5VmFsaWRhdG9yKHByb3BlcnRpZXMpLmFzc2VydFN1Y2Nlc3MoKTtcbiAgICByZXR1cm4ge1xuICAgICAgU2VjdXJpdHlHcm91cElkczogY2RrLmxpc3RNYXBwZXIoY2RrLnN0cmluZ1RvQ2xvdWRGb3JtYXRpb24pKHByb3BlcnRpZXMuc2VjdXJpdHlHcm91cElkcyksXG4gICAgICBTdWJuZXRJZHM6IGNkay5saXN0TWFwcGVyKGNkay5zdHJpbmdUb0Nsb3VkRm9ybWF0aW9uKShwcm9wZXJ0aWVzLnN1Ym5ldElkcyksXG4gICAgfTtcbn1cbiJdfQ==
{
"name": "@aws-cdk/aws-elasticsearch",
"version": "0.26.0",
"version": "0.27.0",
"description": "The CDK Construct Library for AWS::Elasticsearch",

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

},
"sphinx": {}
"sphinx": {},
"python": {
"distName": "aws-cdk.aws-elasticsearch",
"module": "aws_cdk.aws_elasticsearch"
}
}

@@ -58,13 +62,13 @@ },

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

@@ -71,0 +75,0 @@ "engines": {

@@ -25,2 +25,3 @@ {

"strictNullChecks": true,
"stripInternal": true,
"target": "ES2018",

@@ -27,0 +28,0 @@ "composite": true

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