
com.pulumi.awsnative.fis.kotlin.TargetAccountConfigurationArgs.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.fis.kotlin
import com.pulumi.awsnative.fis.TargetAccountConfigurationArgs.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 schema for AWS::FIS::TargetAccountConfiguration
* @property accountId The AWS account ID of the target account.
* @property description The description of the target account.
* @property experimentTemplateId The ID of the experiment template.
* @property roleArn The Amazon Resource Name (ARN) of an IAM role for the target account.
*/
public data class TargetAccountConfigurationArgs(
public val accountId: Output? = null,
public val description: Output? = null,
public val experimentTemplateId: Output? = null,
public val roleArn: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.fis.TargetAccountConfigurationArgs =
com.pulumi.awsnative.fis.TargetAccountConfigurationArgs.builder()
.accountId(accountId?.applyValue({ args0 -> args0 }))
.description(description?.applyValue({ args0 -> args0 }))
.experimentTemplateId(experimentTemplateId?.applyValue({ args0 -> args0 }))
.roleArn(roleArn?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [TargetAccountConfigurationArgs].
*/
@PulumiTagMarker
public class TargetAccountConfigurationArgsBuilder internal constructor() {
private var accountId: Output? = null
private var description: Output? = null
private var experimentTemplateId: Output? = null
private var roleArn: Output? = null
/**
* @param value The AWS account ID of the target account.
*/
@JvmName("wxqivurdpmdruvjw")
public suspend fun accountId(`value`: Output) {
this.accountId = value
}
/**
* @param value The description of the target account.
*/
@JvmName("sjblbawfoopwvkno")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value The ID of the experiment template.
*/
@JvmName("iuhvylhoribnqhac")
public suspend fun experimentTemplateId(`value`: Output) {
this.experimentTemplateId = value
}
/**
* @param value The Amazon Resource Name (ARN) of an IAM role for the target account.
*/
@JvmName("sdriyuvgxhqikdeh")
public suspend fun roleArn(`value`: Output) {
this.roleArn = value
}
/**
* @param value The AWS account ID of the target account.
*/
@JvmName("pijbumfavpnwhulh")
public suspend fun accountId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.accountId = mapped
}
/**
* @param value The description of the target account.
*/
@JvmName("ekhsrorlrayimdut")
public suspend fun description(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.description = mapped
}
/**
* @param value The ID of the experiment template.
*/
@JvmName("aoirojihythsnupn")
public suspend fun experimentTemplateId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.experimentTemplateId = mapped
}
/**
* @param value The Amazon Resource Name (ARN) of an IAM role for the target account.
*/
@JvmName("tyagswrjkuhbcjsr")
public suspend fun roleArn(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.roleArn = mapped
}
internal fun build(): TargetAccountConfigurationArgs = TargetAccountConfigurationArgs(
accountId = accountId,
description = description,
experimentTemplateId = experimentTemplateId,
roleArn = roleArn,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy