
com.pulumi.awsnative.logs.kotlin.DeliveryArgs.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
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
import com.pulumi.awsnative.logs.DeliveryArgs.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
/**
* This structure contains information about one delivery in your account.
* A delivery is a connection between a logical delivery source and a logical delivery destination.
* For more information, see [CreateDelivery](https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_CreateDelivery.html).
* @property deliveryDestinationArn The ARN of the delivery destination that is associated with this delivery.
* @property deliverySourceName The name of the delivery source that is associated with this delivery.
* @property tags The tags that have been assigned to this delivery.
*/
public data class DeliveryArgs(
public val deliveryDestinationArn: Output? = null,
public val deliverySourceName: Output? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.logs.DeliveryArgs =
com.pulumi.awsnative.logs.DeliveryArgs.builder()
.deliveryDestinationArn(deliveryDestinationArn?.applyValue({ args0 -> args0 }))
.deliverySourceName(deliverySourceName?.applyValue({ args0 -> args0 }))
.tags(
tags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [DeliveryArgs].
*/
@PulumiTagMarker
public class DeliveryArgsBuilder internal constructor() {
private var deliveryDestinationArn: Output? = null
private var deliverySourceName: Output? = null
private var tags: Output>? = null
/**
* @param value The ARN of the delivery destination that is associated with this delivery.
*/
@JvmName("bkyqvluemylvvidv")
public suspend fun deliveryDestinationArn(`value`: Output) {
this.deliveryDestinationArn = value
}
/**
* @param value The name of the delivery source that is associated with this delivery.
*/
@JvmName("jpqcmnblodppeple")
public suspend fun deliverySourceName(`value`: Output) {
this.deliverySourceName = value
}
/**
* @param value The tags that have been assigned to this delivery.
*/
@JvmName("cnwcnpvvtsteytbw")
public suspend fun tags(`value`: Output>) {
this.tags = value
}
@JvmName("hvbqjxwsbdrfiigt")
public suspend fun tags(vararg values: Output) {
this.tags = Output.all(values.asList())
}
/**
* @param values The tags that have been assigned to this delivery.
*/
@JvmName("trgkiwxkjvmvsknd")
public suspend fun tags(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy