-
Notifications
You must be signed in to change notification settings - Fork 16
/
_backup-recovery-with-aws-backup.yaml
1675 lines (1598 loc) · 55 KB
/
_backup-recovery-with-aws-backup.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
AWSTemplateFormatVersion: "2010-09-09"
Description: "SSM Parameter for Backup and Recovery with AWS Backup target OUs, Regions, Accounts, and Automation"
Metadata:
AWS::CloudFormation::Interface:
ParameterGroups:
- Label:
default: "GitHub Configuration"
Parameters:
- GitHubRepo
- GitHubBranch
- Label:
default: "GitHub Credentials"
Parameters:
- GitHubUsername
- GitHubPersonalAccessToken
- Label:
default: "Solution Configuration"
Parameters:
- OrgId
- OrgMgmtAcctId
- SolutionHomeOrgUnit
- TargetGlobalRegion
- TargetRegions
- TargetOUs
- Label:
default: "Central Backup Account Configuration"
Parameters:
- AWSBackupCentralAccountOU
- AWSBackupCentralAccountId
- AWSBackupCentralAccountRegion
- Label:
default: "Restore Testing Configuration - Plan"
Parameters:
- RestoreTestSchedule
- SelectionWindowDays
- StartWindowHours
- Label:
default: "Restore Testing Selection - EC2"
Parameters:
- RestoreSubnetEC2
- RestoreSecurityGroupIdEC2
- RestoreValidationHoursEC2
- TagKey
- TagValue
- Label:
default: "Customer Specific Tags"
Parameters:
- BusinessUnit
- CostCenter
- Environment
- ApplicationOwner
- Application
- Label:
default: "AWS Backup Framework Configuration"
Parameters:
- DeployControl1
- DeployControl2
- DeployControl3
- DeployControl4
- DeployControl5
- DeployControl6
- DeployControl7
- DeployControl8
- DeployControl9
- DeployControl10
- Label:
default: "AWS Backup Report Configuration"
Parameters:
- DeployReportFeature
- DeployResourceComplianceReportPlan
- DeployControlComplianceReportPlan
- DeployBackupJobReportPlan
- DeployCopyJobReportPlan
- DeployRestoreJobReportPlan
- Label:
default: "Demo Resources"
Parameters:
- AWSBackupDemoEC2InstanceType
- AWSBackupDemoVPCCIDR
- AWSBackupDemoSubnetCIDR
- AWSBackupDemoTagKey
- AWSBackupDemoTagValue
- Label:
default: "AWS Config Configuration Recorder"
Parameters:
- DeployConfigurationRecorder
ParameterLabels:
GitHubRepo:
default: "GitHub Repository"
GitHubBranch:
default: "GitHub Branch"
GitHubUsername:
default: "GitHub Username"
GitHubPersonalAccessToken:
default: "GitHub Personal Access Token"
OrgId:
default: "AWS Organization ID"
OrgMgmtAcctId:
default: "AWS Organization Management Account ID"
SolutionHomeOrgUnit:
default: "Solution Home Organizational Unit (OU)"
TargetGlobalRegion:
default: "Target Global Region"
TargetRegions:
default: "Target Regions"
TargetOUs:
default: "Target Organizational Units (OUs)"
AWSBackupCentralAccountOU:
default: "AWS Backup Central Account OU"
AWSBackupCentralAccountId:
default: "AWS Backup Central Account ID"
AWSBackupCentralAccountRegion:
default: "AWS Backup Central Account Region"
BusinessUnit:
default: "Business Unit"
CostCenter:
default: "Cost Center"
Environment:
default: "Environment"
ApplicationOwner:
default: "Application Owner"
Application:
default: "Application Name"
RestoreTestSchedule:
default: "Restore Test Schedule (CRON)"
RestoreSubnetEC2:
default: "Restore Subnet for EC2"
RestoreSecurityGroupIdEC2:
default: "Restore Security Group ID to use for EC2"
RestoreValidationHoursEC2:
default: "Restore Validation Duration Time (Hours)"
SelectionWindowDays:
default: "Recovery Points Selection Window (Days)"
StartWindowHours:
default: "Restore Testing Start Window (Hours)"
TagKey:
default: "Resource Point Selection Tag Key"
TagValue:
default: "Resource Point Selection Tag Value"
AWSBackupDemoEC2InstanceType:
default: "Demo EC2 Instance Type"
AWSBackupDemoVPCCIDR:
default: "Demo VPC CIDR Block"
AWSBackupDemoSubnetCIDR:
default: "Demo Subnet CIDR Block"
AWSBackupDemoTagKey:
default: "Tag Key for AWS Backup"
AWSBackupDemoTagValue:
default: "Tag Value for AWS Backup"
DeployControl1:
default: "Control #1-Backup resources are included in at least one backup plan"
DeployControl2:
default: "Control #2-Backup plan has minimum frequency and minimum retention"
DeployControl3:
default: "Control #3-Vaults prevent manual deletion of recovery points"
DeployControl4:
default: "Control #4-Recovery points are encrypted"
DeployControl5:
default: "Control #5-Minimum retention established for recovery point"
DeployControl6:
default: "Control #6-Cross-Region backup copy is scheduled"
DeployControl7:
default: "Control #7-Cross-account backup copy is scheduled"
DeployControl8:
default: "Control #8-Backups are protected by AWS Backup Vault Lock"
DeployControl9:
default: "Control #9-Last recovery point was created"
DeployControl10:
default: "Control #10-Restore time for resources meet target"
DeployReportFeature:
default: "Backup Audit Manager Report Feature"
DeployResourceComplianceReportPlan:
default: "Report Plan #1-RESOURCE_COMPLIANCE_REPORT"
DeployControlComplianceReportPlan:
default: "Report Plan #2-CONTROL_COMPLIANCE_REPORT"
DeployBackupJobReportPlan:
default: "Report Plan #3-BACKUP_JOB_REPORT"
DeployCopyJobReportPlan:
default: "Report Plan #4-COPY_JOB_REPORT"
DeployRestoreJobReportPlan:
default: "Report Plan #5-RESTORE_JOB_REPORT"
DeployConfigurationRecorder:
default: "Auto-configuration of AWS Config Configuration Recorder"
Parameters:
GitHubRepo:
Description: The forked solution GitHub repository name
Type: String
Default: "backup-recovery-with-aws-backup"
GitHubBranch:
Description: Your repository branch to use
Type: String
Default: "main"
GitHubUsername:
Description: Your GitHub Username containing the forked solution repository.
Type: String
GitHubPersonalAccessToken:
Description: Your GitHub Personal Access Token you generated for CodePipeline integration
Type: String
NoEcho: true # Ensures the value is hidden in the AWS Console and outputs
OrgId:
Description: The AWS Organizations ID where backup policies will be administered
Type: String
OrgMgmtAcctId:
Description: The AWS Organizations Management Account ID where backup policies will be administered
Type: String
SolutionHomeOrgUnit:
Description: The AWS Organizational Unit (OU) in which this solution home account lives
Type: String
TargetGlobalRegion:
Description: Target region for global resources
Type: String
TargetRegions:
Description: Comma separated list of regions that you want to configure for backup
Type: String
TargetOUs:
Description: A comma separated list of OUs whose accounts you want to configure for backup
Type: String
AWSBackupCentralAccountOU:
Type: String
Description: The AWS OU for the central account that will be the secondary store for all accounts / regions. Secondary copies and restore testing will be in the selected account within this OU.
AWSBackupCentralAccountId:
Type: String
Description: The AWS Account ID for the central account that will be the secondary store for all AWS Backups. Secondary copies and restore testing will be in this account.
AWSBackupCentralAccountRegion:
Type: String
Description: The region for the central account that will be the secondary store for all AWS Backups. Secondary copies and restore testing will be in this region.
RestoreTestSchedule:
Description: The CRON job to initiate restore test plan. For example, cron(0 7 ? * 6 *) weekly on Saturday, at 07:00 UTC.
Type: String
Default: cron(0 7 ? * 6 *)
RestoreSubnetEC2:
Description: The restore subnet for EC2 restore testing.
Type: String
RestoreSecurityGroupIdEC2:
Description: The restore security group IDs for EC2 restore testing.
Type: String
RestoreValidationHoursEC2:
Description: The number of hours to keep the EC2 instance active for restore validation.
Type: String
Default: 1
SelectionWindowDays:
Description: The number of days to select recovery points.
Type: Number
Default: 365
StartWindowHours:
Description: The number of hours for the restore testing start window.
Type: Number
Default: 1
TagKey:
Description: The tag key used for selecting resources. For example, "backup".
Type: String
Default: "backup"
TagValue:
Description: The tag value used for selecting resources. For example, "daily".
Type: String
Default: "daily"
AWSBackupDemoEC2InstanceType:
Description: The instance type for demo EC2 instances
Type: String
Default: "t3.nano" # Replace with your default value or remove Default to require user input
AWSBackupDemoVPCCIDR:
Description: The CIDR for demo VPC
Type: String
Default: "10.0.0.0/16" # Replace with your default value or remove Default to require user input
AWSBackupDemoSubnetCIDR:
Description: The CIDR for demo subnet
Type: String
Default: "10.0.1.0/24" # Replace with your default value or remove Default to require user input
AWSBackupDemoTagKey:
Description: The tag key to apply to demo resources - align to AWS Backup policy
Type: String
Default: "backup" # Replace with your default value or remove Default to require user input
AWSBackupDemoTagValue:
Description: The tag value to apply to demo resources - align to AWS Backup policy
Type: String
Default: "daily" # Replace with your default value or remove Default to require user input
BusinessUnit:
Description: Business Unit Name
Type: String
MinLength: '1'
MaxLength: '255'
AllowedValues:
- Marketing
- Engineering
- R&D
ConstraintDescription: Must be a valid business unit
Default: Engineering
CostCenter:
Description: Cost Center for AWS Services
Type: String
MinLength: '1'
MaxLength: '255'
Default: '00000'
Environment:
Description: Environment
Type: String
AllowedValues:
- development
- qa
- production
ConstraintDescription: Must be a valid environment
Default: development
ApplicationOwner:
Description: Email address of the application owner
Type: String
Default: someone@example.com
Application:
Description: Application Name
Type: String
Default: Backup and Recovery with AWS Backup
DeployControl1:
Description: 'Do you want to evaluates if resources are included in at least one backup plan?'
Type: String
AllowedValues:
- yes
- no
Default: yes
DeployControl2:
Description: 'Do you want to evaluates if backup frequency is at least x day and retention period is at least y days?'
Type: String
AllowedValues:
- yes
- no
Default: yes
DeployControl3:
Description: 'Do you want to evaluates if backup vaults do not allow manual deletion of recovery points except by certain AWS Identity and Access Management (IAM) roles?'
Type: String
AllowedValues:
- yes
- no
Default: no
DeployControl4:
Description: 'Do you want to evaluates if the recovery points are encrypted?'
Type: String
AllowedValues:
- yes
- no
Default: yes
DeployControl5:
Description: 'Do you want to Evaluates if the recovery point retention period is at least x days?'
Type: String
AllowedValues:
- yes
- no
Default: yes
DeployControl6:
Description: 'Do you want to ealuates if a resource is configured to create copies of its backups to another AWS Region?'
Type: String
AllowedValues:
- yes
- no
Default: no
DeployControl7:
Description: 'Do you want to evaluates if a resource has a cross-account backup copy configured?'
Type: String
AllowedValues:
- yes
- no
Default: yes
DeployControl8:
Description: 'Do you want to evaluates if a resource is configured to have backups in locked backup vault?'
Type: String
AllowedValues:
- yes
- no
Default: no
DeployControl9:
Description: 'Do you want to evaluates if a recovery point was created within specified time frame?'
Type: String
AllowedValues:
- yes
- no
Default: yes
DeployControl10:
Description: 'Do you want to evaluates if restore testing job completed within target restore time?'
Type: String
AllowedValues:
- yes
- no
Default: no
DeployReportFeature:
Description: 'Do you want to deploy Report resources?'
Type: String
AllowedValues:
- yes
- no
Default: yes
DeployResourceComplianceReportPlan:
Description: 'Do you want to create a Resource Compliance Report Plan? This parameter is only used if the value of "Backup Audit Manager Report Feature" is set to true.'
Type: String
AllowedValues:
- yes
- no
Default: yes
DeployControlComplianceReportPlan:
Description: 'Do you want to create a Control Compliance Report Plan? This parameter is only used if the value of "Backup Audit Manager Report Feature" is set to true.'
Type: String
AllowedValues:
- yes
- no
Default: yes
DeployBackupJobReportPlan:
Description: 'Do you want to create a Backup Job Report Plan? This parameter is only used if the value of "Backup Audit Manager Report Feature" is set to true.'
Type: String
AllowedValues:
- yes
- no
Default: yes
DeployCopyJobReportPlan:
Description: 'Do you want to create a Copy Job Report Plan? This parameter is only used if the value of "Backup Audit Manager Report Feature" is set to true.'
Type: String
AllowedValues:
- yes
- no
Default: yes
DeployRestoreJobReportPlan:
Description: 'Do you want to create a Restore Job Report Plan? This parameter is only used if the value of "Backup Audit Manager Report Feature" is set to true.'
Type: String
AllowedValues:
- yes
- no
Default: yes
DeployConfigurationRecorder:
Description: 'Do you want to configure a Configuration Recorders for each region you use. If you select false, you must configure one Configuration Recorder for each region that you use manually.'
Type: String
AllowedValues:
- yes
- no
Default: no
Conditions:
DeployReportFeatureCondition: !Equals [ !Ref DeployReportFeature, "true" ]
Resources:
AWSBackupOrgId:
Type: AWS::SSM::Parameter
Properties:
Description: The AWS Organizations ID where backup policies will be administered.
Name: "/backup/org-id"
Type: String
Value: !Ref OrgId
Tags:
Application: !Ref Application
BusinessUnit: !Ref BusinessUnit
CostCenter: !Ref CostCenter
Environment: !Ref Environment
ApplicationOwner: !Ref ApplicationOwner
AWSBackupBucket:
Type: AWS::SSM::Parameter
Properties:
Description: S3 bucket used to store source artifacts for Backup and Recovery with AWS Backup solution.
Name: "/backup/bucket"
Type: String
Value: !Ref DeploymentBucket
Tags:
Application: !Ref Application
BusinessUnit: !Ref BusinessUnit
CostCenter: !Ref CostCenter
Environment: !Ref Environment
ApplicationOwner: !Ref ApplicationOwner
AWSBackupSolutionOrgUnit:
Type: AWS::SSM::Parameter
Properties:
Description: "AWS Solution AWS Organizations Unit for Backup and Recovery with AWS Backup solution"
Name: "/backup/solution-ou"
Type: String
Value: !Ref SolutionHomeOrgUnit
Tags:
Application: !Ref Application
BusinessUnit: !Ref BusinessUnit
CostCenter: !Ref CostCenter
Environment: !Ref Environment
ApplicationOwner: !Ref ApplicationOwner
AWSBackupCentralAccountOUSSM:
Type: AWS::SSM::Parameter
Properties:
Description: "The AWS OU for the central account that will be the secondary store for all AWS Backups. Secondary copies and restore testing will be in an account within this OU"
Name: "/backup/central-account-ou"
Type: String
Value: !Ref AWSBackupCentralAccountOU
Tags:
Application: !Ref Application
BusinessUnit: !Ref BusinessUnit
CostCenter: !Ref CostCenter
Environment: !Ref Environment
ApplicationOwner: !Ref ApplicationOwner
AWSBackupCentralAccountIdSSM:
Type: AWS::SSM::Parameter
Properties:
Description: "The AWS Account ID for the central account that will be the secondary store for all AWS Backups. Secondary copies and restore testing will be in this account."
Name: "/backup/central-account-id"
Type: String
Value: !Ref AWSBackupCentralAccountId
Tags:
Application: !Ref Application
BusinessUnit: !Ref BusinessUnit
CostCenter: !Ref CostCenter
Environment: !Ref Environment
ApplicationOwner: !Ref ApplicationOwner
AWSBackupCentralAccountRegionSSM:
Type: AWS::SSM::Parameter
Properties:
Description: "The region for the central account that will be the secondary store for all AWS Backups. Secondary copies and restore testing will be in this region."
Name: "/backup/central-account-region"
Type: String
Value: !Ref AWSBackupCentralAccountRegion
Tags:
Application: !Ref Application
BusinessUnit: !Ref BusinessUnit
CostCenter: !Ref CostCenter
Environment: !Ref Environment
ApplicationOwner: !Ref ApplicationOwner
AWSBackupCentralVaultSSM:
Type: AWS::SSM::Parameter
Properties:
Description: "The ARN for the Central Backup Vault that will be the secondary store for all AWS Backups."
Name: "/backup/central-vault-arn"
Type: String
Value: !Sub "arn:aws:backup:${AWSBackupCentralAccountRegion}:${AWSBackupCentralAccountId}:backup-vault:AWSBackupSolutionCentralVault"
Tags:
Application: !Ref Application
BusinessUnit: !Ref BusinessUnit
CostCenter: !Ref CostCenter
Environment: !Ref Environment
ApplicationOwner: !Ref ApplicationOwner
RestoreTestScheduleParameter:
Type: AWS::SSM::Parameter
Properties:
Description: The CRON job to initiate restore test plan.
Name: "/backup/testing/restore-test-schedule"
Type: String
Value: !Ref RestoreTestSchedule
Tags:
Application: !Ref Application
BusinessUnit: !Ref BusinessUnit
CostCenter: !Ref CostCenter
Environment: !Ref Environment
ApplicationOwner: !Ref ApplicationOwner
RestoreSubnetEC2Parameter:
Type: AWS::SSM::Parameter
Properties:
Description: The restore subnet for EC2 restore testing.
Name: "/backup/testing/ec2/subnetId"
Type: String
Value: !Ref RestoreSubnetEC2
Tags:
Application: !Ref Application
BusinessUnit: !Ref BusinessUnit
CostCenter: !Ref CostCenter
Environment: !Ref Environment
ApplicationOwner: !Ref ApplicationOwner
RestoreSecurityGroupIdEC2Parameter:
Type: AWS::SSM::Parameter
Properties:
Description: The restore security group IDs for EC2 restore testing.
Name: "/backup/testing/ec2/securityGroupIds"
Type: String
Value: !Ref RestoreSecurityGroupIdEC2
Tags:
Application: !Ref Application
BusinessUnit: !Ref BusinessUnit
CostCenter: !Ref CostCenter
Environment: !Ref Environment
ApplicationOwner: !Ref ApplicationOwner
RestoreValidationHoursEC2Parameter:
Type: AWS::SSM::Parameter
Properties:
Description: The number of hours to keep the EC2 instance active for restore testing validation.
Name: "/backup/testing/ec2/validation-window-hours"
Type: String
Value: !Ref RestoreValidationHoursEC2
Tags:
Application: !Ref Application
BusinessUnit: !Ref BusinessUnit
CostCenter: !Ref CostCenter
Environment: !Ref Environment
ApplicationOwner: !Ref ApplicationOwner
SelectionWindowDaysParameter:
Type: AWS::SSM::Parameter
Properties:
Description: The number of days to select recovery points.
Name: "/backup/testing/selection-window-days"
Type: String
Value: !Ref SelectionWindowDays
Tags:
Application: !Ref Application
BusinessUnit: !Ref BusinessUnit
CostCenter: !Ref CostCenter
Environment: !Ref Environment
ApplicationOwner: !Ref ApplicationOwner
StartWindowHoursParameter:
Type: AWS::SSM::Parameter
Properties:
Description: The number of hours for the restore testing start window.
Name: "/backup/testing/start-window-hours"
Type: String
Value: !Ref StartWindowHours
Tags:
Application: !Ref Application
BusinessUnit: !Ref BusinessUnit
CostCenter: !Ref CostCenter
Environment: !Ref Environment
ApplicationOwner: !Ref ApplicationOwner
TagKeyParameter:
Type: AWS::SSM::Parameter
Properties:
Description: The tag key used for selecting resources.
Name: "/backup/testing/ec2/tag-key"
Type: String
Value: !Ref TagKey
Tags:
Application: !Ref Application
BusinessUnit: !Ref BusinessUnit
CostCenter: !Ref CostCenter
Environment: !Ref Environment
ApplicationOwner: !Ref ApplicationOwner
TagValueParameter:
Type: AWS::SSM::Parameter
Properties:
Description: The tag value used for selecting resources.
Name: "/backup/testing/ec2/tag-value"
Type: String
Value: !Ref TagValue
Tags:
Application: !Ref Application
BusinessUnit: !Ref BusinessUnit
CostCenter: !Ref CostCenter
Environment: !Ref Environment
ApplicationOwner: !Ref ApplicationOwner
AWSBackupTargetGlobalRegion:
Type: AWS::SSM::Parameter
Properties:
Description: !Sub "Target region for global resources for Backup and Recovery with AWS Backup solution"
Name: "/backup/target/global-region"
Type: String
Value: !Ref AWS::Region
Tags:
Application: !Ref Application
BusinessUnit: !Ref BusinessUnit
CostCenter: !Ref CostCenter
Environment: !Ref Environment
ApplicationOwner: !Ref ApplicationOwner
AWSBackupTargetRegions:
Type: AWS::SSM::Parameter
Properties:
Description: !Sub "Target regions for Backup and Recovery with AWS Backup solution"
Name: "/backup/target/regions"
Type: StringList
Value: !Ref TargetRegions
Tags:
Application: !Ref Application
BusinessUnit: !Ref BusinessUnit
CostCenter: !Ref CostCenter
Environment: !Ref Environment
ApplicationOwner: !Ref ApplicationOwner
AWSBackupTargetOUs:
Type: AWS::SSM::Parameter
Properties:
Description: "Target OUs for Backup and Recovery with AWS Backup solution"
Name: "/backup/target/organizational-units"
Type: StringList
Value: !Ref TargetOUs
Tags:
Application: !Ref Application
BusinessUnit: !Ref BusinessUnit
CostCenter: !Ref CostCenter
Environment: !Ref Environment
ApplicationOwner: !Ref ApplicationOwner
AWSBackupFrameworkControl1:
Type: AWS::SSM::Parameter
Properties:
Description: "Do you want to evaluates if resources are included in at least one backup plan?"
Name: "/backup/control1"
Type: String
Value: !Ref DeployControl1
Tags:
Application: !Ref Application
BusinessUnit: !Ref BusinessUnit
CostCenter: !Ref CostCenter
Environment: !Ref Environment
ApplicationOwner: !Ref ApplicationOwner
DemoEC2InstanceType:
Type: AWS::SSM::Parameter
Properties:
Description: The instance type for demo EC2 instances
Name: "/backup/demo/ec2-instance-type"
Type: String
Value: !Ref AWSBackupDemoEC2InstanceType
Tags:
Application: !Ref Application
BusinessUnit: !Ref BusinessUnit
CostCenter: !Ref CostCenter
Environment: !Ref Environment
ApplicationOwner: !Ref ApplicationOwner
DemoVPCCIDR:
Type: AWS::SSM::Parameter
Properties:
Description: The CIDR for the demo VPC
Name: "/backup/demo/vpc-cidr"
Type: String
Value: !Ref AWSBackupDemoVPCCIDR
Tags:
Application: !Ref Application
BusinessUnit: !Ref BusinessUnit
CostCenter: !Ref CostCenter
Environment: !Ref Environment
ApplicationOwner: !Ref ApplicationOwner
DemoSubnetCIDR:
Type: AWS::SSM::Parameter
Properties:
Description: The CIDR for demo subnet
Name: "/backup/demo/subnet-cidr"
Type: String
Value: !Ref AWSBackupDemoSubnetCIDR
Tags:
Application: !Ref Application
BusinessUnit: !Ref BusinessUnit
CostCenter: !Ref CostCenter
Environment: !Ref Environment
ApplicationOwner: !Ref ApplicationOwner
DemoTagKey:
Type: AWS::SSM::Parameter
Properties:
Description: The tag key to apply to demo resources - align to AWS Backup policy
Name: "/backup/demo/tag-key"
Type: String
Value: !Ref AWSBackupDemoTagKey
Tags:
Application: !Ref Application
BusinessUnit: !Ref BusinessUnit
CostCenter: !Ref CostCenter
Environment: !Ref Environment
ApplicationOwner: !Ref ApplicationOwner
DemoTagValue:
Type: AWS::SSM::Parameter
Properties:
Description: The tag value to apply to demo resources - align to AWS Backup policy
Name: "/backup/demo/tag-value"
Type: String
Value: !Ref AWSBackupDemoTagValue
Tags:
Application: !Ref Application
BusinessUnit: !Ref BusinessUnit
CostCenter: !Ref CostCenter
Environment: !Ref Environment
ApplicationOwner: !Ref ApplicationOwner
AWSBackupFrameworkControl2:
Type: AWS::SSM::Parameter
Properties:
Description: "Do you want to evaluate if backup frequency is at least x day and retention period is at least y days?"
Name: "/backup/control2"
Type: String
Value: !Ref DeployControl2
Tags:
Application: !Ref Application
BusinessUnit: !Ref BusinessUnit
CostCenter: !Ref CostCenter
Environment: !Ref Environment
ApplicationOwner: !Ref ApplicationOwner
AWSBackupFrameworkControl3:
Type: AWS::SSM::Parameter
Properties:
Description: "Do you want to evaluates if backup vaults do not allow manual deletion of recovery points except by certain AWS Identity and Access Management (IAM) roles?"
Name: "/backup/control3"
Type: String
Value: !Ref DeployControl3
Tags:
Application: !Ref Application
BusinessUnit: !Ref BusinessUnit
CostCenter: !Ref CostCenter
Environment: !Ref Environment
ApplicationOwner: !Ref ApplicationOwner
AWSBackupFrameworkControl4:
Type: AWS::SSM::Parameter
Properties:
Description: "Do you want to evaluates if the recovery points are encrypted?"
Name: "/backup/control4"
Type: String
Value: !Ref DeployControl4
Tags:
Application: !Ref Application
BusinessUnit: !Ref BusinessUnit
CostCenter: !Ref CostCenter
Environment: !Ref Environment
ApplicationOwner: !Ref ApplicationOwner
AWSBackupFrameworkControl5:
Type: AWS::SSM::Parameter
Properties:
Description: "Do you want to Evaluates if the recovery point retention period is at least x days?"
Name: "/backup/control5"
Type: String
Value: !Ref DeployControl5
Tags:
Application: !Ref Application
BusinessUnit: !Ref BusinessUnit
CostCenter: !Ref CostCenter
Environment: !Ref Environment
ApplicationOwner: !Ref ApplicationOwner
AWSBackupFrameworkControl6:
Type: AWS::SSM::Parameter
Properties:
Description: "Do you want to ealuates if a resource is configured to create copies of its backups to another AWS Region?"
Name: "/backup/control6"
Type: String
Value: !Ref DeployControl6
Tags:
Application: !Ref Application
BusinessUnit: !Ref BusinessUnit
CostCenter: !Ref CostCenter
Environment: !Ref Environment
ApplicationOwner: !Ref ApplicationOwner
AWSBackupFrameworkControl7:
Type: AWS::SSM::Parameter
Properties:
Description: "Do you want to evaluates if a resource has a cross-account backup copy configured?"
Name: "/backup/control7"
Type: String
Value: !Ref DeployControl7
Tags:
Application: !Ref Application
BusinessUnit: !Ref BusinessUnit
CostCenter: !Ref CostCenter
Environment: !Ref Environment
ApplicationOwner: !Ref ApplicationOwner
AWSBackupFrameworkControl8:
Type: AWS::SSM::Parameter
Properties:
Description: "Do you want to evaluates if a resource is configured to have backups in locked backup vault?"
Name: "/backup/control8"
Type: String
Value: !Ref DeployControl8
Tags:
Application: !Ref Application
BusinessUnit: !Ref BusinessUnit
CostCenter: !Ref CostCenter
Environment: !Ref Environment
ApplicationOwner: !Ref ApplicationOwner
AWSBackupFrameworkControl9:
Type: AWS::SSM::Parameter
Properties:
Description: "Do you want to evaluates if a recovery point was created within specified time frame?"
Name: "/backup/control9"
Type: String
Value: !Ref DeployControl9
Tags:
Application: !Ref Application
BusinessUnit: !Ref BusinessUnit
CostCenter: !Ref CostCenter
Environment: !Ref Environment
ApplicationOwner: !Ref ApplicationOwner
AWSBackupFrameworkControl10:
Type: AWS::SSM::Parameter
Properties:
Description: "Do you want to evaluates if restore testing job completed within target restore time?"
Name: "/backup/control10"
Type: String
Value: !Ref DeployControl10
Tags:
Application: !Ref Application
BusinessUnit: !Ref BusinessUnit
CostCenter: !Ref CostCenter
Environment: !Ref Environment
ApplicationOwner: !Ref ApplicationOwner
ResourceComplianceReportPlan:
Condition: DeployReportFeatureCondition
Type: AWS::SSM::Parameter
Properties:
Description: "Do you want to create a Resource Compliance Report Plan?"
Name: "/backup/backupplan1"
Type: String
Value: !Ref DeployResourceComplianceReportPlan
Tags:
Application: !Ref Application
BusinessUnit: !Ref BusinessUnit
CostCenter: !Ref CostCenter
Environment: !Ref Environment
ApplicationOwner: !Ref ApplicationOwner
ControlComplianceReportPlan:
Condition: DeployReportFeatureCondition
Type: AWS::SSM::Parameter
Properties:
Description: "Do you want to create a Control Compliance Report Plan?"
Name: "/backup/backupplan2"
Type: String
Value: !Ref DeployControlComplianceReportPlan
Tags:
Application: !Ref Application
BusinessUnit: !Ref BusinessUnit
CostCenter: !Ref CostCenter
Environment: !Ref Environment
ApplicationOwner: !Ref ApplicationOwner
BackupJobReportPlan:
Condition: DeployReportFeatureCondition
Type: AWS::SSM::Parameter
Properties:
Description: "Do you want to create a Backup Job Report Plan?"
Name: "/backup/backupplan3"
Type: String
Value: !Ref DeployBackupJobReportPlan
Tags:
Application: !Ref Application
BusinessUnit: !Ref BusinessUnit
CostCenter: !Ref CostCenter
Environment: !Ref Environment
ApplicationOwner: !Ref ApplicationOwner
CopyJobReportPlan:
Condition: DeployReportFeatureCondition
Type: AWS::SSM::Parameter
Properties:
Description: "Do you want to create a Copy Job Report Plan?"
Name: "/backup/backupplan4"
Type: String
Value: !Ref DeployCopyJobReportPlan
Tags:
Application: !Ref Application
BusinessUnit: !Ref BusinessUnit
CostCenter: !Ref CostCenter
Environment: !Ref Environment
ApplicationOwner: !Ref ApplicationOwner
RestoreJobReportPlan:
Condition: DeployReportFeatureCondition
Type: AWS::SSM::Parameter
Properties:
Description: "Do you want to create a Restore Job Report Plan?"
Name: "/backup/backupplan5"
Type: String
Value: !Ref DeployRestoreJobReportPlan
Tags:
Application: !Ref Application
BusinessUnit: !Ref BusinessUnit
CostCenter: !Ref CostCenter
Environment: !Ref Environment
ApplicationOwner: !Ref ApplicationOwner
ConfigurationRecorder:
Type: AWS::SSM::Parameter
Properties:
Description: "Do you want to configure a Configuration Recorders for each region you use. If you select false, you must configure one Configuration Recorder for each region that you use manually."
Name: "/backup/configurationrecorder"
Type: String
Value: !Ref DeployConfigurationRecorder
Tags:
Application: !Ref Application
BusinessUnit: !Ref BusinessUnit
CostCenter: !Ref CostCenter
Environment: !Ref Environment
ApplicationOwner: !Ref ApplicationOwner