All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.mediapackagev2.kotlin.OriginEndpointArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.mediapackagev2.kotlin

import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
import com.pulumi.awsnative.mediapackagev2.OriginEndpointArgs.builder
import com.pulumi.awsnative.mediapackagev2.kotlin.enums.OriginEndpointContainerType
import com.pulumi.awsnative.mediapackagev2.kotlin.inputs.OriginEndpointDashManifestConfigurationArgs
import com.pulumi.awsnative.mediapackagev2.kotlin.inputs.OriginEndpointDashManifestConfigurationArgsBuilder
import com.pulumi.awsnative.mediapackagev2.kotlin.inputs.OriginEndpointForceEndpointErrorConfigurationArgs
import com.pulumi.awsnative.mediapackagev2.kotlin.inputs.OriginEndpointForceEndpointErrorConfigurationArgsBuilder
import com.pulumi.awsnative.mediapackagev2.kotlin.inputs.OriginEndpointHlsManifestConfigurationArgs
import com.pulumi.awsnative.mediapackagev2.kotlin.inputs.OriginEndpointHlsManifestConfigurationArgsBuilder
import com.pulumi.awsnative.mediapackagev2.kotlin.inputs.OriginEndpointLowLatencyHlsManifestConfigurationArgs
import com.pulumi.awsnative.mediapackagev2.kotlin.inputs.OriginEndpointLowLatencyHlsManifestConfigurationArgsBuilder
import com.pulumi.awsnative.mediapackagev2.kotlin.inputs.OriginEndpointSegmentArgs
import com.pulumi.awsnative.mediapackagev2.kotlin.inputs.OriginEndpointSegmentArgsBuilder
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

/**
 * 

Represents an origin endpoint that is associated with a channel, offering a dynamically repackaged version of its content through various streaming media protocols. The content can be efficiently disseminated to end-users via a Content Delivery Network (CDN), like Amazon CloudFront.

* @property channelGroupName The name of the channel group associated with the origin endpoint configuration. * @property channelName The channel name associated with the origin endpoint. * @property containerType The container type associated with the origin endpoint configuration. * @property dashManifests

A DASH manifest configuration.

* @property description

Enter any descriptive text that helps you to identify the origin endpoint.

* @property forceEndpointErrorConfiguration * @property hlsManifests

An HTTP live streaming (HLS) manifest configuration.

* @property lowLatencyHlsManifests

A low-latency HLS manifest configuration.

* @property originEndpointName The name of the origin endpoint associated with the origin endpoint configuration. * @property segment The segment associated with the origin endpoint. * @property startoverWindowSeconds

The size of the window (in seconds) to create a window of the live stream that's available for on-demand viewing. Viewers can start-over or catch-up on content that falls within the window. The maximum startover window is 1,209,600 seconds (14 days).

* @property tags The tags associated with the origin endpoint. */ public data class OriginEndpointArgs( public val channelGroupName: Output? = null, public val channelName: Output? = null, public val containerType: Output? = null, public val dashManifests: Output>? = null, public val description: Output? = null, public val forceEndpointErrorConfiguration: Output? = null, public val hlsManifests: Output>? = null, public val lowLatencyHlsManifests: Output>? = null, public val originEndpointName: Output? = null, public val segment: Output? = null, public val startoverWindowSeconds: Output? = null, public val tags: Output>? = null, ) : ConvertibleToJava { override fun toJava(): com.pulumi.awsnative.mediapackagev2.OriginEndpointArgs = com.pulumi.awsnative.mediapackagev2.OriginEndpointArgs.builder() .channelGroupName(channelGroupName?.applyValue({ args0 -> args0 })) .channelName(channelName?.applyValue({ args0 -> args0 })) .containerType(containerType?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })) .dashManifests( dashManifests?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }), ) .description(description?.applyValue({ args0 -> args0 })) .forceEndpointErrorConfiguration( forceEndpointErrorConfiguration?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }), ) .hlsManifests( hlsManifests?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }), ) .lowLatencyHlsManifests( lowLatencyHlsManifests?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }), ) .originEndpointName(originEndpointName?.applyValue({ args0 -> args0 })) .segment(segment?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })) .startoverWindowSeconds(startoverWindowSeconds?.applyValue({ args0 -> args0 })) .tags( tags?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }), ).build() } /** * Builder for [OriginEndpointArgs]. */ @PulumiTagMarker public class OriginEndpointArgsBuilder internal constructor() { private var channelGroupName: Output? = null private var channelName: Output? = null private var containerType: Output? = null private var dashManifests: Output>? = null private var description: Output? = null private var forceEndpointErrorConfiguration: Output? = null private var hlsManifests: Output>? = null private var lowLatencyHlsManifests: Output>? = null private var originEndpointName: Output? = null private var segment: Output? = null private var startoverWindowSeconds: Output? = null private var tags: Output>? = null /** * @param value The name of the channel group associated with the origin endpoint configuration. */ @JvmName("vvitnhjxakvjemvm") public suspend fun channelGroupName(`value`: Output) { this.channelGroupName = value } /** * @param value The channel name associated with the origin endpoint. */ @JvmName("etmymdwbemvkhsof") public suspend fun channelName(`value`: Output) { this.channelName = value } /** * @param value The container type associated with the origin endpoint configuration. */ @JvmName("iykfwmqurbcjuyih") public suspend fun containerType(`value`: Output) { this.containerType = value } /** * @param value

A DASH manifest configuration.

*/ @JvmName("umfdpjapoxdupibt") public suspend fun dashManifests(`value`: Output>) { this.dashManifests = value } @JvmName("wtrmqepygrogcxkq") public suspend fun dashManifests(vararg values: Output) { this.dashManifests = Output.all(values.asList()) } /** * @param values

A DASH manifest configuration.

*/ @JvmName("tkdusblkiiscnksb") public suspend fun dashManifests(values: List>) { this.dashManifests = Output.all(values) } /** * @param value

Enter any descriptive text that helps you to identify the origin endpoint.

*/ @JvmName("cdkxmmscnldxaxux") public suspend fun description(`value`: Output) { this.description = value } /** * @param value */ @JvmName("unhouwjxiuuldrsk") public suspend fun forceEndpointErrorConfiguration(`value`: Output) { this.forceEndpointErrorConfiguration = value } /** * @param value

An HTTP live streaming (HLS) manifest configuration.

*/ @JvmName("gmdwqvupvxffstrv") public suspend fun hlsManifests(`value`: Output>) { this.hlsManifests = value } @JvmName("gvpryknqcckkblnj") public suspend fun hlsManifests(vararg values: Output) { this.hlsManifests = Output.all(values.asList()) } /** * @param values

An HTTP live streaming (HLS) manifest configuration.

*/ @JvmName("wbtexyhwgqvxpqwu") public suspend fun hlsManifests(values: List>) { this.hlsManifests = Output.all(values) } /** * @param value

A low-latency HLS manifest configuration.

*/ @JvmName("sxrtaokykiesihws") public suspend fun lowLatencyHlsManifests(`value`: Output>) { this.lowLatencyHlsManifests = value } @JvmName("yhsgekponyluipcb") public suspend fun lowLatencyHlsManifests(vararg values: Output) { this.lowLatencyHlsManifests = Output.all(values.asList()) } /** * @param values

A low-latency HLS manifest configuration.

*/ @JvmName("gqppmlapkpdrxvvo") public suspend fun lowLatencyHlsManifests(values: List>) { this.lowLatencyHlsManifests = Output.all(values) } /** * @param value The name of the origin endpoint associated with the origin endpoint configuration. */ @JvmName("olrplqchulqljcqy") public suspend fun originEndpointName(`value`: Output) { this.originEndpointName = value } /** * @param value The segment associated with the origin endpoint. */ @JvmName("bytiexkkqejefxnr") public suspend fun segment(`value`: Output) { this.segment = value } /** * @param value

The size of the window (in seconds) to create a window of the live stream that's available for on-demand viewing. Viewers can start-over or catch-up on content that falls within the window. The maximum startover window is 1,209,600 seconds (14 days).

*/ @JvmName("urhqlhxuesrenhxf") public suspend fun startoverWindowSeconds(`value`: Output) { this.startoverWindowSeconds = value } /** * @param value The tags associated with the origin endpoint. */ @JvmName("scsgcppyuyoamonu") public suspend fun tags(`value`: Output>) { this.tags = value } @JvmName("vdqhlsjscfyyybvv") public suspend fun tags(vararg values: Output) { this.tags = Output.all(values.asList()) } /** * @param values The tags associated with the origin endpoint. */ @JvmName("nctgvsdbpwgjdpjn") public suspend fun tags(values: List>) { this.tags = Output.all(values) } /** * @param value The name of the channel group associated with the origin endpoint configuration. */ @JvmName("aqksqdkfigwiwuad") public suspend fun channelGroupName(`value`: String?) { val toBeMapped = value val mapped = toBeMapped?.let({ args0 -> of(args0) }) this.channelGroupName = mapped } /** * @param value The channel name associated with the origin endpoint. */ @JvmName("kjuwijecfohmxotm") public suspend fun channelName(`value`: String?) { val toBeMapped = value val mapped = toBeMapped?.let({ args0 -> of(args0) }) this.channelName = mapped } /** * @param value The container type associated with the origin endpoint configuration. */ @JvmName("qylarlhxoresihsq") public suspend fun containerType(`value`: OriginEndpointContainerType?) { val toBeMapped = value val mapped = toBeMapped?.let({ args0 -> of(args0) }) this.containerType = mapped } /** * @param value

A DASH manifest configuration.

*/ @JvmName("lluerdoxemsmbtna") public suspend fun dashManifests(`value`: List?) { val toBeMapped = value val mapped = toBeMapped?.let({ args0 -> of(args0) }) this.dashManifests = mapped } /** * @param argument

A DASH manifest configuration.

*/ @JvmName("femkchrwncklvfxl") public suspend fun dashManifests(argument: List Unit>) { val toBeMapped = argument.toList().map { OriginEndpointDashManifestConfigurationArgsBuilder().applySuspend { it() }.build() } val mapped = of(toBeMapped) this.dashManifests = mapped } /** * @param argument

A DASH manifest configuration.

*/ @JvmName("nasskjyquwkbogvg") public suspend fun dashManifests(vararg argument: suspend OriginEndpointDashManifestConfigurationArgsBuilder.() -> Unit) { val toBeMapped = argument.toList().map { OriginEndpointDashManifestConfigurationArgsBuilder().applySuspend { it() }.build() } val mapped = of(toBeMapped) this.dashManifests = mapped } /** * @param argument

A DASH manifest configuration.

*/ @JvmName("fpvhpqkcpxjqbxjt") public suspend fun dashManifests(argument: suspend OriginEndpointDashManifestConfigurationArgsBuilder.() -> Unit) { val toBeMapped = listOf( OriginEndpointDashManifestConfigurationArgsBuilder().applySuspend { argument() }.build(), ) val mapped = of(toBeMapped) this.dashManifests = mapped } /** * @param values

A DASH manifest configuration.

*/ @JvmName("yfercwgjgjvwcghr") public suspend fun dashManifests(vararg values: OriginEndpointDashManifestConfigurationArgs) { val toBeMapped = values.toList() val mapped = toBeMapped.let({ args0 -> of(args0) }) this.dashManifests = mapped } /** * @param value

Enter any descriptive text that helps you to identify the origin endpoint.

*/ @JvmName("ospppukxydwmcyil") public suspend fun description(`value`: String?) { val toBeMapped = value val mapped = toBeMapped?.let({ args0 -> of(args0) }) this.description = mapped } /** * @param value */ @JvmName("rpsjaqwkokxqsvwt") public suspend fun forceEndpointErrorConfiguration(`value`: OriginEndpointForceEndpointErrorConfigurationArgs?) { val toBeMapped = value val mapped = toBeMapped?.let({ args0 -> of(args0) }) this.forceEndpointErrorConfiguration = mapped } /** * @param argument */ @JvmName("vgetmaypfriaqhry") public suspend fun forceEndpointErrorConfiguration(argument: suspend OriginEndpointForceEndpointErrorConfigurationArgsBuilder.() -> Unit) { val toBeMapped = OriginEndpointForceEndpointErrorConfigurationArgsBuilder().applySuspend { argument() }.build() val mapped = of(toBeMapped) this.forceEndpointErrorConfiguration = mapped } /** * @param value

An HTTP live streaming (HLS) manifest configuration.

*/ @JvmName("tsuugonydhnmtcrb") public suspend fun hlsManifests(`value`: List?) { val toBeMapped = value val mapped = toBeMapped?.let({ args0 -> of(args0) }) this.hlsManifests = mapped } /** * @param argument

An HTTP live streaming (HLS) manifest configuration.

*/ @JvmName("qgdadpnwywacirvg") public suspend fun hlsManifests(argument: List Unit>) { val toBeMapped = argument.toList().map { OriginEndpointHlsManifestConfigurationArgsBuilder().applySuspend { it() }.build() } val mapped = of(toBeMapped) this.hlsManifests = mapped } /** * @param argument

An HTTP live streaming (HLS) manifest configuration.

*/ @JvmName("jgtvpsesdoanoyhe") public suspend fun hlsManifests(vararg argument: suspend OriginEndpointHlsManifestConfigurationArgsBuilder.() -> Unit) { val toBeMapped = argument.toList().map { OriginEndpointHlsManifestConfigurationArgsBuilder().applySuspend { it() }.build() } val mapped = of(toBeMapped) this.hlsManifests = mapped } /** * @param argument

An HTTP live streaming (HLS) manifest configuration.

*/ @JvmName("fddpakucljlueqot") public suspend fun hlsManifests(argument: suspend OriginEndpointHlsManifestConfigurationArgsBuilder.() -> Unit) { val toBeMapped = listOf( OriginEndpointHlsManifestConfigurationArgsBuilder().applySuspend { argument() }.build(), ) val mapped = of(toBeMapped) this.hlsManifests = mapped } /** * @param values

An HTTP live streaming (HLS) manifest configuration.

*/ @JvmName("irpblxygjcsoctwg") public suspend fun hlsManifests(vararg values: OriginEndpointHlsManifestConfigurationArgs) { val toBeMapped = values.toList() val mapped = toBeMapped.let({ args0 -> of(args0) }) this.hlsManifests = mapped } /** * @param value

A low-latency HLS manifest configuration.

*/ @JvmName("snlhnkbrrqdljxud") public suspend fun lowLatencyHlsManifests(`value`: List?) { val toBeMapped = value val mapped = toBeMapped?.let({ args0 -> of(args0) }) this.lowLatencyHlsManifests = mapped } /** * @param argument

A low-latency HLS manifest configuration.

*/ @JvmName("rgorrrlitrjpjyyt") public suspend fun lowLatencyHlsManifests(argument: List Unit>) { val toBeMapped = argument.toList().map { OriginEndpointLowLatencyHlsManifestConfigurationArgsBuilder().applySuspend { it() }.build() } val mapped = of(toBeMapped) this.lowLatencyHlsManifests = mapped } /** * @param argument

A low-latency HLS manifest configuration.

*/ @JvmName("hjxjrfnvadkibayt") public suspend fun lowLatencyHlsManifests(vararg argument: suspend OriginEndpointLowLatencyHlsManifestConfigurationArgsBuilder.() -> Unit) { val toBeMapped = argument.toList().map { OriginEndpointLowLatencyHlsManifestConfigurationArgsBuilder().applySuspend { it() }.build() } val mapped = of(toBeMapped) this.lowLatencyHlsManifests = mapped } /** * @param argument

A low-latency HLS manifest configuration.

*/ @JvmName("lulakxlxkqksyofv") public suspend fun lowLatencyHlsManifests(argument: suspend OriginEndpointLowLatencyHlsManifestConfigurationArgsBuilder.() -> Unit) { val toBeMapped = listOf( OriginEndpointLowLatencyHlsManifestConfigurationArgsBuilder().applySuspend { argument() }.build(), ) val mapped = of(toBeMapped) this.lowLatencyHlsManifests = mapped } /** * @param values

A low-latency HLS manifest configuration.

*/ @JvmName("louwnkehkmsibpvl") public suspend fun lowLatencyHlsManifests(vararg values: OriginEndpointLowLatencyHlsManifestConfigurationArgs) { val toBeMapped = values.toList() val mapped = toBeMapped.let({ args0 -> of(args0) }) this.lowLatencyHlsManifests = mapped } /** * @param value The name of the origin endpoint associated with the origin endpoint configuration. */ @JvmName("vmmmwdeonounyrrv") public suspend fun originEndpointName(`value`: String?) { val toBeMapped = value val mapped = toBeMapped?.let({ args0 -> of(args0) }) this.originEndpointName = mapped } /** * @param value The segment associated with the origin endpoint. */ @JvmName("podtowkewekntyyl") public suspend fun segment(`value`: OriginEndpointSegmentArgs?) { val toBeMapped = value val mapped = toBeMapped?.let({ args0 -> of(args0) }) this.segment = mapped } /** * @param argument The segment associated with the origin endpoint. */ @JvmName("psleipcukypbpjnu") public suspend fun segment(argument: suspend OriginEndpointSegmentArgsBuilder.() -> Unit) { val toBeMapped = OriginEndpointSegmentArgsBuilder().applySuspend { argument() }.build() val mapped = of(toBeMapped) this.segment = mapped } /** * @param value

The size of the window (in seconds) to create a window of the live stream that's available for on-demand viewing. Viewers can start-over or catch-up on content that falls within the window. The maximum startover window is 1,209,600 seconds (14 days).

*/ @JvmName("rwfneurjfmpjgkgu") public suspend fun startoverWindowSeconds(`value`: Int?) { val toBeMapped = value val mapped = toBeMapped?.let({ args0 -> of(args0) }) this.startoverWindowSeconds = mapped } /** * @param value The tags associated with the origin endpoint. */ @JvmName("ygoqwupgbixhaajq") public suspend fun tags(`value`: List?) { val toBeMapped = value val mapped = toBeMapped?.let({ args0 -> of(args0) }) this.tags = mapped } /** * @param argument The tags associated with the origin endpoint. */ @JvmName("pppoxansbwfainmq") public suspend fun tags(argument: List Unit>) { val toBeMapped = argument.toList().map { TagArgsBuilder().applySuspend { it() }.build() } val mapped = of(toBeMapped) this.tags = mapped } /** * @param argument The tags associated with the origin endpoint. */ @JvmName("gulmwxmahjdguedy") public suspend fun tags(vararg argument: suspend TagArgsBuilder.() -> Unit) { val toBeMapped = argument.toList().map { TagArgsBuilder().applySuspend { it() }.build() } val mapped = of(toBeMapped) this.tags = mapped } /** * @param argument The tags associated with the origin endpoint. */ @JvmName("sivjsbefoccsyflm") public suspend fun tags(argument: suspend TagArgsBuilder.() -> Unit) { val toBeMapped = listOf(TagArgsBuilder().applySuspend { argument() }.build()) val mapped = of(toBeMapped) this.tags = mapped } /** * @param values The tags associated with the origin endpoint. */ @JvmName("exaosuuypkynhnkq") public suspend fun tags(vararg values: TagArgs) { val toBeMapped = values.toList() val mapped = toBeMapped.let({ args0 -> of(args0) }) this.tags = mapped } internal fun build(): OriginEndpointArgs = OriginEndpointArgs( channelGroupName = channelGroupName, channelName = channelName, containerType = containerType, dashManifests = dashManifests, description = description, forceEndpointErrorConfiguration = forceEndpointErrorConfiguration, hlsManifests = hlsManifests, lowLatencyHlsManifests = lowLatencyHlsManifests, originEndpointName = originEndpointName, segment = segment, startoverWindowSeconds = startoverWindowSeconds, tags = tags, ) }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy