@gradientedge/cdk-utils 4.9.2 → 4.9.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -31,7 +31,6 @@ export declare class GraphQLApiLambdaWithCache extends GraphQLApiLambda {
31
31
  graphQLElastiCache: elasticache.CfnCacheCluster;
32
32
  graphQLSecurityGroup: ec2.ISecurityGroup;
33
33
  securityGroupExportName: string;
34
- vpcExportName: string;
35
34
  constructor(parent: Construct, id: string, props: GraphQlApiLambdaWithCacheProps);
36
35
  protected initResources(): void;
37
36
  /**
@@ -55,7 +55,6 @@ class GraphQLApiLambdaWithCache extends __1.GraphQLApiLambda {
55
55
  graphQLElastiCache;
56
56
  graphQLSecurityGroup;
57
57
  securityGroupExportName;
58
- vpcExportName;
59
58
  constructor(parent, id, props) {
60
59
  super(parent, id, props);
61
60
  this.props = props;
@@ -101,7 +100,7 @@ class GraphQLApiLambdaWithCache extends __1.GraphQLApiLambda {
101
100
  * @protected
102
101
  */
103
102
  createElastiCache() {
104
- this.graphQLElastiCache = this.elasticacheManager.createElastiCache(`${this.id}-elasticache`, this, this.props.graphQLElastiCache, this.graphQLVpc.privateSubnets.map(subnet => subnet.subnetId), [this.graphQLSecurityGroup.toString()]);
103
+ this.graphQLElastiCache = this.elasticacheManager.createElastiCache(`${this.id}-elasticache`, this, this.props.graphQLElastiCache, this.graphQLVpc.privateSubnets.map(subnet => subnet.subnetId), [this.graphQLSecurityGroup.securityGroupId]);
105
104
  }
106
105
  /**
107
106
  * Create Lambda Role
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gradientedge/cdk-utils",
3
- "version": "4.9.2",
3
+ "version": "4.9.3",
4
4
  "description": "Utilities for AWS CDK provisioning",
5
5
  "main": "dist/index.js",
6
6
  "engines": {
@@ -38,7 +38,6 @@ export class GraphQLApiLambdaWithCache extends GraphQLApiLambda {
38
38
  graphQLElastiCache: elasticache.CfnCacheCluster
39
39
  graphQLSecurityGroup: ec2.ISecurityGroup
40
40
  securityGroupExportName: string
41
- vpcExportName: string
42
41
 
43
42
  constructor(parent: Construct, id: string, props: GraphQlApiLambdaWithCacheProps) {
44
43
  super(parent, id, props)
@@ -99,7 +98,7 @@ export class GraphQLApiLambdaWithCache extends GraphQLApiLambda {
99
98
  this,
100
99
  this.props.graphQLElastiCache,
101
100
  this.graphQLVpc.privateSubnets.map(subnet => subnet.subnetId),
102
- [this.graphQLSecurityGroup.toString()]
101
+ [this.graphQLSecurityGroup.securityGroupId]
103
102
  )
104
103
  }
105
104