![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.logs.kotlin.outputs.GetDestinationResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.logs.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property arn The ARN of the CloudWatch Logs destination, such as `arn:aws:logs:us-west-1:123456789012:destination:MyDestination` .
* @property destinationPolicy An IAM policy document that governs which AWS accounts can create subscription filters against this destination.
* @property roleArn The ARN of an IAM role that permits CloudWatch Logs to send data to the specified AWS resource
* @property targetArn The ARN of the physical target where the log events are delivered (for example, a Kinesis stream)
*/
public data class GetDestinationResult(
public val arn: String? = null,
public val destinationPolicy: String? = null,
public val roleArn: String? = null,
public val targetArn: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.logs.outputs.GetDestinationResult): GetDestinationResult = GetDestinationResult(
arn = javaType.arn().map({ args0 -> args0 }).orElse(null),
destinationPolicy = javaType.destinationPolicy().map({ args0 -> args0 }).orElse(null),
roleArn = javaType.roleArn().map({ args0 -> args0 }).orElse(null),
targetArn = javaType.targetArn().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy