
com.pulumi.awsnative.appconfig.kotlin.inputs.ExtensionActionArgs.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.appconfig.kotlin.inputs
import com.pulumi.awsnative.appconfig.inputs.ExtensionActionArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
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
/**
* An action for an extension to take at a specific action point.
* @property description The description of the extension Action.
* @property name The name of the extension action.
* @property roleArn The ARN of the role for invoking the extension action.
* @property uri The URI of the extension action.
*/
public data class ExtensionActionArgs(
public val description: Output? = null,
public val name: Output,
public val roleArn: Output? = null,
public val uri: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.appconfig.inputs.ExtensionActionArgs =
com.pulumi.awsnative.appconfig.inputs.ExtensionActionArgs.builder()
.description(description?.applyValue({ args0 -> args0 }))
.name(name.applyValue({ args0 -> args0 }))
.roleArn(roleArn?.applyValue({ args0 -> args0 }))
.uri(uri.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ExtensionActionArgs].
*/
@PulumiTagMarker
public class ExtensionActionArgsBuilder internal constructor() {
private var description: Output? = null
private var name: Output? = null
private var roleArn: Output? = null
private var uri: Output? = null
/**
* @param value The description of the extension Action.
*/
@JvmName("qlfbsuryxhnhqdld")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value The name of the extension action.
*/
@JvmName("vhmqklhsmfnlhtnk")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value The ARN of the role for invoking the extension action.
*/
@JvmName("sapxbjuclrinkpic")
public suspend fun roleArn(`value`: Output) {
this.roleArn = value
}
/**
* @param value The URI of the extension action.
*/
@JvmName("yaokcwkxrogtomgl")
public suspend fun uri(`value`: Output) {
this.uri = value
}
/**
* @param value The description of the extension Action.
*/
@JvmName("fqabnlqjayesirfn")
public suspend fun description(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.description = mapped
}
/**
* @param value The name of the extension action.
*/
@JvmName("dnhfyotknpaxwcaf")
public suspend fun name(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value The ARN of the role for invoking the extension action.
*/
@JvmName("nbacksaucyolvggi")
public suspend fun roleArn(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.roleArn = mapped
}
/**
* @param value The URI of the extension action.
*/
@JvmName("ukdauyqupddopuby")
public suspend fun uri(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.uri = mapped
}
internal fun build(): ExtensionActionArgs = ExtensionActionArgs(
description = description,
name = name ?: throw PulumiNullFieldException("name"),
roleArn = roleArn,
uri = uri ?: throw PulumiNullFieldException("uri"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy