All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.rds.kotlin.inputs.GetDbInstancePlainArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 1.11.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.rds.kotlin.inputs

import com.pulumi.awsnative.rds.inputs.GetDbInstancePlainArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property dbInstanceIdentifier A name for the DB instance. If you specify a name, AWS CloudFormation converts it to lowercase. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the DB instance. For more information, see [Name Type](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-name.html).
 *  For information about constraints that apply to DB instance identifiers, see [Naming constraints in Amazon RDS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Limits.html#RDS_Limits.Constraints) in the *Amazon RDS User Guide*.
 *   If you specify a name, you can't perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.
 */
public data class GetDbInstancePlainArgs(
    public val dbInstanceIdentifier: String,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.rds.inputs.GetDbInstancePlainArgs =
        com.pulumi.awsnative.rds.inputs.GetDbInstancePlainArgs.builder()
            .dbInstanceIdentifier(dbInstanceIdentifier.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetDbInstancePlainArgs].
 */
@PulumiTagMarker
public class GetDbInstancePlainArgsBuilder internal constructor() {
    private var dbInstanceIdentifier: String? = null

    /**
     * @param value A name for the DB instance. If you specify a name, AWS CloudFormation converts it to lowercase. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the DB instance. For more information, see [Name Type](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-name.html).
     *  For information about constraints that apply to DB instance identifiers, see [Naming constraints in Amazon RDS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Limits.html#RDS_Limits.Constraints) in the *Amazon RDS User Guide*.
     *   If you specify a name, you can't perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.
     */
    @JvmName("nlgdaubfnsgrrfuo")
    public suspend fun dbInstanceIdentifier(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.dbInstanceIdentifier = mapped
    }

    internal fun build(): GetDbInstancePlainArgs = GetDbInstancePlainArgs(
        dbInstanceIdentifier = dbInstanceIdentifier ?: throw
            PulumiNullFieldException("dbInstanceIdentifier"),
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy