![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.logs.kotlin.outputs.GetDeliveryDestinationResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.logs.kotlin.outputs
import com.pulumi.awsnative.kotlin.outputs.Tag
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property arn The Amazon Resource Name (ARN) that uniquely identifies this delivery destination.
* @property deliveryDestinationPolicy IAM policy that grants permissions to CloudWatch Logs to deliver logs cross-account to a specified destination in this account.
* The policy must be in JSON string format.
* Length Constraints: Maximum length of 51200
* @property deliveryDestinationType Displays whether this delivery destination is CloudWatch Logs, Amazon S3, or Kinesis Data Firehose.
* @property tags The tags that have been assigned to this delivery destination.
*/
public data class GetDeliveryDestinationResult(
public val arn: String? = null,
public val deliveryDestinationPolicy: List? = null,
public val deliveryDestinationType: String? = null,
public val tags: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.logs.outputs.GetDeliveryDestinationResult): GetDeliveryDestinationResult = GetDeliveryDestinationResult(
arn = javaType.arn().map({ args0 -> args0 }).orElse(null),
deliveryDestinationPolicy = javaType.deliveryDestinationPolicy().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.logs.kotlin.outputs.DeliveryDestinationDestinationPolicy.Companion.toKotlin(args0)
})
}),
deliveryDestinationType = javaType.deliveryDestinationType().map({ args0 -> args0 }).orElse(null),
tags = javaType.tags().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy