EcsDeploymentSet

class EcsDeploymentSet : KotlinCustomResource

Provides a ECS Deployment Set resource. For information about ECS Deployment Set and how to use it, see What is Deployment Set.

NOTE: Available in v1.140.0+.

Example Usage

Basic Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.ecs.EcsDeploymentSet;
import com.pulumi.alicloud.ecs.EcsDeploymentSetArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var default_ = new EcsDeploymentSet("default", EcsDeploymentSetArgs.builder()
.deploymentSetName("example_value")
.description("example_value")
.domain("Default")
.granularity("Host")
.strategy("Availability")
.build());
}
}

Import

ECS Deployment Set can be imported using the id, e.g.

$ pulumi import alicloud:ecs/ecsDeploymentSet:EcsDeploymentSet example <id>

Properties

Link copied to clipboard

The name of the deployment set. The name must be 2 to 128 characters in length and can contain letters, digits, colons (:), underscores (_), and hyphens (-). It must start with a letter and cannot start with http:// or https://.

Link copied to clipboard
val description: Output<String>?

The description of the deployment set. The description must be 2 to 256 characters in length and cannot start with http:// or https://.

Link copied to clipboard
val domain: Output<String>?

The deployment domain. Valid values: Default.

Link copied to clipboard
val granularity: Output<String>?

The deployment granularity. Valid values: Host.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard

The on unable to redeploy failed instance. Valid values: CancelMembershipAndStart, KeepStopped.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val strategy: Output<String>?

The deployment strategy. Valid values: Availability.

Link copied to clipboard
val urn: Output<String>