public static final class BaseServiceOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements BaseServiceOptions
BaseServiceOptions
BaseServiceOptions.Builder, BaseServiceOptions.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(java.lang.Object o) |
java.util.List<CapacityProviderStrategy> |
getCapacityProviderStrategies()
A list of Capacity Provider strategies used to place a service.
|
DeploymentCircuitBreaker |
getCircuitBreaker()
Whether to enable the deployment circuit breaker.
|
CloudMapOptions |
getCloudMapOptions()
The options for configuring an Amazon ECS service to use service discovery.
|
ICluster |
getCluster()
The name of the cluster that hosts the service.
|
DeploymentController |
getDeploymentController()
Specifies which deployment controller to use for the service.
|
java.lang.Number |
getDesiredCount()
The desired number of instantiations of the task definition to keep running on the service.
|
java.lang.Boolean |
getEnableECSManagedTags()
Specifies whether to enable Amazon ECS managed tags for the tasks within the service.
|
java.lang.Boolean |
getEnableExecuteCommand()
Whether to enable the ability to execute into a container.
|
Duration |
getHealthCheckGracePeriod()
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.
|
java.lang.Number |
getMaxHealthyPercent()
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.
|
java.lang.Number |
getMinHealthyPercent()
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.
|
PropagatedTagSource |
getPropagateTags()
Specifies whether to propagate the tags from the task definition or the service to the tasks in the service.
|
PropagatedTagSource |
getPropagateTaskTagsFrom()
(deprecated) Specifies whether to propagate the tags from the task definition or the service to the tasks in the service.
|
java.lang.String |
getServiceName()
The name of the service.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final ICluster getCluster()
BaseServiceOptions
getCluster
in interface BaseServiceOptions
public final java.util.List<CapacityProviderStrategy> getCapacityProviderStrategies()
BaseServiceOptions
Default: - undefined
getCapacityProviderStrategies
in interface BaseServiceOptions
public final DeploymentCircuitBreaker getCircuitBreaker()
BaseServiceOptions
If this property is defined, circuit breaker will be implicitly enabled.
Default: - disabled
getCircuitBreaker
in interface BaseServiceOptions
public final CloudMapOptions getCloudMapOptions()
BaseServiceOptions
Default: - AWS Cloud Map service discovery is not enabled.
getCloudMapOptions
in interface BaseServiceOptions
public final DeploymentController getDeploymentController()
BaseServiceOptions
For more information, see Amazon ECS Deployment Types
Default: - Rolling update (ECS)
getDeploymentController
in interface BaseServiceOptions
public final java.lang.Number getDesiredCount()
BaseServiceOptions
Default: - When creating the service, default is 1; when updating the service, default uses the current task number.
getDesiredCount
in interface BaseServiceOptions
public final java.lang.Boolean getEnableECSManagedTags()
BaseServiceOptions
For more information, see Tagging Your Amazon ECS Resources
Default: false
getEnableECSManagedTags
in interface BaseServiceOptions
public final java.lang.Boolean getEnableExecuteCommand()
BaseServiceOptions
Default: - undefined
getEnableExecuteCommand
in interface BaseServiceOptions
public final Duration getHealthCheckGracePeriod()
BaseServiceOptions
Default: - defaults to 60 seconds if at least one load balancer is in-use and it is not already set
getHealthCheckGracePeriod
in interface BaseServiceOptions
public final java.lang.Number getMaxHealthyPercent()
BaseServiceOptions
Default: - 100 if daemon, otherwise 200
getMaxHealthyPercent
in interface BaseServiceOptions
public final java.lang.Number getMinHealthyPercent()
BaseServiceOptions
Default: - 0 if daemon, otherwise 50
getMinHealthyPercent
in interface BaseServiceOptions
public final PropagatedTagSource getPropagateTags()
BaseServiceOptions
Valid values are: PropagatedTagSource.SERVICE, PropagatedTagSource.TASK_DEFINITION or PropagatedTagSource.NONE
Default: PropagatedTagSource.NONE
getPropagateTags
in interface BaseServiceOptions
public final PropagatedTagSource getPropagateTaskTagsFrom()
BaseServiceOptions
Tags can only be propagated to the tasks within the service during service creation.
Default: PropagatedTagSource.NONE
getPropagateTaskTagsFrom
in interface BaseServiceOptions
public final java.lang.String getServiceName()
BaseServiceOptions
Default: - CloudFormation-generated name.
getServiceName
in interface BaseServiceOptions
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()