| Package | Description |
|---|---|
| software.amazon.awscdk.services.ecs |
Amazon ECS Construct Library
|
| Modifier and Type | Method and Description |
|---|---|
Ec2Service.Builder |
Ec2Service.Builder.assignPublicIp(Boolean assignPublicIp)
(experimental) Specifies whether the task's elastic network interface receives a public IP address.
|
Ec2Service.Builder |
Ec2Service.Builder.capacityProviderStrategies(List<? extends CapacityProviderStrategy> capacityProviderStrategies)
(experimental) A list of Capacity Provider strategies used to place a service.
|
Ec2Service.Builder |
Ec2Service.Builder.circuitBreaker(DeploymentCircuitBreaker circuitBreaker)
(experimental) Whether to enable the deployment circuit breaker.
|
Ec2Service.Builder |
Ec2Service.Builder.cloudMapOptions(CloudMapOptions cloudMapOptions)
(experimental) The options for configuring an Amazon ECS service to use service discovery.
|
Ec2Service.Builder |
Ec2Service.Builder.cluster(ICluster cluster)
(experimental) The name of the cluster that hosts the service.
|
static Ec2Service.Builder |
Ec2Service.Builder.create(software.constructs.Construct scope,
String id) |
Ec2Service.Builder |
Ec2Service.Builder.daemon(Boolean daemon)
(experimental) Specifies whether the service will use the daemon scheduling strategy.
|
Ec2Service.Builder |
Ec2Service.Builder.deploymentController(DeploymentController deploymentController)
(experimental) Specifies which deployment controller to use for the service.
|
Ec2Service.Builder |
Ec2Service.Builder.desiredCount(Number desiredCount)
(experimental) The desired number of instantiations of the task definition to keep running on the service.
|
Ec2Service.Builder |
Ec2Service.Builder.enableEcsManagedTags(Boolean enableEcsManagedTags)
(experimental) Specifies whether to enable Amazon ECS managed tags for the tasks within the service.
|
Ec2Service.Builder |
Ec2Service.Builder.healthCheckGracePeriod(Duration healthCheckGracePeriod)
(experimental) 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.
|
Ec2Service.Builder |
Ec2Service.Builder.maxHealthyPercent(Number maxHealthyPercent)
(experimental) 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.
|
Ec2Service.Builder |
Ec2Service.Builder.minHealthyPercent(Number minHealthyPercent)
(experimental) 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.
|
Ec2Service.Builder |
Ec2Service.Builder.placementConstraints(List<? extends PlacementConstraint> placementConstraints)
(experimental) The placement constraints to use for tasks in the service.
|
Ec2Service.Builder |
Ec2Service.Builder.placementStrategies(List<? extends PlacementStrategy> placementStrategies)
(experimental) The placement strategies to use for tasks in the service.
|
Ec2Service.Builder |
Ec2Service.Builder.propagateTags(PropagatedTagSource propagateTags)
(experimental) Specifies whether to propagate the tags from the task definition or the service to the tasks in the service.
|
Ec2Service.Builder |
Ec2Service.Builder.securityGroups(List<? extends ISecurityGroup> securityGroups)
(experimental) The security groups to associate with the service.
|
Ec2Service.Builder |
Ec2Service.Builder.serviceName(String serviceName)
(experimental) The name of the service.
|
Ec2Service.Builder |
Ec2Service.Builder.taskDefinition(TaskDefinition taskDefinition)
(experimental) The task definition to use for tasks in the service.
|
Ec2Service.Builder |
Ec2Service.Builder.vpcSubnets(SubnetSelection vpcSubnets)
(experimental) The subnets to associate with the service.
|
Copyright © 2021. All rights reserved.