| Package | Description |
|---|---|
| software.amazon.awscdk.services.ecs |
Amazon ECS Construct Library
|
| Modifier and Type | Method and Description |
|---|---|
ExternalService.Builder |
ExternalService.Builder.capacityProviderStrategies(List<? extends CapacityProviderStrategy> capacityProviderStrategies)
A list of Capacity Provider strategies used to place a service.
|
ExternalService.Builder |
ExternalService.Builder.circuitBreaker(DeploymentCircuitBreaker circuitBreaker)
Whether to enable the deployment circuit breaker.
|
ExternalService.Builder |
ExternalService.Builder.cloudMapOptions(CloudMapOptions cloudMapOptions)
The options for configuring an Amazon ECS service to use service discovery.
|
ExternalService.Builder |
ExternalService.Builder.cluster(ICluster cluster)
The name of the cluster that hosts the service.
|
static ExternalService.Builder |
ExternalService.Builder.create(software.constructs.Construct scope,
String id) |
ExternalService.Builder |
ExternalService.Builder.deploymentController(DeploymentController deploymentController)
Specifies which deployment controller to use for the service.
|
ExternalService.Builder |
ExternalService.Builder.desiredCount(Number desiredCount)
The desired number of instantiations of the task definition to keep running on the service.
|
ExternalService.Builder |
ExternalService.Builder.enableEcsManagedTags(Boolean enableEcsManagedTags)
Specifies whether to enable Amazon ECS managed tags for the tasks within the service.
|
ExternalService.Builder |
ExternalService.Builder.enableExecuteCommand(Boolean enableExecuteCommand)
Whether to enable the ability to execute into a container.
|
ExternalService.Builder |
ExternalService.Builder.healthCheckGracePeriod(Duration healthCheckGracePeriod)
The period of time, in seconds, that the Amazon ECS service scheduler ignores unhealthy Elastic Load Balancing target health checks after a task has first started.
|
ExternalService.Builder |
ExternalService.Builder.maxHealthyPercent(Number maxHealthyPercent)
The maximum number of tasks, specified as a percentage of the Amazon ECS service's DesiredCount value, that can run in a service during a deployment.
|
ExternalService.Builder |
ExternalService.Builder.minHealthyPercent(Number minHealthyPercent)
The minimum number of tasks, specified as a percentage of the Amazon ECS service's DesiredCount value, that must continue to run and remain healthy during a deployment.
|
ExternalService.Builder |
ExternalService.Builder.propagateTags(PropagatedTagSource propagateTags)
Specifies whether to propagate the tags from the task definition or the service to the tasks in the service.
|
ExternalService.Builder |
ExternalService.Builder.securityGroups(List<? extends ISecurityGroup> securityGroups)
The security groups to associate with the service.
|
ExternalService.Builder |
ExternalService.Builder.serviceName(String serviceName)
The name of the service.
|
ExternalService.Builder |
ExternalService.Builder.taskDefinition(TaskDefinition taskDefinition)
The task definition to use for tasks in the service.
|
Copyright © 2022. All rights reserved.