Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
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.
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("eievxphhftvfowko")
public suspend fun channelGroupName(`value`: Output) {
this.channelGroupName = value
}
/**
* @param value The channel name associated with the origin endpoint.
*/
@JvmName("mebquiqutcpmwmdd")
public suspend fun channelName(`value`: Output) {
this.channelName = value
}
/**
* @param value The container type associated with the origin endpoint configuration.
*/
@JvmName("rxbakujmgfjiscjs")
public suspend fun containerType(`value`: Output) {
this.containerType = value
}
/**
* @param value
A DASH manifest configuration.
*/
@JvmName("nehudpgmlydxvjgu")
public suspend fun dashManifests(`value`: Output>) {
this.dashManifests = value
}
@JvmName("ijmfdpsublydyajy")
public suspend fun dashManifests(vararg values: Output) {
this.dashManifests = Output.all(values.asList())
}
/**
* @param values
A DASH manifest configuration.
*/
@JvmName("yvqihsggauggfntc")
public suspend fun dashManifests(values: List