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