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