@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:38.690Z") @Stability(value=Stable) public enum DeploymentControllerType extends Enum<DeploymentControllerType>
Example:
Cluster cluster;
ApplicationLoadBalancedFargateService loadBalancedFargateService = ApplicationLoadBalancedFargateService.Builder.create(this, "Service")
.cluster(cluster)
.memoryLimitMiB(1024)
.desiredCount(1)
.cpu(512)
.taskImageOptions(ApplicationLoadBalancedTaskImageOptions.builder()
.image(ContainerImage.fromRegistry("amazon/amazon-ecs-sample"))
.build())
.deploymentController(DeploymentController.builder()
.type(DeploymentControllerType.CODE_DEPLOY)
.build())
.build();
| Enum Constant and Description |
|---|
CODE_DEPLOY
The blue/green (CODE_DEPLOY) deployment type uses the blue/green deployment model powered by AWS CodeDeploy.
|
ECS
The rolling update (ECS) deployment type involves replacing the current running version of the container with the latest version.
|
EXTERNAL
The external (EXTERNAL) deployment type enables you to use any third-party deployment controller.
|
| Modifier and Type | Method and Description |
|---|---|
static DeploymentControllerType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DeploymentControllerType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Stability(value=Stable) public static final DeploymentControllerType ECS
@Stability(value=Stable) public static final DeploymentControllerType CODE_DEPLOY
@Stability(value=Stable) public static final DeploymentControllerType EXTERNAL
public static DeploymentControllerType[] values()
for (DeploymentControllerType c : DeploymentControllerType.values()) System.out.println(c);
public static DeploymentControllerType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2022. All rights reserved.