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

com.pulumi.awsnative.imagebuilder.kotlin.outputs.ImagePipelineSchedule.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.imagebuilder.kotlin.outputs

import com.pulumi.awsnative.imagebuilder.kotlin.enums.ImagePipelineSchedulePipelineExecutionStartCondition
import kotlin.String
import kotlin.Suppress

/**
 * The schedule of the image pipeline.
 * @property pipelineExecutionStartCondition The condition configures when the pipeline should trigger a new image build.
 * @property scheduleExpression The expression determines how often EC2 Image Builder evaluates your pipelineExecutionStartCondition.
 */
public data class ImagePipelineSchedule(
    public val pipelineExecutionStartCondition: ImagePipelineSchedulePipelineExecutionStartCondition? =
        null,
    public val scheduleExpression: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.imagebuilder.outputs.ImagePipelineSchedule): ImagePipelineSchedule = ImagePipelineSchedule(
            pipelineExecutionStartCondition = javaType.pipelineExecutionStartCondition().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.imagebuilder.kotlin.enums.ImagePipelineSchedulePipelineExecutionStartCondition.Companion.toKotlin(args0)
                })
            }).orElse(null),
            scheduleExpression = javaType.scheduleExpression().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy