![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.rds.kotlin.DbProxyEndpointArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@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.DbProxyEndpointArgs.builder
import com.pulumi.awsnative.rds.kotlin.enums.DbProxyEndpointTargetRole
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.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Resource schema for AWS::RDS::DBProxyEndpoint.
* @property dbProxyEndpointName The identifier for the DB proxy endpoint. This name must be unique for all DB proxy endpoints owned by your AWS account in the specified AWS Region.
* @property dbProxyName The identifier for the proxy. This name must be unique for all proxies owned by your AWS account in the specified AWS Region.
* @property tags An optional set of key-value pairs to associate arbitrary data of your choosing with the DB proxy endpoint.
* @property targetRole A value that indicates whether the DB proxy endpoint can be used for read/write or read-only operations.
* @property vpcSecurityGroupIds VPC security group IDs to associate with the new DB proxy endpoint.
* @property vpcSubnetIds VPC subnet IDs to associate with the new DB proxy endpoint.
*/
public data class DbProxyEndpointArgs(
public val dbProxyEndpointName: Output? = null,
public val dbProxyName: Output? = null,
public val tags: Output>? = null,
public val targetRole: Output? = null,
public val vpcSecurityGroupIds: Output>? = null,
public val vpcSubnetIds: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.rds.DbProxyEndpointArgs =
com.pulumi.awsnative.rds.DbProxyEndpointArgs.builder()
.dbProxyEndpointName(dbProxyEndpointName?.applyValue({ args0 -> args0 }))
.dbProxyName(dbProxyName?.applyValue({ args0 -> args0 }))
.tags(tags?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
.targetRole(targetRole?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.vpcSecurityGroupIds(vpcSecurityGroupIds?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.vpcSubnetIds(vpcSubnetIds?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [DbProxyEndpointArgs].
*/
@PulumiTagMarker
public class DbProxyEndpointArgsBuilder internal constructor() {
private var dbProxyEndpointName: Output? = null
private var dbProxyName: Output? = null
private var tags: Output>? = null
private var targetRole: Output? = null
private var vpcSecurityGroupIds: Output>? = null
private var vpcSubnetIds: Output>? = null
/**
* @param value The identifier for the DB proxy endpoint. This name must be unique for all DB proxy endpoints owned by your AWS account in the specified AWS Region.
*/
@JvmName("xlooyvhiqkxsptjk")
public suspend fun dbProxyEndpointName(`value`: Output) {
this.dbProxyEndpointName = value
}
/**
* @param value The identifier for the proxy. This name must be unique for all proxies owned by your AWS account in the specified AWS Region.
*/
@JvmName("pcmaisodtqxsqeob")
public suspend fun dbProxyName(`value`: Output) {
this.dbProxyName = value
}
/**
* @param value An optional set of key-value pairs to associate arbitrary data of your choosing with the DB proxy endpoint.
*/
@JvmName("rpivrmpanqeoybiw")
public suspend fun tags(`value`: Output>) {
this.tags = value
}
@JvmName("uwquoapllyaolnoa")
public suspend fun tags(vararg values: Output) {
this.tags = Output.all(values.asList())
}
/**
* @param values An optional set of key-value pairs to associate arbitrary data of your choosing with the DB proxy endpoint.
*/
@JvmName("jhfosqnuxducjapy")
public suspend fun tags(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy