
com.pulumi.awsnative.route53profiles.kotlin.ProfileAssociationArgs.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.route53profiles.kotlin
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
import com.pulumi.awsnative.route53profiles.ProfileAssociationArgs.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.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Resource Type definition for AWS::Route53Profiles::ProfileAssociation
* @property arn The Amazon Resource Name (ARN) of the profile association.
* @property name The name of an association between a Profile and a VPC.
* @property profileId The ID of the profile that you associated with the resource that is specified by ResourceId.
* @property resourceId The resource that you associated the profile with.
* @property tags An array of key-value pairs to apply to this resource.
*/
public data class ProfileAssociationArgs(
public val arn: Output? = null,
public val name: Output? = null,
public val profileId: Output? = null,
public val resourceId: Output? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.route53profiles.ProfileAssociationArgs =
com.pulumi.awsnative.route53profiles.ProfileAssociationArgs.builder()
.arn(arn?.applyValue({ args0 -> args0 }))
.name(name?.applyValue({ args0 -> args0 }))
.profileId(profileId?.applyValue({ args0 -> args0 }))
.resourceId(resourceId?.applyValue({ args0 -> args0 }))
.tags(
tags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [ProfileAssociationArgs].
*/
@PulumiTagMarker
public class ProfileAssociationArgsBuilder internal constructor() {
private var arn: Output? = null
private var name: Output? = null
private var profileId: Output? = null
private var resourceId: Output? = null
private var tags: Output>? = null
/**
* @param value The Amazon Resource Name (ARN) of the profile association.
*/
@JvmName("lidxqfnmipidtuxl")
public suspend fun arn(`value`: Output) {
this.arn = value
}
/**
* @param value The name of an association between a Profile and a VPC.
*/
@JvmName("cbrhtxwerswyhtqi")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value The ID of the profile that you associated with the resource that is specified by ResourceId.
*/
@JvmName("efypttopqbgkgmim")
public suspend fun profileId(`value`: Output) {
this.profileId = value
}
/**
* @param value The resource that you associated the profile with.
*/
@JvmName("epqmwwvnbnwsbfwo")
public suspend fun resourceId(`value`: Output) {
this.resourceId = value
}
/**
* @param value An array of key-value pairs to apply to this resource.
*/
@JvmName("pkgdwyqtumovsvbp")
public suspend fun tags(`value`: Output>) {
this.tags = value
}
@JvmName("vkoohyfsfatrvsii")
public suspend fun tags(vararg values: Output) {
this.tags = Output.all(values.asList())
}
/**
* @param values An array of key-value pairs to apply to this resource.
*/
@JvmName("reeowdkpvsaxpvwv")
public suspend fun tags(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy