dbSecurityGroups

@JvmName(name = "fynsxjincpvmovkn")
suspend fun dbSecurityGroups(value: Output<List<String>>)
@JvmName(name = "liksnrgmltyakmvt")
suspend fun dbSecurityGroups(value: List<String>?)

Parameters

value

A list of the DB security groups to assign to the DB instance. The list can include both the name of existing DB security groups or references to AWS::RDS::DBSecurityGroup resources created in the template. If you set DBSecurityGroups, you must not set VPCSecurityGroups, and vice versa. Also, note that the DBSecurityGroups property exists only for backwards compatibility with older regions and is no longer recommended for providing security information to an RDS DB instance. Instead, use VPCSecurityGroups. If you specify this property, AWS CloudFormation sends only the following properties (if specified) to Amazon RDS during create operations:

  • `AllocatedStorage`

  • `AutoMinorVersionUpgrade`

  • `AvailabilityZone`

  • `BackupRetentionPeriod`

  • `CharacterSetName`

  • `DBInstanceClass`

  • `DBName`

  • `DBParameterGroupName`

  • `DBSecurityGroups`

  • `DBSubnetGroupName`

  • `Engine`

  • `EngineVersion`

  • `Iops`

  • `LicenseModel`

  • `MasterUsername`

  • `MasterUserPassword`

  • `MultiAZ`

  • `OptionGroupName`

  • `PreferredBackupWindow`

  • `PreferredMaintenanceWindow` All other properties are ignored. Specify a virtual private cloud (VPC) security group if you want to submit other properties, such as `StorageType`, `StorageEncrypted`, or `KmsKeyId`. If you're already using the `DBSecurityGroups` property, you can't use these other properties by updating your DB instance to use a VPC security group. You must recreate the DB instance.


@JvmName(name = "fffxgbuahpliokge")
suspend fun dbSecurityGroups(vararg values: Output<String>)


@JvmName(name = "oyihqnoebfuftqki")
suspend fun dbSecurityGroups(values: List<Output<String>>)
@JvmName(name = "wtpfvemchxcdshta")
suspend fun dbSecurityGroups(vararg values: String)

Parameters

values

A list of the DB security groups to assign to the DB instance. The list can include both the name of existing DB security groups or references to AWS::RDS::DBSecurityGroup resources created in the template. If you set DBSecurityGroups, you must not set VPCSecurityGroups, and vice versa. Also, note that the DBSecurityGroups property exists only for backwards compatibility with older regions and is no longer recommended for providing security information to an RDS DB instance. Instead, use VPCSecurityGroups. If you specify this property, AWS CloudFormation sends only the following properties (if specified) to Amazon RDS during create operations:

  • `AllocatedStorage`

  • `AutoMinorVersionUpgrade`

  • `AvailabilityZone`

  • `BackupRetentionPeriod`

  • `CharacterSetName`

  • `DBInstanceClass`

  • `DBName`

  • `DBParameterGroupName`

  • `DBSecurityGroups`

  • `DBSubnetGroupName`

  • `Engine`

  • `EngineVersion`

  • `Iops`

  • `LicenseModel`

  • `MasterUsername`

  • `MasterUserPassword`

  • `MultiAZ`

  • `OptionGroupName`

  • `PreferredBackupWindow`

  • `PreferredMaintenanceWindow` All other properties are ignored. Specify a virtual private cloud (VPC) security group if you want to submit other properties, such as `StorageType`, `StorageEncrypted`, or `KmsKeyId`. If you're already using the `DBSecurityGroups` property, you can't use these other properties by updating your DB instance to use a VPC security group. You must recreate the DB instance.