
com.pulumi.awsnative.mediaconnect.kotlin.outputs.FlowSource.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.FlowSourceProtocol
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
* The settings for the source of the flow.
* @property decryption The type of decryption that is used on the content ingested from this source.
* @property description A description for the source. This value is not used or seen outside of the current AWS Elemental MediaConnect account.
* @property entitlementArn The ARN of the entitlement that allows you to subscribe to content that comes from another AWS account. The entitlement is set by the content originator and the ARN is generated as part of the originator's flow.
* @property gatewayBridgeSource The source configuration for cloud flows receiving a stream from a bridge.
* @property ingestIp The IP address that the flow will be listening on for incoming content.
* @property ingestPort The port that the flow will be listening on for incoming content.
* @property maxBitrate The smoothing max bitrate for RIST, RTP, and RTP-FEC streams.
* @property maxLatency The maximum latency in milliseconds. This parameter applies only to RIST-based and Zixi-based streams.
* @property maxSyncBuffer The size of the buffer (in milliseconds) to use to sync incoming source data.
* @property mediaStreamSourceConfigurations The media stream that is associated with the source, and the parameters for that association.
* @property minLatency The minimum latency in milliseconds.
* @property name The name of the source.
* @property protocol The protocol that is used by the source.
* @property senderControlPort The port that the flow uses to send outbound requests to initiate connection with the sender for fujitsu-qos protocol.
* @property senderIpAddress The IP address that the flow communicates with to initiate connection with the sender for fujitsu-qos protocol.
* @property sourceArn The ARN of the source.
* @property sourceIngestPort The port that the flow will be listening on for incoming content.(ReadOnly)
* @property sourceListenerAddress Source IP or domain name for SRT-caller protocol.
* @property sourceListenerPort Source port for SRT-caller protocol.
* @property streamId The stream ID that you want to use for this transport. This parameter applies only to Zixi-based streams.
* @property vpcInterfaceName The name of the VPC Interface this Source is configured with.
* @property whitelistCidr The range of IP addresses that should be allowed to contribute content to your source. These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.
*/
public data class FlowSource(
public val decryption: FlowEncryption? = null,
public val description: String? = null,
public val entitlementArn: String? = null,
public val gatewayBridgeSource: FlowGatewayBridgeSource? = null,
public val ingestIp: String? = null,
public val ingestPort: Int? = null,
public val maxBitrate: Int? = null,
public val maxLatency: Int? = null,
public val maxSyncBuffer: Int? = null,
public val mediaStreamSourceConfigurations: List? = null,
public val minLatency: Int? = null,
public val name: String? = null,
public val protocol: FlowSourceProtocol? = null,
public val senderControlPort: Int? = null,
public val senderIpAddress: String? = null,
public val sourceArn: String? = null,
public val sourceIngestPort: String? = null,
public val sourceListenerAddress: String? = null,
public val sourceListenerPort: Int? = null,
public val streamId: String? = null,
public val vpcInterfaceName: String? = null,
public val whitelistCidr: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.mediaconnect.outputs.FlowSource): FlowSource = FlowSource(
decryption = javaType.decryption().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.mediaconnect.kotlin.outputs.FlowEncryption.Companion.toKotlin(args0)
})
}).orElse(null),
description = javaType.description().map({ args0 -> args0 }).orElse(null),
entitlementArn = javaType.entitlementArn().map({ args0 -> args0 }).orElse(null),
gatewayBridgeSource = javaType.gatewayBridgeSource().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.mediaconnect.kotlin.outputs.FlowGatewayBridgeSource.Companion.toKotlin(args0)
})
}).orElse(null),
ingestIp = javaType.ingestIp().map({ args0 -> args0 }).orElse(null),
ingestPort = javaType.ingestPort().map({ args0 -> args0 }).orElse(null),
maxBitrate = javaType.maxBitrate().map({ args0 -> args0 }).orElse(null),
maxLatency = javaType.maxLatency().map({ args0 -> args0 }).orElse(null),
maxSyncBuffer = javaType.maxSyncBuffer().map({ args0 -> args0 }).orElse(null),
mediaStreamSourceConfigurations = javaType.mediaStreamSourceConfigurations().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.mediaconnect.kotlin.outputs.FlowMediaStreamSourceConfiguration.Companion.toKotlin(args0)
})
}),
minLatency = javaType.minLatency().map({ args0 -> args0 }).orElse(null),
name = javaType.name().map({ args0 -> args0 }).orElse(null),
protocol = javaType.protocol().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.mediaconnect.kotlin.enums.FlowSourceProtocol.Companion.toKotlin(args0)
})
}).orElse(null),
senderControlPort = javaType.senderControlPort().map({ args0 -> args0 }).orElse(null),
senderIpAddress = javaType.senderIpAddress().map({ args0 -> args0 }).orElse(null),
sourceArn = javaType.sourceArn().map({ args0 -> args0 }).orElse(null),
sourceIngestPort = javaType.sourceIngestPort().map({ args0 -> args0 }).orElse(null),
sourceListenerAddress = javaType.sourceListenerAddress().map({ args0 -> args0 }).orElse(null),
sourceListenerPort = javaType.sourceListenerPort().map({ args0 -> args0 }).orElse(null),
streamId = javaType.streamId().map({ args0 -> args0 }).orElse(null),
vpcInterfaceName = javaType.vpcInterfaceName().map({ args0 -> args0 }).orElse(null),
whitelistCidr = javaType.whitelistCidr().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy