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

com.pulumi.awsnative.groundstation.kotlin.MissionProfileArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.groundstation.kotlin

import com.pulumi.awsnative.groundstation.MissionProfileArgs.builder
import com.pulumi.awsnative.groundstation.kotlin.inputs.MissionProfileDataflowEdgeArgs
import com.pulumi.awsnative.groundstation.kotlin.inputs.MissionProfileDataflowEdgeArgsBuilder
import com.pulumi.awsnative.groundstation.kotlin.inputs.MissionProfileStreamsKmsKeyArgs
import com.pulumi.awsnative.groundstation.kotlin.inputs.MissionProfileStreamsKmsKeyArgsBuilder
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
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

/**
 * AWS Ground Station Mission Profile resource type for CloudFormation.
 * ## Example Usage
 * ### Example
 * No Java example available.
 * ### Example
 * No Java example available.
 * @property contactPostPassDurationSeconds Post-pass time needed after the contact.
 * @property contactPrePassDurationSeconds Pre-pass time needed before the contact.
 * @property dataflowEdges A list containing lists of config ARNs. Each list of config ARNs is an edge, with a "from" config and a "to" config.
 * @property minimumViableContactDurationSeconds Visibilities with shorter duration than the specified minimum viable contact duration will be ignored when searching for available contacts.
 * @property name A name used to identify a mission profile.
 * @property streamsKmsKey The ARN of a KMS Key used for encrypting data during transmission from the source to destination locations.
 * @property streamsKmsRole The ARN of the KMS Key or Alias Key role used to define permissions on KMS Key usage.
 * @property tags Tags assigned to the mission profile.
 * @property trackingConfigArn The ARN of a tracking config objects that defines how to track the satellite through the sky during a contact.
 */
public data class MissionProfileArgs(
    public val contactPostPassDurationSeconds: Output? = null,
    public val contactPrePassDurationSeconds: Output? = null,
    public val dataflowEdges: Output>? = null,
    public val minimumViableContactDurationSeconds: Output? = null,
    public val name: Output? = null,
    public val streamsKmsKey: Output? = null,
    public val streamsKmsRole: Output? = null,
    public val tags: Output>? = null,
    public val trackingConfigArn: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.groundstation.MissionProfileArgs =
        com.pulumi.awsnative.groundstation.MissionProfileArgs.builder()
            .contactPostPassDurationSeconds(contactPostPassDurationSeconds?.applyValue({ args0 -> args0 }))
            .contactPrePassDurationSeconds(contactPrePassDurationSeconds?.applyValue({ args0 -> args0 }))
            .dataflowEdges(
                dataflowEdges?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            )
            .minimumViableContactDurationSeconds(
                minimumViableContactDurationSeconds?.applyValue({ args0 ->
                    args0
                }),
            )
            .name(name?.applyValue({ args0 -> args0 }))
            .streamsKmsKey(streamsKmsKey?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .streamsKmsRole(streamsKmsRole?.applyValue({ args0 -> args0 }))
            .tags(tags?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
            .trackingConfigArn(trackingConfigArn?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [MissionProfileArgs].
 */
@PulumiTagMarker
public class MissionProfileArgsBuilder internal constructor() {
    private var contactPostPassDurationSeconds: Output? = null

    private var contactPrePassDurationSeconds: Output? = null

    private var dataflowEdges: Output>? = null

    private var minimumViableContactDurationSeconds: Output? = null

    private var name: Output? = null

    private var streamsKmsKey: Output? = null

    private var streamsKmsRole: Output? = null

    private var tags: Output>? = null

    private var trackingConfigArn: Output? = null

    /**
     * @param value Post-pass time needed after the contact.
     */
    @JvmName("yqlqfjljtwblvptf")
    public suspend fun contactPostPassDurationSeconds(`value`: Output) {
        this.contactPostPassDurationSeconds = value
    }

    /**
     * @param value Pre-pass time needed before the contact.
     */
    @JvmName("nrujphliasipurtm")
    public suspend fun contactPrePassDurationSeconds(`value`: Output) {
        this.contactPrePassDurationSeconds = value
    }

    /**
     * @param value A list containing lists of config ARNs. Each list of config ARNs is an edge, with a "from" config and a "to" config.
     */
    @JvmName("lqgcttyvdayswvxk")
    public suspend fun dataflowEdges(`value`: Output>) {
        this.dataflowEdges = value
    }

    @JvmName("tvpaxywjoxnwhnsl")
    public suspend fun dataflowEdges(vararg values: Output) {
        this.dataflowEdges = Output.all(values.asList())
    }

    /**
     * @param values A list containing lists of config ARNs. Each list of config ARNs is an edge, with a "from" config and a "to" config.
     */
    @JvmName("afbxgqpwfcejnhcs")
    public suspend fun dataflowEdges(values: List>) {
        this.dataflowEdges = Output.all(values)
    }

    /**
     * @param value Visibilities with shorter duration than the specified minimum viable contact duration will be ignored when searching for available contacts.
     */
    @JvmName("eckfkleqgcjlpvja")
    public suspend fun minimumViableContactDurationSeconds(`value`: Output) {
        this.minimumViableContactDurationSeconds = value
    }

    /**
     * @param value A name used to identify a mission profile.
     */
    @JvmName("qsjilqdntoyovshe")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value The ARN of a KMS Key used for encrypting data during transmission from the source to destination locations.
     */
    @JvmName("jabyujopnvcvgqbt")
    public suspend fun streamsKmsKey(`value`: Output) {
        this.streamsKmsKey = value
    }

    /**
     * @param value The ARN of the KMS Key or Alias Key role used to define permissions on KMS Key usage.
     */
    @JvmName("njrktptltpyweqxe")
    public suspend fun streamsKmsRole(`value`: Output) {
        this.streamsKmsRole = value
    }

    /**
     * @param value Tags assigned to the mission profile.
     */
    @JvmName("cgqfyqjamouyksck")
    public suspend fun tags(`value`: Output>) {
        this.tags = value
    }

    @JvmName("rabwtglwywqdeodc")
    public suspend fun tags(vararg values: Output) {
        this.tags = Output.all(values.asList())
    }

    /**
     * @param values Tags assigned to the mission profile.
     */
    @JvmName("hldbfhudnhtrtcev")
    public suspend fun tags(values: List>) {
        this.tags = Output.all(values)
    }

    /**
     * @param value The ARN of a tracking config objects that defines how to track the satellite through the sky during a contact.
     */
    @JvmName("ludxveqgltlhplkg")
    public suspend fun trackingConfigArn(`value`: Output) {
        this.trackingConfigArn = value
    }

    /**
     * @param value Post-pass time needed after the contact.
     */
    @JvmName("keorsjlmgsqbjril")
    public suspend fun contactPostPassDurationSeconds(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.contactPostPassDurationSeconds = mapped
    }

    /**
     * @param value Pre-pass time needed before the contact.
     */
    @JvmName("dodakidyytoaivhc")
    public suspend fun contactPrePassDurationSeconds(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.contactPrePassDurationSeconds = mapped
    }

    /**
     * @param value A list containing lists of config ARNs. Each list of config ARNs is an edge, with a "from" config and a "to" config.
     */
    @JvmName("qvcnivjkpapacqib")
    public suspend fun dataflowEdges(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.dataflowEdges = mapped
    }

    /**
     * @param argument A list containing lists of config ARNs. Each list of config ARNs is an edge, with a "from" config and a "to" config.
     */
    @JvmName("yqhwjtrjdlkvtkws")
    public suspend fun dataflowEdges(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            MissionProfileDataflowEdgeArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.dataflowEdges = mapped
    }

    /**
     * @param argument A list containing lists of config ARNs. Each list of config ARNs is an edge, with a "from" config and a "to" config.
     */
    @JvmName("clpkpynndorroaei")
    public suspend fun dataflowEdges(vararg argument: suspend MissionProfileDataflowEdgeArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            MissionProfileDataflowEdgeArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.dataflowEdges = mapped
    }

    /**
     * @param argument A list containing lists of config ARNs. Each list of config ARNs is an edge, with a "from" config and a "to" config.
     */
    @JvmName("hiduespekaqlerff")
    public suspend fun dataflowEdges(argument: suspend MissionProfileDataflowEdgeArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(
            MissionProfileDataflowEdgeArgsBuilder().applySuspend {
                argument()
            }.build(),
        )
        val mapped = of(toBeMapped)
        this.dataflowEdges = mapped
    }

    /**
     * @param values A list containing lists of config ARNs. Each list of config ARNs is an edge, with a "from" config and a "to" config.
     */
    @JvmName("cqkrkhvuaxairood")
    public suspend fun dataflowEdges(vararg values: MissionProfileDataflowEdgeArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.dataflowEdges = mapped
    }

    /**
     * @param value Visibilities with shorter duration than the specified minimum viable contact duration will be ignored when searching for available contacts.
     */
    @JvmName("pkfsebxxquqskfqb")
    public suspend fun minimumViableContactDurationSeconds(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.minimumViableContactDurationSeconds = mapped
    }

    /**
     * @param value A name used to identify a mission profile.
     */
    @JvmName("vaqqitiowfntaufq")
    public suspend fun name(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.name = mapped
    }

    /**
     * @param value The ARN of a KMS Key used for encrypting data during transmission from the source to destination locations.
     */
    @JvmName("fxfvaetanfjhwwle")
    public suspend fun streamsKmsKey(`value`: MissionProfileStreamsKmsKeyArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.streamsKmsKey = mapped
    }

    /**
     * @param argument The ARN of a KMS Key used for encrypting data during transmission from the source to destination locations.
     */
    @JvmName("ptvkrvmppletopsx")
    public suspend fun streamsKmsKey(argument: suspend MissionProfileStreamsKmsKeyArgsBuilder.() -> Unit) {
        val toBeMapped = MissionProfileStreamsKmsKeyArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.streamsKmsKey = mapped
    }

    /**
     * @param value The ARN of the KMS Key or Alias Key role used to define permissions on KMS Key usage.
     */
    @JvmName("goidvupstjfyldlu")
    public suspend fun streamsKmsRole(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.streamsKmsRole = mapped
    }

    /**
     * @param value Tags assigned to the mission profile.
     */
    @JvmName("evhnguhrhasgxxup")
    public suspend fun tags(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.tags = mapped
    }

    /**
     * @param argument Tags assigned to the mission profile.
     */
    @JvmName("lvpdnautraptmbax")
    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 Tags assigned to the mission profile.
     */
    @JvmName("ykdjlcjubndjwjsi")
    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 Tags assigned to the mission profile.
     */
    @JvmName("osyvyjlvmlfonmvp")
    public suspend fun tags(argument: suspend TagArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(TagArgsBuilder().applySuspend { argument() }.build())
        val mapped = of(toBeMapped)
        this.tags = mapped
    }

    /**
     * @param values Tags assigned to the mission profile.
     */
    @JvmName("fdwyhhxothvkdcnt")
    public suspend fun tags(vararg values: TagArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.tags = mapped
    }

    /**
     * @param value The ARN of a tracking config objects that defines how to track the satellite through the sky during a contact.
     */
    @JvmName("goplatstmemvyvst")
    public suspend fun trackingConfigArn(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.trackingConfigArn = mapped
    }

    internal fun build(): MissionProfileArgs = MissionProfileArgs(
        contactPostPassDurationSeconds = contactPostPassDurationSeconds,
        contactPrePassDurationSeconds = contactPrePassDurationSeconds,
        dataflowEdges = dataflowEdges,
        minimumViableContactDurationSeconds = minimumViableContactDurationSeconds,
        name = name,
        streamsKmsKey = streamsKmsKey,
        streamsKmsRole = streamsKmsRole,
        tags = tags,
        trackingConfigArn = trackingConfigArn,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy