com.pulumi.aws.codedeploy.outputs.DeploymentGroupBlueGreenDeploymentConfigGreenFleetProvisioningOption Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
The newest version!
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.aws.codedeploy.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class DeploymentGroupBlueGreenDeploymentConfigGreenFleetProvisioningOption {
/**
* @return The method used to add instances to a replacement environment.
* * `DISCOVER_EXISTING`: Use instances that already exist or will be created manually.
* * `COPY_AUTO_SCALING_GROUP`: Use settings from a specified **Auto Scaling** group to define and create instances in a new Auto Scaling group. _Exactly one Auto Scaling group must be specified_ when selecting `COPY_AUTO_SCALING_GROUP`. Use `autoscaling_groups` to specify the Auto Scaling group.
*
*/
private @Nullable String action;
private DeploymentGroupBlueGreenDeploymentConfigGreenFleetProvisioningOption() {}
/**
* @return The method used to add instances to a replacement environment.
* * `DISCOVER_EXISTING`: Use instances that already exist or will be created manually.
* * `COPY_AUTO_SCALING_GROUP`: Use settings from a specified **Auto Scaling** group to define and create instances in a new Auto Scaling group. _Exactly one Auto Scaling group must be specified_ when selecting `COPY_AUTO_SCALING_GROUP`. Use `autoscaling_groups` to specify the Auto Scaling group.
*
*/
public Optional action() {
return Optional.ofNullable(this.action);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(DeploymentGroupBlueGreenDeploymentConfigGreenFleetProvisioningOption defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String action;
public Builder() {}
public Builder(DeploymentGroupBlueGreenDeploymentConfigGreenFleetProvisioningOption defaults) {
Objects.requireNonNull(defaults);
this.action = defaults.action;
}
@CustomType.Setter
public Builder action(@Nullable String action) {
this.action = action;
return this;
}
public DeploymentGroupBlueGreenDeploymentConfigGreenFleetProvisioningOption build() {
final var _resultValue = new DeploymentGroupBlueGreenDeploymentConfigGreenFleetProvisioningOption();
_resultValue.action = action;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy