com.pulumi.awsnative.mediatailor.kotlin.outputs.GetChannelPolicyResult.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.mediatailor.kotlin.outputs
import kotlin.Any
import kotlin.Suppress
/**
*
* @property policy The IAM policy for the channel. IAM policies are used to control access to your channel.
* Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::MediaTailor::ChannelPolicy` for more information about the expected schema for this property.
*/
public data class GetChannelPolicyResult(
public val policy: Any? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.mediatailor.outputs.GetChannelPolicyResult): GetChannelPolicyResult = GetChannelPolicyResult(
policy = javaType.policy().map({ args0 -> args0 }).orElse(null),
)
}
}