com.pulumi.awsnative.mediaconnect.kotlin.FlowEntitlementArgs.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
import com.pulumi.awsnative.mediaconnect.FlowEntitlementArgs.builder
import com.pulumi.awsnative.mediaconnect.kotlin.enums.FlowEntitlementEntitlementStatus
import com.pulumi.awsnative.mediaconnect.kotlin.inputs.FlowEntitlementEncryptionArgs
import com.pulumi.awsnative.mediaconnect.kotlin.inputs.FlowEntitlementEncryptionArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Resource schema for AWS::MediaConnect::FlowEntitlement
* @property dataTransferSubscriberFeePercent Percentage from 0-100 of the data transfer cost to be billed to the subscriber.
* @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 entitlementStatus An indication of whether the entitlement is enabled.
* @property flowArn The ARN of the flow.
* @property name The name of the entitlement.
* @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 FlowEntitlementArgs(
public val dataTransferSubscriberFeePercent: Output? = null,
public val description: Output? = null,
public val encryption: Output? = null,
public val entitlementStatus: Output? = null,
public val flowArn: Output? = null,
public val name: Output? = null,
public val subscribers: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.mediaconnect.FlowEntitlementArgs =
com.pulumi.awsnative.mediaconnect.FlowEntitlementArgs.builder()
.dataTransferSubscriberFeePercent(dataTransferSubscriberFeePercent?.applyValue({ args0 -> args0 }))
.description(description?.applyValue({ args0 -> args0 }))
.encryption(encryption?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.entitlementStatus(entitlementStatus?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.flowArn(flowArn?.applyValue({ args0 -> args0 }))
.name(name?.applyValue({ args0 -> args0 }))
.subscribers(subscribers?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [FlowEntitlementArgs].
*/
@PulumiTagMarker
public class FlowEntitlementArgsBuilder internal constructor() {
private var dataTransferSubscriberFeePercent: Output? = null
private var description: Output? = null
private var encryption: Output? = null
private var entitlementStatus: Output? = null
private var flowArn: Output? = null
private var name: Output? = null
private var subscribers: Output>? = null
/**
* @param value Percentage from 0-100 of the data transfer cost to be billed to the subscriber.
*/
@JvmName("jnjldobnegbkkadl")
public suspend fun dataTransferSubscriberFeePercent(`value`: Output) {
this.dataTransferSubscriberFeePercent = value
}
/**
* @param value A description of the entitlement.
*/
@JvmName("xkxfgcvvxeabmdlg")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value The type of encryption that will be used on the output that is associated with this entitlement.
*/
@JvmName("lbkidjqluuturshb")
public suspend fun encryption(`value`: Output) {
this.encryption = value
}
/**
* @param value An indication of whether the entitlement is enabled.
*/
@JvmName("ewnqsldgdmqmjnnb")
public suspend fun entitlementStatus(`value`: Output) {
this.entitlementStatus = value
}
/**
* @param value The ARN of the flow.
*/
@JvmName("fbukofnlbubrsyip")
public suspend fun flowArn(`value`: Output) {
this.flowArn = value
}
/**
* @param value The name of the entitlement.
*/
@JvmName("opeihpeikgkhqjux")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value 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.
*/
@JvmName("gwjuprfccqfkdosi")
public suspend fun subscribers(`value`: Output>) {
this.subscribers = value
}
@JvmName("umrmblohmjdeaipd")
public suspend fun subscribers(vararg values: Output) {
this.subscribers = Output.all(values.asList())
}
/**
* @param values 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.
*/
@JvmName("sbsclqlnmfcxgmkm")
public suspend fun subscribers(values: List