22
33exports [` The FootballNotificationsLambda stack matches the snapshot for CODE 1` ] = `
44{
5- " AWSTemplateFormatVersion" : " 2010-09-09" ,
6- " Description" : " mobile-notifications-football" ,
75 " Metadata" : {
86 " gu:cdk:constructs" : [
97 " GuDistributionBucketParameter" ,
@@ -14,42 +12,15 @@ exports[`The FootballNotificationsLambda stack matches the snapshot for CODE 1`]
1412 " gu:cdk:version" : " TEST" ,
1513 },
1614 " Parameters" : {
17- " App" : {
18- " Default" : " football" ,
19- " Description" : " Application name" ,
20- " Type" : " String" ,
21- },
22- " DeployBucket" : {
23- " Default" : " mobile-dist" ,
24- " Description" : " Bucket where RiffRaff uploads artifacts on deploy" ,
25- " Type" : " String" ,
26- },
2715 " DistributionBucketName" : {
2816 " Default" : " /account/services/artifact.bucket" ,
2917 " Description" : " SSM parameter containing the S3 bucket name holding distribution artifacts" ,
3018 " Type" : " AWS::SSM::Parameter::Value<String>" ,
3119 },
32- " DynamoNotificationTopic" : {
33- " Description" : " SNS topic to notify when there's a dynamo throttling event" ,
34- " Type" : " String" ,
35- },
36- " Stack" : {
37- " Default" : " mobile-notifications" ,
38- " Description" : " Stack name" ,
39- " Type" : " String" ,
40- },
41- " Stage" : {
42- " AllowedValues" : [
43- " CODE" ,
44- " PROD" ,
45- ],
46- " Default" : " CODE" ,
47- " Description" : " Stage name" ,
48- " Type" : " String" ,
49- },
5020 },
5121 " Resources" : {
5222 " DynamoTable" : {
23+ " DeletionPolicy" : " Retain" ,
5324 " Properties" : {
5425 " AttributeDefinitions" : [
5526 {
@@ -67,9 +38,7 @@ exports[`The FootballNotificationsLambda stack matches the snapshot for CODE 1`]
6738 " ReadCapacityUnits" : 3 ,
6839 " WriteCapacityUnits" : 3 ,
6940 },
70- " TableName" : {
71- " Fn::Sub" : " \$ {Stack}-\$ {App}-notifications-\$ {Stage}" ,
72- },
41+ " TableName" : " mobile-notifications-football-notifications-CODE" ,
7342 " Tags" : [
7443 {
7544 " Key" : " devx-backup-enabled" ,
@@ -98,6 +67,7 @@ exports[`The FootballNotificationsLambda stack matches the snapshot for CODE 1`]
9867 },
9968 },
10069 " Type" : " AWS::DynamoDB::Table" ,
70+ " UpdateReplacePolicy" : " Retain" ,
10171 },
10272 " ErrorEventMetricFilter9872E3AE" : {
10373 " Properties" : {
@@ -589,8 +559,6 @@ exports[`The FootballNotificationsLambda stack matches the snapshot for CODE 1`]
589559
590560exports [` The FootballNotificationsLambda stack matches the snapshot for PROD 1` ] = `
591561{
592- " AWSTemplateFormatVersion" : " 2010-09-09" ,
593- " Description" : " mobile-notifications-football" ,
594562 " Metadata" : {
595563 " gu:cdk:constructs" : [
596564 " GuDistributionBucketParameter" ,
@@ -601,42 +569,15 @@ exports[`The FootballNotificationsLambda stack matches the snapshot for PROD 1`]
601569 " gu:cdk:version" : " TEST" ,
602570 },
603571 " Parameters" : {
604- " App" : {
605- " Default" : " football" ,
606- " Description" : " Application name" ,
607- " Type" : " String" ,
608- },
609- " DeployBucket" : {
610- " Default" : " mobile-dist" ,
611- " Description" : " Bucket where RiffRaff uploads artifacts on deploy" ,
612- " Type" : " String" ,
613- },
614572 " DistributionBucketName" : {
615573 " Default" : " /account/services/artifact.bucket" ,
616574 " Description" : " SSM parameter containing the S3 bucket name holding distribution artifacts" ,
617575 " Type" : " AWS::SSM::Parameter::Value<String>" ,
618576 },
619- " DynamoNotificationTopic" : {
620- " Description" : " SNS topic to notify when there's a dynamo throttling event" ,
621- " Type" : " String" ,
622- },
623- " Stack" : {
624- " Default" : " mobile-notifications" ,
625- " Description" : " Stack name" ,
626- " Type" : " String" ,
627- },
628- " Stage" : {
629- " AllowedValues" : [
630- " CODE" ,
631- " PROD" ,
632- ],
633- " Default" : " CODE" ,
634- " Description" : " Stage name" ,
635- " Type" : " String" ,
636- },
637577 },
638578 " Resources" : {
639579 " DynamoTable" : {
580+ " DeletionPolicy" : " Retain" ,
640581 " Properties" : {
641582 " AttributeDefinitions" : [
642583 {
@@ -654,9 +595,7 @@ exports[`The FootballNotificationsLambda stack matches the snapshot for PROD 1`]
654595 " ReadCapacityUnits" : 3 ,
655596 " WriteCapacityUnits" : 3 ,
656597 },
657- " TableName" : {
658- " Fn::Sub" : " \$ {Stack}-\$ {App}-notifications-\$ {Stage}" ,
659- },
598+ " TableName" : " mobile-notifications-football-notifications-PROD" ,
660599 " Tags" : [
661600 {
662601 " Key" : " devx-backup-enabled" ,
@@ -685,6 +624,7 @@ exports[`The FootballNotificationsLambda stack matches the snapshot for PROD 1`]
685624 },
686625 },
687626 " Type" : " AWS::DynamoDB::Table" ,
627+ " UpdateReplacePolicy" : " Retain" ,
688628 },
689629 " ErrorEventMetricFilter9872E3AE" : {
690630 " Properties" : {
0 commit comments