@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-22T19:35:49.633Z") public enum DeploymentControllerType extends java.lang.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(java.lang.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.
|
public static final DeploymentControllerType ECS
public static final DeploymentControllerType CODE_DEPLOY
public static final DeploymentControllerType EXTERNAL
public static DeploymentControllerType[] values()
for (DeploymentControllerType c : DeploymentControllerType.values()) System.out.println(c);
public static DeploymentControllerType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null