@gradientedge/cdk-utils 7.13.0 → 7.15.0

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.
@@ -169,7 +169,6 @@ class ApiToEventBridgeTarget extends common_1.CommonConstruct {
169
169
  ruleName: `${this.id}-api-to-eventbridge-target`,
170
170
  eventPattern: {
171
171
  source: ['api-to-eventbridge-target'],
172
- detailType: ['external-client-event'],
173
172
  },
174
173
  },
175
174
  ...this.props.event.rule,
@@ -267,6 +267,10 @@ class SiteWithEcsBackend extends common_1.CommonConstruct {
267
267
  this.siteEcsListener = fargateService.listener;
268
268
  this.siteEcsLoadBalancer = fargateService.loadBalancer;
269
269
  this.siteEcsTargetGroup = fargateService.targetGroup;
270
+ this.addCfnOutput(`${this.id}-loadBalancerArn`, this.siteEcsLoadBalancer.loadBalancerArn ?? '');
271
+ this.addCfnOutput(`${this.id}-loadBalancerName`, this.siteEcsLoadBalancer.loadBalancerName ?? '');
272
+ this.addCfnOutput(`${this.id}-loadBalancerFullName`, this.siteEcsLoadBalancer.loadBalancerFullName ?? '');
273
+ this.addCfnOutput(`${this.id}-loadBalancerDnsName`, this.siteEcsLoadBalancer.loadBalancerDnsName ?? '');
270
274
  }
271
275
  /**
272
276
  * Method to create log bucket for site distribution
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gradientedge/cdk-utils",
3
- "version": "7.13.0",
3
+ "version": "7.15.0",
4
4
  "description": "Utilities for AWS CDK provisioning",
5
5
  "main": "dist/index.js",
6
6
  "engines": {
@@ -181,7 +181,6 @@ export class ApiToEventBridgeTarget extends CommonConstruct {
181
181
  ruleName: `${this.id}-api-to-eventbridge-target`,
182
182
  eventPattern: {
183
183
  source: ['api-to-eventbridge-target'],
184
- detailType: ['external-client-event'],
185
184
  },
186
185
  },
187
186
  ...this.props.event.rule,
@@ -291,6 +291,11 @@ export class SiteWithEcsBackend extends CommonConstruct {
291
291
  this.siteEcsListener = fargateService.listener
292
292
  this.siteEcsLoadBalancer = fargateService.loadBalancer
293
293
  this.siteEcsTargetGroup = fargateService.targetGroup
294
+
295
+ this.addCfnOutput(`${this.id}-loadBalancerArn`, this.siteEcsLoadBalancer.loadBalancerArn ?? '')
296
+ this.addCfnOutput(`${this.id}-loadBalancerName`, this.siteEcsLoadBalancer.loadBalancerName ?? '')
297
+ this.addCfnOutput(`${this.id}-loadBalancerFullName`, this.siteEcsLoadBalancer.loadBalancerFullName ?? '')
298
+ this.addCfnOutput(`${this.id}-loadBalancerDnsName`, this.siteEcsLoadBalancer.loadBalancerDnsName ?? '')
294
299
  }
295
300
 
296
301
  /**