Uses of Class
software.amazon.awscdk.services.ecs.FargateService.Builder
-
Uses of FargateService.Builder in software.amazon.awscdk.services.ecs
Modifier and TypeMethodDescriptionFargateService.Builder.assignPublicIp
(Boolean assignPublicIp) Specifies whether the task's elastic network interface receives a public IP address.FargateService.Builder.capacityProviderStrategies
(List<? extends CapacityProviderStrategy> capacityProviderStrategies) A list of Capacity Provider strategies used to place a service.FargateService.Builder.circuitBreaker
(DeploymentCircuitBreaker circuitBreaker) Whether to enable the deployment circuit breaker.FargateService.Builder.cloudMapOptions
(CloudMapOptions cloudMapOptions) The options for configuring an Amazon ECS service to use service discovery.The name of the cluster that hosts the service.static FargateService.Builder
FargateService.Builder.deploymentAlarms
(DeploymentAlarmConfig deploymentAlarms) The alarm(s) to monitor during deployment, and behavior to apply if at least one enters a state of alarm during the deployment or bake time.FargateService.Builder.deploymentController
(DeploymentController deploymentController) Specifies which deployment controller to use for the service.FargateService.Builder.desiredCount
(Number desiredCount) The desired number of instantiations of the task definition to keep running on the service.FargateService.Builder.enableEcsManagedTags
(Boolean enableEcsManagedTags) Specifies whether to enable Amazon ECS managed tags for the tasks within the service.FargateService.Builder.enableExecuteCommand
(Boolean enableExecuteCommand) Whether to enable the ability to execute into a container.FargateService.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.FargateService.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.FargateService.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.FargateService.Builder.platformVersion
(FargatePlatformVersion platformVersion) The platform version on which to run your service.FargateService.Builder.propagateTags
(PropagatedTagSource propagateTags) Specifies whether to propagate the tags from the task definition or the service to the tasks in the service.FargateService.Builder.securityGroups
(List<? extends ISecurityGroup> securityGroups) The security groups to associate with the service.FargateService.Builder.serviceConnectConfiguration
(ServiceConnectProps serviceConnectConfiguration) Configuration for Service Connect.FargateService.Builder.serviceName
(String serviceName) The name of the service.FargateService.Builder.taskDefinition
(TaskDefinition taskDefinition) The task definition to use for tasks in the service.FargateService.Builder.taskDefinitionRevision
(TaskDefinitionRevision taskDefinitionRevision) Revision number for the task definition orlatest
to use the latest active task revision.FargateService.Builder.volumeConfigurations
(List<? extends ServiceManagedVolume> volumeConfigurations) Configuration details for a volume used by the service.FargateService.Builder.vpcSubnets
(SubnetSelection vpcSubnets) The subnets to associate with the service.