
com.pulumi.awsnative.greengrassv2.kotlin.enums.DeploymentComponentUpdatePolicyAction.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.greengrassv2.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* Whether or not to notify components and wait for components to become safe to update. Choose from the following options:
* - `NOTIFY_COMPONENTS` – The deployment notifies each component before it stops and updates that component. Components can use the [SubscribeToComponentUpdates](https://docs.aws.amazon.com/greengrass/v2/developerguide/interprocess-communication.html#ipc-operation-subscribetocomponentupdates) IPC operation to receive these notifications. Then, components can respond with the [DeferComponentUpdate](https://docs.aws.amazon.com/greengrass/v2/developerguide/interprocess-communication.html#ipc-operation-defercomponentupdate) IPC operation. For more information, see the [Create deployments](https://docs.aws.amazon.com/greengrass/v2/developerguide/create-deployments.html) in the *AWS IoT Greengrass V2 Developer Guide* .
* - `SKIP_NOTIFY_COMPONENTS` – The deployment doesn't notify components or wait for them to be safe to update.
* Default: `NOTIFY_COMPONENTS`
*/
public enum class DeploymentComponentUpdatePolicyAction(
public val javaValue: com.pulumi.awsnative.greengrassv2.enums.DeploymentComponentUpdatePolicyAction,
) : ConvertibleToJava {
NotifyComponents(com.pulumi.awsnative.greengrassv2.enums.DeploymentComponentUpdatePolicyAction.NotifyComponents),
SkipNotifyComponents(com.pulumi.awsnative.greengrassv2.enums.DeploymentComponentUpdatePolicyAction.SkipNotifyComponents),
;
override fun toJava(): com.pulumi.awsnative.greengrassv2.enums.DeploymentComponentUpdatePolicyAction = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.greengrassv2.enums.DeploymentComponentUpdatePolicyAction): DeploymentComponentUpdatePolicyAction =
DeploymentComponentUpdatePolicyAction.values().first { it.javaValue == javaType }
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy