@aws-cdk/aws-elasticsearch
Advanced tools
Comparing version 0.21.0 to 0.22.0
@@ -22,3 +22,3 @@ import cdk = require('@aws-cdk/cdk'); | ||
*/ | ||
domainName?: string | cdk.Token; | ||
domainName?: string; | ||
/** | ||
@@ -38,3 +38,3 @@ * ``AWS::Elasticsearch::Domain.EBSOptions`` | ||
*/ | ||
elasticsearchVersion?: string | cdk.Token; | ||
elasticsearchVersion?: string; | ||
/** | ||
@@ -81,7 +81,7 @@ * ``AWS::Elasticsearch::Domain.EncryptionAtRestOptions`` | ||
* | ||
* @param parent the ``cdk.Construct`` this ``CfnDomain`` is a part of | ||
* @param name the name of the resource in the ``cdk.Construct`` tree | ||
* @param properties the properties of this ``CfnDomain`` | ||
* @param scope scope in which this resource is defined | ||
* @param id scoped id of the resource | ||
* @param props resource properties | ||
*/ | ||
constructor(parent: cdk.Construct, name: string, properties?: CfnDomainProps); | ||
constructor(scope: cdk.Construct, id: string, props?: CfnDomainProps); | ||
readonly propertyOverrides: CfnDomainProps; | ||
@@ -116,3 +116,3 @@ protected renderProperties(properties: any): { | ||
*/ | ||
volumeType?: string | cdk.Token; | ||
volumeType?: string; | ||
} | ||
@@ -139,3 +139,3 @@ } | ||
*/ | ||
dedicatedMasterType?: string | cdk.Token; | ||
dedicatedMasterType?: string; | ||
/** | ||
@@ -150,3 +150,3 @@ * ``CfnDomain.ElasticsearchClusterConfigProperty.InstanceCount`` | ||
*/ | ||
instanceType?: string | cdk.Token; | ||
instanceType?: string; | ||
/** | ||
@@ -173,3 +173,3 @@ * ``CfnDomain.ElasticsearchClusterConfigProperty.ZoneAwarenessEnabled`` | ||
*/ | ||
kmsKeyId?: string | cdk.Token; | ||
kmsKeyId?: string; | ||
} | ||
@@ -206,201 +206,1 @@ } | ||
} | ||
export declare namespace cloudformation { | ||
/** | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticsearch-domain.html | ||
*/ | ||
interface DomainResourceProps { | ||
/** | ||
* ``AWS::Elasticsearch::Domain.AccessPolicies`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticsearch-domain.html#cfn-elasticsearch-domain-accesspolicies | ||
*/ | ||
accessPolicies?: object | cdk.Token; | ||
/** | ||
* ``AWS::Elasticsearch::Domain.AdvancedOptions`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticsearch-domain.html#cfn-elasticsearch-domain-advancedoptions | ||
*/ | ||
advancedOptions?: { | ||
[key: string]: (string | cdk.Token); | ||
} | cdk.Token; | ||
/** | ||
* ``AWS::Elasticsearch::Domain.DomainName`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticsearch-domain.html#cfn-elasticsearch-domain-domainname | ||
*/ | ||
domainName?: string | cdk.Token; | ||
/** | ||
* ``AWS::Elasticsearch::Domain.EBSOptions`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticsearch-domain.html#cfn-elasticsearch-domain-ebsoptions | ||
*/ | ||
ebsOptions?: DomainResource.EBSOptionsProperty | cdk.Token; | ||
/** | ||
* ``AWS::Elasticsearch::Domain.ElasticsearchClusterConfig`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticsearch-domain.html#cfn-elasticsearch-domain-elasticsearchclusterconfig | ||
*/ | ||
elasticsearchClusterConfig?: DomainResource.ElasticsearchClusterConfigProperty | cdk.Token; | ||
/** | ||
* ``AWS::Elasticsearch::Domain.ElasticsearchVersion`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticsearch-domain.html#cfn-elasticsearch-domain-elasticsearchversion | ||
*/ | ||
elasticsearchVersion?: string | cdk.Token; | ||
/** | ||
* ``AWS::Elasticsearch::Domain.EncryptionAtRestOptions`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticsearch-domain.html#cfn-elasticsearch-domain-encryptionatrestoptions | ||
*/ | ||
encryptionAtRestOptions?: DomainResource.EncryptionAtRestOptionsProperty | cdk.Token; | ||
/** | ||
* ``AWS::Elasticsearch::Domain.SnapshotOptions`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticsearch-domain.html#cfn-elasticsearch-domain-snapshotoptions | ||
*/ | ||
snapshotOptions?: DomainResource.SnapshotOptionsProperty | cdk.Token; | ||
/** | ||
* ``AWS::Elasticsearch::Domain.Tags`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticsearch-domain.html#cfn-elasticsearch-domain-tags | ||
*/ | ||
tags?: Array<cdk.Tag | cdk.Token> | cdk.Token; | ||
/** | ||
* ``AWS::Elasticsearch::Domain.VPCOptions`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticsearch-domain.html#cfn-elasticsearch-domain-vpcoptions | ||
*/ | ||
vpcOptions?: DomainResource.VPCOptionsProperty | cdk.Token; | ||
} | ||
/** | ||
* @deprecated "cloudformation.DomainResource" will be deprecated in a future release in favor of "CfnDomain" (see https://github.com/awslabs/aws-cdk/issues/878) | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticsearch-domain.html | ||
*/ | ||
class DomainResource extends cdk.Resource { | ||
/** | ||
* The CloudFormation resource type name for this resource class. | ||
*/ | ||
static readonly resourceTypeName = "AWS::Elasticsearch::Domain"; | ||
/** | ||
* @cloudformation_attribute Arn | ||
*/ | ||
readonly domainArn: string; | ||
/** | ||
* @cloudformation_attribute DomainEndpoint | ||
*/ | ||
readonly domainEndpoint: string; | ||
readonly domainName: string; | ||
/** | ||
* Creates a new ``AWS::Elasticsearch::Domain``. | ||
* | ||
* @param parent the ``cdk.Construct`` this ``DomainResource`` is a part of | ||
* @param name the name of the resource in the ``cdk.Construct`` tree | ||
* @param properties the properties of this ``DomainResource`` | ||
*/ | ||
constructor(parent: cdk.Construct, name: string, properties?: DomainResourceProps); | ||
readonly propertyOverrides: DomainResourceProps; | ||
protected renderProperties(properties: any): { | ||
[key: string]: any; | ||
}; | ||
} | ||
namespace DomainResource { | ||
/** | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-ebsoptions.html | ||
*/ | ||
interface EBSOptionsProperty { | ||
/** | ||
* ``DomainResource.EBSOptionsProperty.EBSEnabled`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-ebsoptions.html#cfn-elasticsearch-domain-ebsoptions-ebsenabled | ||
*/ | ||
ebsEnabled?: boolean | cdk.Token; | ||
/** | ||
* ``DomainResource.EBSOptionsProperty.Iops`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-ebsoptions.html#cfn-elasticsearch-domain-ebsoptions-iops | ||
*/ | ||
iops?: number | cdk.Token; | ||
/** | ||
* ``DomainResource.EBSOptionsProperty.VolumeSize`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-ebsoptions.html#cfn-elasticsearch-domain-ebsoptions-volumesize | ||
*/ | ||
volumeSize?: number | cdk.Token; | ||
/** | ||
* ``DomainResource.EBSOptionsProperty.VolumeType`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-ebsoptions.html#cfn-elasticsearch-domain-ebsoptions-volumetype | ||
*/ | ||
volumeType?: string | cdk.Token; | ||
} | ||
} | ||
namespace DomainResource { | ||
/** | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-elasticsearchclusterconfig.html | ||
*/ | ||
interface ElasticsearchClusterConfigProperty { | ||
/** | ||
* ``DomainResource.ElasticsearchClusterConfigProperty.DedicatedMasterCount`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-elasticsearchclusterconfig.html#cfn-elasticsearch-domain-elasticseachclusterconfig-dedicatedmastercount | ||
*/ | ||
dedicatedMasterCount?: number | cdk.Token; | ||
/** | ||
* ``DomainResource.ElasticsearchClusterConfigProperty.DedicatedMasterEnabled`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-elasticsearchclusterconfig.html#cfn-elasticsearch-domain-elasticseachclusterconfig-dedicatedmasterenabled | ||
*/ | ||
dedicatedMasterEnabled?: boolean | cdk.Token; | ||
/** | ||
* ``DomainResource.ElasticsearchClusterConfigProperty.DedicatedMasterType`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-elasticsearchclusterconfig.html#cfn-elasticsearch-domain-elasticseachclusterconfig-dedicatedmastertype | ||
*/ | ||
dedicatedMasterType?: string | cdk.Token; | ||
/** | ||
* ``DomainResource.ElasticsearchClusterConfigProperty.InstanceCount`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-elasticsearchclusterconfig.html#cfn-elasticsearch-domain-elasticseachclusterconfig-instancecount | ||
*/ | ||
instanceCount?: number | cdk.Token; | ||
/** | ||
* ``DomainResource.ElasticsearchClusterConfigProperty.InstanceType`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-elasticsearchclusterconfig.html#cfn-elasticsearch-domain-elasticseachclusterconfig-instnacetype | ||
*/ | ||
instanceType?: string | cdk.Token; | ||
/** | ||
* ``DomainResource.ElasticsearchClusterConfigProperty.ZoneAwarenessEnabled`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-elasticsearchclusterconfig.html#cfn-elasticsearch-domain-elasticseachclusterconfig-zoneawarenessenabled | ||
*/ | ||
zoneAwarenessEnabled?: boolean | cdk.Token; | ||
} | ||
} | ||
namespace DomainResource { | ||
/** | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-encryptionatrestoptions.html | ||
*/ | ||
interface EncryptionAtRestOptionsProperty { | ||
/** | ||
* ``DomainResource.EncryptionAtRestOptionsProperty.Enabled`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-encryptionatrestoptions.html#cfn-elasticsearch-domain-encryptionatrestoptions-enabled | ||
*/ | ||
enabled?: boolean | cdk.Token; | ||
/** | ||
* ``DomainResource.EncryptionAtRestOptionsProperty.KmsKeyId`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-encryptionatrestoptions.html#cfn-elasticsearch-domain-encryptionatrestoptions-kmskeyid | ||
*/ | ||
kmsKeyId?: string | cdk.Token; | ||
} | ||
} | ||
namespace DomainResource { | ||
/** | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-snapshotoptions.html | ||
*/ | ||
interface SnapshotOptionsProperty { | ||
/** | ||
* ``DomainResource.SnapshotOptionsProperty.AutomatedSnapshotStartHour`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-snapshotoptions.html#cfn-elasticsearch-domain-snapshotoptions-automatedsnapshotstarthour | ||
*/ | ||
automatedSnapshotStartHour?: number | cdk.Token; | ||
} | ||
} | ||
namespace DomainResource { | ||
/** | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-vpcoptions.html | ||
*/ | ||
interface VPCOptionsProperty { | ||
/** | ||
* ``DomainResource.VPCOptionsProperty.SecurityGroupIds`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-vpcoptions.html#cfn-elasticsearch-domain-vpcoptions-securitygroupids | ||
*/ | ||
securityGroupIds?: Array<string | cdk.Token> | cdk.Token; | ||
/** | ||
* ``DomainResource.VPCOptionsProperty.SubnetIds`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-vpcoptions.html#cfn-elasticsearch-domain-vpcoptions-subnetids | ||
*/ | ||
subnetIds?: Array<string | cdk.Token> | cdk.Token; | ||
} | ||
} | ||
} |
{ | ||
"name": "@aws-cdk/aws-elasticsearch", | ||
"version": "0.21.0", | ||
"version": "0.22.0", | ||
"description": "The CDK Construct Library for AWS::Elasticsearch", | ||
@@ -37,3 +37,5 @@ "main": "lib/index.js", | ||
"pkglint": "pkglint -f", | ||
"package": "cdk-package" | ||
"package": "cdk-package", | ||
"awslint": "cdk-awslint", | ||
"cfn2ts": "cfn2ts" | ||
}, | ||
@@ -56,13 +58,13 @@ "cdk-build": { | ||
"devDependencies": { | ||
"@aws-cdk/assert": "^0.21.0", | ||
"cdk-build-tools": "^0.21.0", | ||
"cfn2ts": "^0.21.0", | ||
"pkglint": "^0.21.0" | ||
"@aws-cdk/assert": "^0.22.0", | ||
"cdk-build-tools": "^0.22.0", | ||
"cfn2ts": "^0.22.0", | ||
"pkglint": "^0.22.0" | ||
}, | ||
"dependencies": { | ||
"@aws-cdk/cdk": "^0.21.0" | ||
"@aws-cdk/cdk": "^0.22.0" | ||
}, | ||
"homepage": "https://github.com/awslabs/aws-cdk", | ||
"peerDependencies": { | ||
"@aws-cdk/cdk": "^0.21.0" | ||
"@aws-cdk/cdk": "^0.22.0" | ||
}, | ||
@@ -69,0 +71,0 @@ "engines": { |
@@ -25,5 +25,20 @@ { | ||
"strictNullChecks": true, | ||
"target": "ES2018" | ||
"target": "ES2018", | ||
"composite": true | ||
}, | ||
"include": [ | ||
"**/*.ts" | ||
], | ||
"exclude": [ | ||
"node_modules" | ||
], | ||
"references": [ | ||
{ | ||
"path": "../cdk" | ||
}, | ||
{ | ||
"path": "../assert" | ||
} | ||
], | ||
"_generated_by_jsii_": "Generated by jsii - safe to delete, and ideally should be in .gitignore" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
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
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
107146
520
+ Added@aws-cdk/cdk@0.22.0(transitive)
+ Added@aws-cdk/cx-api@0.22.0(transitive)
- Removed@aws-cdk/cdk@0.21.0(transitive)
- Removed@aws-cdk/cx-api@0.21.0(transitive)
Updated@aws-cdk/cdk@^0.22.0