File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 11import 'source-map-support/register' ;
22import { App } from 'aws-cdk-lib' ;
3+ import type { NotificationProps } from '../lib/notification' ;
34import { Notification } from '../lib/notification' ;
45import type { RegistrationProps } from '../lib/registration' ;
56import { Registration } from '../lib/registration' ;
@@ -10,12 +11,12 @@ import { SloMonitoring } from '../lib/slo-monitoring';
1011
1112const app = new App ( ) ;
1213
13- export const notificationCodeProps : GuStackProps = {
14+ export const notificationCodeProps : NotificationProps = {
1415 stack : 'mobile-notifications' ,
1516 stage : 'CODE' ,
1617} ;
1718
18- export const notificationProdProps : GuStackProps = {
19+ export const notificationProdProps : NotificationProps = {
1920 stack : 'mobile-notifications' ,
2021 stage : 'PROD' ,
2122} ;
Original file line number Diff line number Diff line change @@ -4,6 +4,11 @@ import { GuStack } from '@guardian/cdk/lib/constructs/core';
44import type { App } from 'aws-cdk-lib' ;
55import { CfnInclude } from 'aws-cdk-lib/cloudformation-include' ;
66
7+ export interface NotificationProps extends GuStackProps {
8+ stack : string ;
9+ stage : string ;
10+ }
11+
712export class Notification extends GuStack {
813 constructor ( scope : App , id : string , props : GuStackProps ) {
914 super ( scope , id , props ) ;
You can’t perform that action at this time.
0 commit comments