com.pulumi.awsnative.mediaconnect.kotlin.outputs.GetFlowEntitlementResult.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.mediaconnect.kotlin.outputs
import com.pulumi.awsnative.mediaconnect.kotlin.enums.FlowEntitlementEntitlementStatus
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property description A description of the entitlement.
* @property encryption The type of encryption that will be used on the output that is associated with this entitlement.
* @property entitlementArn The ARN of the entitlement.
* @property entitlementStatus An indication of whether the entitlement is enabled.
* @property flowArn The ARN of the flow.
* @property subscribers The AWS account IDs that you want to share your content with. The receiving accounts (subscribers) will be allowed to create their own flow using your content as the source.
*/
public data class GetFlowEntitlementResult(
public val description: String? = null,
public val encryption: FlowEntitlementEncryption? = null,
public val entitlementArn: String? = null,
public val entitlementStatus: FlowEntitlementEntitlementStatus? = null,
public val flowArn: String? = null,
public val subscribers: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.mediaconnect.outputs.GetFlowEntitlementResult): GetFlowEntitlementResult = GetFlowEntitlementResult(
description = javaType.description().map({ args0 -> args0 }).orElse(null),
encryption = javaType.encryption().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.mediaconnect.kotlin.outputs.FlowEntitlementEncryption.Companion.toKotlin(args0)
})
}).orElse(null),
entitlementArn = javaType.entitlementArn().map({ args0 -> args0 }).orElse(null),
entitlementStatus = javaType.entitlementStatus().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.mediaconnect.kotlin.enums.FlowEntitlementEntitlementStatus.Companion.toKotlin(args0)
})
}).orElse(null),
flowArn = javaType.flowArn().map({ args0 -> args0 }).orElse(null),
subscribers = javaType.subscribers().map({ args0 -> args0 }),
)
}
}