com.pulumi.awsnative.mediaconnect.kotlin.outputs.GetFlowResult.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 kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property egressIp The IP address from which video will be sent to output destinations.
* @property flowArn The Amazon Resource Name (ARN), a unique identifier for any AWS resource, of the flow.
* @property flowAvailabilityZone The Availability Zone that you want to create the flow in. These options are limited to the Availability Zones within the current AWS.(ReadOnly)
* @property maintenance The maintenance settings you want to use for the flow.
* @property mediaStreams The media streams associated with the flow. You can associate any of these media streams with sources and outputs on the flow.
* @property source The source of the flow.
* @property sourceFailoverConfig The source failover config of the flow.
* @property vpcInterfaces The VPC interfaces that you added to this flow.
*/
public data class GetFlowResult(
public val egressIp: String? = null,
public val flowArn: String? = null,
public val flowAvailabilityZone: String? = null,
public val maintenance: FlowMaintenance? = null,
public val mediaStreams: List? = null,
public val source: FlowSource? = null,
public val sourceFailoverConfig: FlowFailoverConfig? = null,
public val vpcInterfaces: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.mediaconnect.outputs.GetFlowResult): GetFlowResult = GetFlowResult(
egressIp = javaType.egressIp().map({ args0 -> args0 }).orElse(null),
flowArn = javaType.flowArn().map({ args0 -> args0 }).orElse(null),
flowAvailabilityZone = javaType.flowAvailabilityZone().map({ args0 -> args0 }).orElse(null),
maintenance = javaType.maintenance().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.mediaconnect.kotlin.outputs.FlowMaintenance.Companion.toKotlin(args0)
})
}).orElse(null),
mediaStreams = javaType.mediaStreams().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.mediaconnect.kotlin.outputs.FlowMediaStream.Companion.toKotlin(args0)
})
}),
source = javaType.source().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.mediaconnect.kotlin.outputs.FlowSource.Companion.toKotlin(args0)
})
}).orElse(null),
sourceFailoverConfig = javaType.sourceFailoverConfig().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.mediaconnect.kotlin.outputs.FlowFailoverConfig.Companion.toKotlin(args0)
})
}).orElse(null),
vpcInterfaces = javaType.vpcInterfaces().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.mediaconnect.kotlin.outputs.FlowVpcInterface.Companion.toKotlin(args0)
})
}),
)
}
}