Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
// SUBNET GROUP
const dbSubnetGroup: CfnDBSubnetGroup = new CfnDBSubnetGroup(
this,
"AuroraSubnetGroup",
{
dbSubnetGroupDescription: "Subnet group to AASA Aurora",
dbSubnetGroupName: "aasa-subnet-group",
subnetIds
}
);
// RDS PARAMETER GROUP
const dbParamGroup = new CfnDBClusterParameterGroup(
this,
"ParameterGroup",
{
family: "aurora5.6",
description: "Test customink/activerecord-aurora-serverless-adapter.",
parameters: {
innodb_large_prefix: "1",
innodb_file_per_table: "1",
innodb_file_format: "Barracuda",
character_set_client: "utf8mb4",
character_set_connection: "utf8mb4",
character_set_database: "utf8mb4",
character_set_results: "utf8mb4",
character_set_server: "utf8mb4",
collation_server: "utf8mb4_unicode_ci",
collation_connection: "utf8mb4_unicode_ci"