
com.pulumi.awsnative.logs.kotlin.inputs.DeliveryDestinationDestinationPolicyArgs.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.logs.kotlin.inputs
import com.pulumi.awsnative.logs.inputs.DeliveryDestinationDestinationPolicyArgs.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
/**
*
* @property deliveryDestinationName The name of the delivery destination to assign this policy to
* @property deliveryDestinationPolicy The contents of the policy attached to the delivery destination
*/
public data class DeliveryDestinationDestinationPolicyArgs(
public val deliveryDestinationName: Output,
public val deliveryDestinationPolicy: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.logs.inputs.DeliveryDestinationDestinationPolicyArgs =
com.pulumi.awsnative.logs.inputs.DeliveryDestinationDestinationPolicyArgs.builder()
.deliveryDestinationName(deliveryDestinationName.applyValue({ args0 -> args0 }))
.deliveryDestinationPolicy(deliveryDestinationPolicy.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [DeliveryDestinationDestinationPolicyArgs].
*/
@PulumiTagMarker
public class DeliveryDestinationDestinationPolicyArgsBuilder internal constructor() {
private var deliveryDestinationName: Output? = null
private var deliveryDestinationPolicy: Output? = null
/**
* @param value The name of the delivery destination to assign this policy to
*/
@JvmName("yrpsqakevagvqgtm")
public suspend fun deliveryDestinationName(`value`: Output) {
this.deliveryDestinationName = value
}
/**
* @param value The contents of the policy attached to the delivery destination
*/
@JvmName("ejwlygpunednxfxf")
public suspend fun deliveryDestinationPolicy(`value`: Output) {
this.deliveryDestinationPolicy = value
}
/**
* @param value The name of the delivery destination to assign this policy to
*/
@JvmName("kdwmtvdgqekpussh")
public suspend fun deliveryDestinationName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.deliveryDestinationName = mapped
}
/**
* @param value The contents of the policy attached to the delivery destination
*/
@JvmName("bmlqftubkufedukk")
public suspend fun deliveryDestinationPolicy(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.deliveryDestinationPolicy = mapped
}
internal fun build(): DeliveryDestinationDestinationPolicyArgs =
DeliveryDestinationDestinationPolicyArgs(
deliveryDestinationName = deliveryDestinationName ?: throw
PulumiNullFieldException("deliveryDestinationName"),
deliveryDestinationPolicy = deliveryDestinationPolicy ?: throw
PulumiNullFieldException("deliveryDestinationPolicy"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy