com.pulumi.awsnative.mediapackage.kotlin.outputs.GetChannelResult.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.mediapackage.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property arn The Amazon Resource Name (ARN) assigned to the Channel.
* @property description A short text description of the Channel.
* @property egressAccessLogs The configuration parameters for egress access logging.
* @property hlsIngest An HTTP Live Streaming (HLS) ingest resource configuration.
* @property ingressAccessLogs The configuration parameters for egress access logging.
*/
public data class GetChannelResult(
public val arn: String? = null,
public val description: String? = null,
public val egressAccessLogs: ChannelLogConfiguration? = null,
public val hlsIngest: ChannelHlsIngest? = null,
public val ingressAccessLogs: ChannelLogConfiguration? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.mediapackage.outputs.GetChannelResult): GetChannelResult = GetChannelResult(
arn = javaType.arn().map({ args0 -> args0 }).orElse(null),
description = javaType.description().map({ args0 -> args0 }).orElse(null),
egressAccessLogs = javaType.egressAccessLogs().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.mediapackage.kotlin.outputs.ChannelLogConfiguration.Companion.toKotlin(args0)
})
}).orElse(null),
hlsIngest = javaType.hlsIngest().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.mediapackage.kotlin.outputs.ChannelHlsIngest.Companion.toKotlin(args0)
})
}).orElse(null),
ingressAccessLogs = javaType.ingressAccessLogs().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.mediapackage.kotlin.outputs.ChannelLogConfiguration.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}