-
Notifications
You must be signed in to change notification settings - Fork 4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f546b23
commit 4b73e88
Showing
9 changed files
with
772 additions
and
0 deletions.
There are no files selected for viewing
19 changes: 19 additions & 0 deletions
19
...est/integ.cluster-retain.js.snapshot/DocdbTestDefaultTestDeployAssertA0429289.assets.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
36 changes: 36 additions & 0 deletions
36
...t/integ.cluster-retain.js.snapshot/DocdbTestDefaultTestDeployAssertA0429289.template.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
19 changes: 19 additions & 0 deletions
19
...ocdb/test/integ.cluster-retain.js.snapshot/aws-cdk-docdb-integ-cluster-retain.assets.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
160 changes: 160 additions & 0 deletions
160
...db/test/integ.cluster-retain.js.snapshot/aws-cdk-docdb-integ-cluster-retain.template.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,160 @@ | ||
{ | ||
"Resources": { | ||
"DatabaseSubnets56F17B9A": { | ||
"Type": "AWS::DocDB::DBSubnetGroup", | ||
"Properties": { | ||
"DBSubnetGroupDescription": "Subnets for Database database", | ||
"SubnetIds": [ | ||
"subnet-06fd4260", | ||
"subnet-63883242", | ||
"subnet-a3521dee", | ||
"subnet-88b40cd7", | ||
"subnet-3a18db0b", | ||
"subnet-1f760711" | ||
] | ||
}, | ||
"UpdateReplacePolicy": "Retain", | ||
"DeletionPolicy": "Retain" | ||
}, | ||
"DatabaseSecurityGroup5C91FDCB": { | ||
"Type": "AWS::EC2::SecurityGroup", | ||
"Properties": { | ||
"GroupDescription": "DocumentDB security group", | ||
"SecurityGroupEgress": [ | ||
{ | ||
"CidrIp": "0.0.0.0/0", | ||
"Description": "Allow all outbound traffic by default", | ||
"IpProtocol": "-1" | ||
} | ||
], | ||
"VpcId": "vpc-196aa264" | ||
}, | ||
"UpdateReplacePolicy": "Retain", | ||
"DeletionPolicy": "Retain" | ||
}, | ||
"DatabaseSecret3B817195": { | ||
"Type": "AWS::SecretsManager::Secret", | ||
"Properties": { | ||
"Description": { | ||
"Fn::Join": [ | ||
"", | ||
[ | ||
"Generated by the CDK for stack: ", | ||
{ | ||
"Ref": "AWS::StackName" | ||
} | ||
] | ||
] | ||
}, | ||
"GenerateSecretString": { | ||
"ExcludeCharacters": "\"@/", | ||
"GenerateStringKey": "password", | ||
"PasswordLength": 41, | ||
"SecretStringTemplate": "{\"username\":\"clusteradmin\"}" | ||
} | ||
}, | ||
"UpdateReplacePolicy": "Delete", | ||
"DeletionPolicy": "Delete" | ||
}, | ||
"DatabaseSecretAttachmentE5D1B020": { | ||
"Type": "AWS::SecretsManager::SecretTargetAttachment", | ||
"Properties": { | ||
"SecretId": { | ||
"Ref": "DatabaseSecret3B817195" | ||
}, | ||
"TargetId": { | ||
"Ref": "DatabaseB269D8BB" | ||
}, | ||
"TargetType": "AWS::DocDB::DBCluster" | ||
} | ||
}, | ||
"DatabaseB269D8BB": { | ||
"Type": "AWS::DocDB::DBCluster", | ||
"Properties": { | ||
"DBSubnetGroupName": { | ||
"Ref": "DatabaseSubnets56F17B9A" | ||
}, | ||
"MasterUserPassword": { | ||
"Fn::Join": [ | ||
"", | ||
[ | ||
"{{resolve:secretsmanager:", | ||
{ | ||
"Ref": "DatabaseSecret3B817195" | ||
}, | ||
":SecretString:password::}}" | ||
] | ||
] | ||
}, | ||
"MasterUsername": { | ||
"Fn::Join": [ | ||
"", | ||
[ | ||
"{{resolve:secretsmanager:", | ||
{ | ||
"Ref": "DatabaseSecret3B817195" | ||
}, | ||
":SecretString:username::}}" | ||
] | ||
] | ||
}, | ||
"StorageEncrypted": true, | ||
"VpcSecurityGroupIds": [ | ||
{ | ||
"Fn::GetAtt": [ | ||
"DatabaseSecurityGroup5C91FDCB", | ||
"GroupId" | ||
] | ||
} | ||
] | ||
}, | ||
"UpdateReplacePolicy": "Retain", | ||
"DeletionPolicy": "Retain" | ||
}, | ||
"DatabaseInstance1844F58FD": { | ||
"Type": "AWS::DocDB::DBInstance", | ||
"Properties": { | ||
"DBClusterIdentifier": { | ||
"Ref": "DatabaseB269D8BB" | ||
}, | ||
"DBInstanceClass": "db.t3.medium" | ||
}, | ||
"UpdateReplacePolicy": "Retain", | ||
"DeletionPolicy": "Retain" | ||
} | ||
}, | ||
"Parameters": { | ||
"BootstrapVersion": { | ||
"Type": "AWS::SSM::Parameter::Value<String>", | ||
"Default": "/cdk-bootstrap/hnb659fds/version", | ||
"Description": "Version of the CDK Bootstrap resources in this environment, automatically retrieved from SSM Parameter Store. [cdk:skip]" | ||
} | ||
}, | ||
"Rules": { | ||
"CheckBootstrapVersion": { | ||
"Assertions": [ | ||
{ | ||
"Assert": { | ||
"Fn::Not": [ | ||
{ | ||
"Fn::Contains": [ | ||
[ | ||
"1", | ||
"2", | ||
"3", | ||
"4", | ||
"5" | ||
], | ||
{ | ||
"Ref": "BootstrapVersion" | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
"AssertDescription": "CDK bootstrap stack version 6 required. Please run 'cdk bootstrap' with a recent version of the CDK CLI." | ||
} | ||
] | ||
} | ||
} | ||
} |
1 change: 1 addition & 0 deletions
1
...-cdk-testing/framework-integ/test/aws-docdb/test/integ.cluster-retain.js.snapshot/cdk.out
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
12 changes: 12 additions & 0 deletions
12
...k-testing/framework-integ/test/aws-docdb/test/integ.cluster-retain.js.snapshot/integ.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.