Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.rds.kotlin
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
import com.pulumi.awsnative.rds.DbParameterGroupArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Any
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* The ``AWS::RDS::DBParameterGroup`` resource creates a custom parameter group for an RDS database family.
* This type can be declared in a template and referenced in the ``DBParameterGroupName`` property of an ``AWS::RDS::DBInstance`` resource.
* For information about configuring parameters for Amazon RDS DB instances, see [Working with parameter groups](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_WorkingWithParamGroups.html) in the *Amazon RDS User Guide*.
* For information about configuring parameters for Amazon Aurora DB instances, see [Working with parameter groups](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_WorkingWithParamGroups.html) in the *Amazon Aurora User Guide*.
* Applying a parameter group to a DB instance may require the DB instance to reboot, resulting in a database outage for the duration of the reboot.
* @property dbParameterGroupName The name of the DB parameter group.
* Constraints:
* + Must be 1 to 255 letters, numbers, or hyphens.
* + First character must be a letter
* + Can't end with a hyphen or contain two consecutive hyphens
* If you don't specify a value for ``DBParameterGroupName`` property, a name is automatically created for the DB parameter group.
* This value is stored as a lowercase string.
* @property description Provides the customer-specified description for this DB parameter group.
* @property family The DB parameter group family name. A DB parameter group can be associated with one and only one DB parameter group family, and can be applied only to a DB instance running a database engine and engine version compatible with that DB parameter group family.
* To list all of the available parameter group families for a DB engine, use the following command:
* ``aws rds describe-db-engine-versions --query "DBEngineVersions[].DBParameterGroupFamily" --engine ``
* For example, to list all of the available parameter group families for the MySQL DB engine, use the following command:
* ``aws rds describe-db-engine-versions --query "DBEngineVersions[].DBParameterGroupFamily" --engine mysql``
* The output contains duplicates.
* The following are the valid DB engine values:
* + ``aurora-mysql``
* + ``aurora-postgresql``
* + ``db2-ae``
* + ``db2-se``
* + ``mysql``
* + ``oracle-ee``
* + ``oracle-ee-cdb``
* + ``oracle-se2``
* + ``oracle-se2-cdb``
* + ``postgres``
* + ``sqlserver-ee``
* + ``sqlserver-se``
* + ``sqlserver-ex``
* + ``sqlserver-web``
* @property parameters An array of parameter names and values for the parameter update. You must specify at least one parameter name and value.
* For more information about parameter groups, see [Working with parameter groups](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_WorkingWithParamGroups.html) in the *Amazon RDS User Guide*, or [Working with parameter groups](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_WorkingWithParamGroups.html) in the *Amazon Aurora User Guide*.
* AWS CloudFormation doesn't support specifying an apply method for each individual parameter. The default apply method for each parameter is used.
* Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::RDS::DBParameterGroup` for more information about the expected schema for this property.
* @property tags Tags to assign to the DB parameter group.
*/
public data class DbParameterGroupArgs(
public val dbParameterGroupName: Output? = null,
public val description: Output? = null,
public val family: Output? = null,
public val parameters: Output? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.rds.DbParameterGroupArgs =
com.pulumi.awsnative.rds.DbParameterGroupArgs.builder()
.dbParameterGroupName(dbParameterGroupName?.applyValue({ args0 -> args0 }))
.description(description?.applyValue({ args0 -> args0 }))
.family(family?.applyValue({ args0 -> args0 }))
.parameters(parameters?.applyValue({ args0 -> args0 }))
.tags(
tags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [DbParameterGroupArgs].
*/
@PulumiTagMarker
public class DbParameterGroupArgsBuilder internal constructor() {
private var dbParameterGroupName: Output? = null
private var description: Output? = null
private var family: Output? = null
private var parameters: Output? = null
private var tags: Output>? = null
/**
* @param value The name of the DB parameter group.
* Constraints:
* + Must be 1 to 255 letters, numbers, or hyphens.
* + First character must be a letter
* + Can't end with a hyphen or contain two consecutive hyphens
* If you don't specify a value for ``DBParameterGroupName`` property, a name is automatically created for the DB parameter group.
* This value is stored as a lowercase string.
*/
@JvmName("ntlwdweawtavwnta")
public suspend fun dbParameterGroupName(`value`: Output) {
this.dbParameterGroupName = value
}
/**
* @param value Provides the customer-specified description for this DB parameter group.
*/
@JvmName("bpimfecpynxbucxu")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value The DB parameter group family name. A DB parameter group can be associated with one and only one DB parameter group family, and can be applied only to a DB instance running a database engine and engine version compatible with that DB parameter group family.
* To list all of the available parameter group families for a DB engine, use the following command:
* ``aws rds describe-db-engine-versions --query "DBEngineVersions[].DBParameterGroupFamily" --engine ``
* For example, to list all of the available parameter group families for the MySQL DB engine, use the following command:
* ``aws rds describe-db-engine-versions --query "DBEngineVersions[].DBParameterGroupFamily" --engine mysql``
* The output contains duplicates.
* The following are the valid DB engine values:
* + ``aurora-mysql``
* + ``aurora-postgresql``
* + ``db2-ae``
* + ``db2-se``
* + ``mysql``
* + ``oracle-ee``
* + ``oracle-ee-cdb``
* + ``oracle-se2``
* + ``oracle-se2-cdb``
* + ``postgres``
* + ``sqlserver-ee``
* + ``sqlserver-se``
* + ``sqlserver-ex``
* + ``sqlserver-web``
*/
@JvmName("ailnwqfvvphevcrr")
public suspend fun family(`value`: Output) {
this.family = value
}
/**
* @param value An array of parameter names and values for the parameter update. You must specify at least one parameter name and value.
* For more information about parameter groups, see [Working with parameter groups](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_WorkingWithParamGroups.html) in the *Amazon RDS User Guide*, or [Working with parameter groups](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_WorkingWithParamGroups.html) in the *Amazon Aurora User Guide*.
* AWS CloudFormation doesn't support specifying an apply method for each individual parameter. The default apply method for each parameter is used.
* Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::RDS::DBParameterGroup` for more information about the expected schema for this property.
*/
@JvmName("ulntfrsfltplxwva")
public suspend fun parameters(`value`: Output) {
this.parameters = value
}
/**
* @param value Tags to assign to the DB parameter group.
*/
@JvmName("psnimahynjltopeg")
public suspend fun tags(`value`: Output>) {
this.tags = value
}
@JvmName("tilyuyvjdrnxesfx")
public suspend fun tags(vararg values: Output) {
this.tags = Output.all(values.asList())
}
/**
* @param values Tags to assign to the DB parameter group.
*/
@JvmName("pcmhchgerwctqcgc")
public suspend fun tags(values: List