|
515 | 515 | "CustomVpcRestrictDefaultSGCustomResourceProviderRole26592FE0"
|
516 | 516 | ]
|
517 | 517 | },
|
518 |
| - "DatabaseClusterSubnets7FAE1846": { |
| 518 | + "DatabaseCluster164limitlessSubnets4B1674FF": { |
519 | 519 | "Type": "AWS::RDS::DBSubnetGroup",
|
520 | 520 | "Properties": {
|
521 |
| - "DBSubnetGroupDescription": "Subnets for DatabaseCluster database", |
| 521 | + "DBSubnetGroupDescription": "Subnets for DatabaseCluster16.4-limitless database", |
522 | 522 | "SubnetIds": [
|
523 | 523 | {
|
524 | 524 | "Ref": "VpcPrivateSubnet1Subnet536B997A"
|
|
529 | 529 | ]
|
530 | 530 | }
|
531 | 531 | },
|
532 |
| - "DatabaseClusterSecurityGroupCBE34284": { |
| 532 | + "DatabaseCluster164limitlessSecurityGroupE3B3792F": { |
533 | 533 | "Type": "AWS::EC2::SecurityGroup",
|
534 | 534 | "Properties": {
|
535 | 535 | "GroupDescription": "RDS security group",
|
|
545 | 545 | }
|
546 | 546 | }
|
547 | 547 | },
|
548 |
| - "DatabaseClusterMonitoringRole1D41A121": { |
| 548 | + "DatabaseCluster164limitlessMonitoringRoleAD5ED7BA": { |
549 | 549 | "Type": "AWS::IAM::Role",
|
550 | 550 | "Properties": {
|
551 | 551 | "AssumeRolePolicyDocument": {
|
|
576 | 576 | ]
|
577 | 577 | }
|
578 | 578 | },
|
579 |
| - "DatabaseClusterSecret3F333A5B": { |
| 579 | + "DatabaseCluster164limitlessSecret8EB4E753": { |
580 | 580 | "Type": "AWS::SecretsManager::Secret",
|
581 | 581 | "Properties": {
|
582 | 582 | "Description": {
|
|
600 | 600 | "UpdateReplacePolicy": "Delete",
|
601 | 601 | "DeletionPolicy": "Delete"
|
602 | 602 | },
|
603 |
| - "DatabaseClusterSecretAttachmentB8BF2F7B": { |
| 603 | + "DatabaseCluster164limitlessSecretAttachment5C6ACA6C": { |
604 | 604 | "Type": "AWS::SecretsManager::SecretTargetAttachment",
|
605 | 605 | "Properties": {
|
606 | 606 | "SecretId": {
|
607 |
| - "Ref": "DatabaseClusterSecret3F333A5B" |
| 607 | + "Ref": "DatabaseCluster164limitlessSecret8EB4E753" |
608 | 608 | },
|
609 | 609 | "TargetId": {
|
610 |
| - "Ref": "DatabaseCluster68FC2945" |
| 610 | + "Ref": "DatabaseCluster164limitless2DB21F68" |
611 | 611 | },
|
612 | 612 | "TargetType": "AWS::RDS::DBCluster"
|
613 | 613 | }
|
614 | 614 | },
|
615 |
| - "DatabaseCluster68FC2945": { |
| 615 | + "DatabaseCluster164limitless2DB21F68": { |
616 | 616 | "Type": "AWS::RDS::DBCluster",
|
617 | 617 | "Properties": {
|
618 | 618 | "ClusterScalabilityType": "limitless",
|
619 | 619 | "CopyTagsToSnapshot": true,
|
620 | 620 | "DBClusterParameterGroupName": "default.aurora-postgresql16",
|
621 | 621 | "DBSubnetGroupName": {
|
622 |
| - "Ref": "DatabaseClusterSubnets7FAE1846" |
| 622 | + "Ref": "DatabaseCluster164limitlessSubnets4B1674FF" |
623 | 623 | },
|
624 | 624 | "EnableCloudwatchLogsExports": [
|
625 | 625 | "postgresql"
|
|
632 | 632 | [
|
633 | 633 | "{{resolve:secretsmanager:",
|
634 | 634 | {
|
635 |
| - "Ref": "DatabaseClusterSecret3F333A5B" |
| 635 | + "Ref": "DatabaseCluster164limitlessSecret8EB4E753" |
636 | 636 | },
|
637 | 637 | ":SecretString:password::}}"
|
638 | 638 | ]
|
|
644 | 644 | [
|
645 | 645 | "{{resolve:secretsmanager:",
|
646 | 646 | {
|
647 |
| - "Ref": "DatabaseClusterSecret3F333A5B" |
| 647 | + "Ref": "DatabaseCluster164limitlessSecret8EB4E753" |
648 | 648 | },
|
649 | 649 | ":SecretString:username::}}"
|
650 | 650 | ]
|
|
653 | 653 | "MonitoringInterval": 60,
|
654 | 654 | "MonitoringRoleArn": {
|
655 | 655 | "Fn::GetAtt": [
|
656 |
| - "DatabaseClusterMonitoringRole1D41A121", |
| 656 | + "DatabaseCluster164limitlessMonitoringRoleAD5ED7BA", |
657 | 657 | "Arn"
|
658 | 658 | ]
|
659 | 659 | },
|
|
664 | 664 | "VpcSecurityGroupIds": [
|
665 | 665 | {
|
666 | 666 | "Fn::GetAtt": [
|
667 |
| - "DatabaseClusterSecurityGroupCBE34284", |
| 667 | + "DatabaseCluster164limitlessSecurityGroupE3B3792F", |
668 | 668 | "GroupId"
|
669 | 669 | ]
|
670 | 670 | }
|
671 | 671 | ]
|
672 | 672 | },
|
673 |
| - "UpdateReplacePolicy": "Snapshot", |
674 |
| - "DeletionPolicy": "Snapshot" |
| 673 | + "UpdateReplacePolicy": "Delete", |
| 674 | + "DeletionPolicy": "Delete" |
| 675 | + }, |
| 676 | + "DatabaseCluster168limitlessSubnets30AC1262": { |
| 677 | + "Type": "AWS::RDS::DBSubnetGroup", |
| 678 | + "Properties": { |
| 679 | + "DBSubnetGroupDescription": "Subnets for DatabaseCluster16.8-limitless database", |
| 680 | + "SubnetIds": [ |
| 681 | + { |
| 682 | + "Ref": "VpcPrivateSubnet1Subnet536B997A" |
| 683 | + }, |
| 684 | + { |
| 685 | + "Ref": "VpcPrivateSubnet2Subnet3788AAA1" |
| 686 | + } |
| 687 | + ] |
| 688 | + } |
| 689 | + }, |
| 690 | + "DatabaseCluster168limitlessSecurityGroupF99FFC3A": { |
| 691 | + "Type": "AWS::EC2::SecurityGroup", |
| 692 | + "Properties": { |
| 693 | + "GroupDescription": "RDS security group", |
| 694 | + "SecurityGroupEgress": [ |
| 695 | + { |
| 696 | + "CidrIp": "0.0.0.0/0", |
| 697 | + "Description": "Allow all outbound traffic by default", |
| 698 | + "IpProtocol": "-1" |
| 699 | + } |
| 700 | + ], |
| 701 | + "VpcId": { |
| 702 | + "Ref": "Vpc8378EB38" |
| 703 | + } |
| 704 | + } |
| 705 | + }, |
| 706 | + "DatabaseCluster168limitlessMonitoringRoleB9251B2E": { |
| 707 | + "Type": "AWS::IAM::Role", |
| 708 | + "Properties": { |
| 709 | + "AssumeRolePolicyDocument": { |
| 710 | + "Statement": [ |
| 711 | + { |
| 712 | + "Action": "sts:AssumeRole", |
| 713 | + "Effect": "Allow", |
| 714 | + "Principal": { |
| 715 | + "Service": "monitoring.rds.amazonaws.com" |
| 716 | + } |
| 717 | + } |
| 718 | + ], |
| 719 | + "Version": "2012-10-17" |
| 720 | + }, |
| 721 | + "ManagedPolicyArns": [ |
| 722 | + { |
| 723 | + "Fn::Join": [ |
| 724 | + "", |
| 725 | + [ |
| 726 | + "arn:", |
| 727 | + { |
| 728 | + "Ref": "AWS::Partition" |
| 729 | + }, |
| 730 | + ":iam::aws:policy/service-role/AmazonRDSEnhancedMonitoringRole" |
| 731 | + ] |
| 732 | + ] |
| 733 | + } |
| 734 | + ] |
| 735 | + } |
| 736 | + }, |
| 737 | + "DatabaseCluster168limitlessSecret13E5F591": { |
| 738 | + "Type": "AWS::SecretsManager::Secret", |
| 739 | + "Properties": { |
| 740 | + "Description": { |
| 741 | + "Fn::Join": [ |
| 742 | + "", |
| 743 | + [ |
| 744 | + "Generated by the CDK for stack: ", |
| 745 | + { |
| 746 | + "Ref": "AWS::StackName" |
| 747 | + } |
| 748 | + ] |
| 749 | + ] |
| 750 | + }, |
| 751 | + "GenerateSecretString": { |
| 752 | + "ExcludeCharacters": " %+~`#$&*()|[]{}:;<>?!'/@\"\\", |
| 753 | + "GenerateStringKey": "password", |
| 754 | + "PasswordLength": 30, |
| 755 | + "SecretStringTemplate": "{\"username\":\"postgres\"}" |
| 756 | + } |
| 757 | + }, |
| 758 | + "UpdateReplacePolicy": "Delete", |
| 759 | + "DeletionPolicy": "Delete" |
| 760 | + }, |
| 761 | + "DatabaseCluster168limitlessSecretAttachment62201C99": { |
| 762 | + "Type": "AWS::SecretsManager::SecretTargetAttachment", |
| 763 | + "Properties": { |
| 764 | + "SecretId": { |
| 765 | + "Ref": "DatabaseCluster168limitlessSecret13E5F591" |
| 766 | + }, |
| 767 | + "TargetId": { |
| 768 | + "Ref": "DatabaseCluster168limitless05206D79" |
| 769 | + }, |
| 770 | + "TargetType": "AWS::RDS::DBCluster" |
| 771 | + } |
| 772 | + }, |
| 773 | + "DatabaseCluster168limitless05206D79": { |
| 774 | + "Type": "AWS::RDS::DBCluster", |
| 775 | + "Properties": { |
| 776 | + "ClusterScalabilityType": "limitless", |
| 777 | + "CopyTagsToSnapshot": true, |
| 778 | + "DBClusterParameterGroupName": "default.aurora-postgresql16", |
| 779 | + "DBSubnetGroupName": { |
| 780 | + "Ref": "DatabaseCluster168limitlessSubnets30AC1262" |
| 781 | + }, |
| 782 | + "EnableCloudwatchLogsExports": [ |
| 783 | + "postgresql" |
| 784 | + ], |
| 785 | + "Engine": "aurora-postgresql", |
| 786 | + "EngineVersion": "16.8-limitless", |
| 787 | + "MasterUserPassword": { |
| 788 | + "Fn::Join": [ |
| 789 | + "", |
| 790 | + [ |
| 791 | + "{{resolve:secretsmanager:", |
| 792 | + { |
| 793 | + "Ref": "DatabaseCluster168limitlessSecret13E5F591" |
| 794 | + }, |
| 795 | + ":SecretString:password::}}" |
| 796 | + ] |
| 797 | + ] |
| 798 | + }, |
| 799 | + "MasterUsername": { |
| 800 | + "Fn::Join": [ |
| 801 | + "", |
| 802 | + [ |
| 803 | + "{{resolve:secretsmanager:", |
| 804 | + { |
| 805 | + "Ref": "DatabaseCluster168limitlessSecret13E5F591" |
| 806 | + }, |
| 807 | + ":SecretString:username::}}" |
| 808 | + ] |
| 809 | + ] |
| 810 | + }, |
| 811 | + "MonitoringInterval": 60, |
| 812 | + "MonitoringRoleArn": { |
| 813 | + "Fn::GetAtt": [ |
| 814 | + "DatabaseCluster168limitlessMonitoringRoleB9251B2E", |
| 815 | + "Arn" |
| 816 | + ] |
| 817 | + }, |
| 818 | + "PerformanceInsightsEnabled": true, |
| 819 | + "PerformanceInsightsRetentionPeriod": 31, |
| 820 | + "Port": 5432, |
| 821 | + "StorageType": "aurora-iopt1", |
| 822 | + "VpcSecurityGroupIds": [ |
| 823 | + { |
| 824 | + "Fn::GetAtt": [ |
| 825 | + "DatabaseCluster168limitlessSecurityGroupF99FFC3A", |
| 826 | + "GroupId" |
| 827 | + ] |
| 828 | + } |
| 829 | + ] |
| 830 | + }, |
| 831 | + "UpdateReplacePolicy": "Delete", |
| 832 | + "DeletionPolicy": "Delete" |
675 | 833 | }
|
676 | 834 | },
|
677 | 835 | "Mappings": {
|
|
0 commit comments