Interface CfnService.ForceNewDeploymentProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnService.ForceNewDeploymentProperty.Jsii$Proxy
Enclosing class:
CfnService

@Stability(Stable) public static interface CfnService.ForceNewDeploymentProperty extends software.amazon.jsii.JsiiSerializable
Determines whether to force a new deployment of the service.

By default, deployments aren't forced. You can use this option to start a new deployment with no service definition changes. For example, you can update a service's tasks to use a newer Docker image with the same image/tag combination ( my_image:latest ) or to roll Fargate tasks onto a newer platform version.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.ecs.*;
 ForceNewDeploymentProperty forceNewDeploymentProperty = ForceNewDeploymentProperty.builder()
         .enableForceNewDeployment(false)
         // the properties below are optional
         .forceNewDeploymentNonce("forceNewDeploymentNonce")
         .build();
 

See Also: