![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.route53profiles.kotlin.ProfileResourceAssociationArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.route53profiles.kotlin
import com.pulumi.awsnative.route53profiles.ProfileResourceAssociationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Resource Type definition for AWS::Route53Profiles::ProfileResourceAssociation
* @property name The name of an association between the Profile and resource.
* @property profileId The ID of the profile that you associated the resource to that is specified by ResourceArn.
* @property resourceArn The arn of the resource that you associated to the Profile.
* @property resourceProperties A JSON-formatted string with key-value pairs specifying the properties of the associated resource.
*/
public data class ProfileResourceAssociationArgs(
public val name: Output? = null,
public val profileId: Output? = null,
public val resourceArn: Output? = null,
public val resourceProperties: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.route53profiles.ProfileResourceAssociationArgs =
com.pulumi.awsnative.route53profiles.ProfileResourceAssociationArgs.builder()
.name(name?.applyValue({ args0 -> args0 }))
.profileId(profileId?.applyValue({ args0 -> args0 }))
.resourceArn(resourceArn?.applyValue({ args0 -> args0 }))
.resourceProperties(resourceProperties?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ProfileResourceAssociationArgs].
*/
@PulumiTagMarker
public class ProfileResourceAssociationArgsBuilder internal constructor() {
private var name: Output? = null
private var profileId: Output? = null
private var resourceArn: Output? = null
private var resourceProperties: Output? = null
/**
* @param value The name of an association between the Profile and resource.
*/
@JvmName("qvhpjyvvuanntqpk")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value The ID of the profile that you associated the resource to that is specified by ResourceArn.
*/
@JvmName("yebaecdhgdijdcod")
public suspend fun profileId(`value`: Output) {
this.profileId = value
}
/**
* @param value The arn of the resource that you associated to the Profile.
*/
@JvmName("qkeimvmquuryildg")
public suspend fun resourceArn(`value`: Output) {
this.resourceArn = value
}
/**
* @param value A JSON-formatted string with key-value pairs specifying the properties of the associated resource.
*/
@JvmName("buisuuvfgrxmgkkc")
public suspend fun resourceProperties(`value`: Output) {
this.resourceProperties = value
}
/**
* @param value The name of an association between the Profile and resource.
*/
@JvmName("gxutpwrwsxxsyjkc")
public suspend fun name(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value The ID of the profile that you associated the resource to that is specified by ResourceArn.
*/
@JvmName("ixnpluendbkqkiit")
public suspend fun profileId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.profileId = mapped
}
/**
* @param value The arn of the resource that you associated to the Profile.
*/
@JvmName("hbpojbatuekmtrnw")
public suspend fun resourceArn(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.resourceArn = mapped
}
/**
* @param value A JSON-formatted string with key-value pairs specifying the properties of the associated resource.
*/
@JvmName("tkdowlrkocoysvam")
public suspend fun resourceProperties(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.resourceProperties = mapped
}
internal fun build(): ProfileResourceAssociationArgs = ProfileResourceAssociationArgs(
name = name,
profileId = profileId,
resourceArn = resourceArn,
resourceProperties = resourceProperties,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy