@Stability(value=Experimental) @Internal public static final class BaseServiceProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements BaseServiceProps
BaseServicePropssoftware.amazon.jsii.JsiiObject.InitializationModeBaseServiceProps.Builder, BaseServiceProps.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.
|
protected |
Jsii$Proxy(LaunchType launchType,
ICluster cluster,
List<? extends CapacityProviderStrategy> capacityProviderStrategies,
DeploymentCircuitBreaker circuitBreaker,
CloudMapOptions cloudMapOptions,
DeploymentController deploymentController,
Number desiredCount,
Boolean enableEcsManagedTags,
Boolean enableExecuteCommand,
Duration healthCheckGracePeriod,
Number maxHealthyPercent,
Number minHealthyPercent,
PropagatedTagSource propagateTags,
String serviceName)
Constructor that initializes the object based on literal property values passed by the
BaseServiceProps.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
List<CapacityProviderStrategy> |
getCapacityProviderStrategies()
(experimental) A list of Capacity Provider strategies used to place a service.
|
DeploymentCircuitBreaker |
getCircuitBreaker()
(experimental) Whether to enable the deployment circuit breaker.
|
CloudMapOptions |
getCloudMapOptions()
(experimental) The options for configuring an Amazon ECS service to use service discovery.
|
ICluster |
getCluster()
(experimental) The name of the cluster that hosts the service.
|
DeploymentController |
getDeploymentController()
(experimental) Specifies which deployment controller to use for the service.
|
Number |
getDesiredCount()
(experimental) The desired number of instantiations of the task definition to keep running on the service.
|
Boolean |
getEnableECSManagedTags()
(experimental) Specifies whether to enable Amazon ECS managed tags for the tasks within the service.
|
Boolean |
getEnableExecuteCommand()
(experimental) Whether to enable the ability to execute into a container.
|
Duration |
getHealthCheckGracePeriod()
(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.
|
LaunchType |
getLaunchType()
(experimental) The launch type on which to run your service.
|
Number |
getMaxHealthyPercent()
(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.
|
Number |
getMinHealthyPercent()
(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.
|
PropagatedTagSource |
getPropagateTags()
(experimental) Specifies whether to propagate the tags from the task definition or the service to the tasks in the service.
|
String |
getServiceName()
(experimental) The name of the service.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(LaunchType launchType, ICluster cluster, List<? extends CapacityProviderStrategy> capacityProviderStrategies, DeploymentCircuitBreaker circuitBreaker, CloudMapOptions cloudMapOptions, DeploymentController deploymentController, Number desiredCount, Boolean enableEcsManagedTags, Boolean enableExecuteCommand, Duration healthCheckGracePeriod, Number maxHealthyPercent, Number minHealthyPercent, PropagatedTagSource propagateTags, String serviceName)
BaseServiceProps.Builder.public final LaunchType getLaunchType()
BaseServicePropsLaunchType will be omitted if capacity provider strategies are specified on the service.
getLaunchType in interface BaseServicePropshttps://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html#cfn-ecs-service-capacityproviderstrategy
Valid values are: LaunchType.ECS or LaunchType.FARGATE or LaunchType.EXTERNALpublic final ICluster getCluster()
BaseServiceOptionsgetCluster in interface BaseServiceOptionspublic final List<CapacityProviderStrategy> getCapacityProviderStrategies()
BaseServiceOptionsDefault: - undefined
getCapacityProviderStrategies in interface BaseServiceOptionspublic final DeploymentCircuitBreaker getCircuitBreaker()
BaseServiceOptionsIf this property is defined, circuit breaker will be implicitly enabled.
Default: - disabled
getCircuitBreaker in interface BaseServiceOptionspublic final CloudMapOptions getCloudMapOptions()
BaseServiceOptionsDefault: - AWS Cloud Map service discovery is not enabled.
getCloudMapOptions in interface BaseServiceOptionspublic final DeploymentController getDeploymentController()
BaseServiceOptionsFor more information, see Amazon ECS Deployment Types
Default: - Rolling update (ECS)
getDeploymentController in interface BaseServiceOptionspublic final Number getDesiredCount()
BaseServiceOptionsDefault: - When creating the service, default is 1; when updating the service, default uses the current task number.
getDesiredCount in interface BaseServiceOptionspublic final Boolean getEnableECSManagedTags()
BaseServiceOptionsFor more information, see Tagging Your Amazon ECS Resources
Default: false
getEnableECSManagedTags in interface BaseServiceOptionspublic final Boolean getEnableExecuteCommand()
BaseServiceOptionsDefault: - undefined
getEnableExecuteCommand in interface BaseServiceOptionspublic final Duration getHealthCheckGracePeriod()
BaseServiceOptionsDefault: - defaults to 60 seconds if at least one load balancer is in-use and it is not already set
getHealthCheckGracePeriod in interface BaseServiceOptionspublic final Number getMaxHealthyPercent()
BaseServiceOptionsDefault: - 100 if daemon, otherwise 200
getMaxHealthyPercent in interface BaseServiceOptionspublic final Number getMinHealthyPercent()
BaseServiceOptionsDefault: - 0 if daemon, otherwise 50
getMinHealthyPercent in interface BaseServiceOptionspublic final PropagatedTagSource getPropagateTags()
BaseServiceOptionsValid values are: PropagatedTagSource.SERVICE, PropagatedTagSource.TASK_DEFINITION or PropagatedTagSource.NONE
Default: PropagatedTagSource.NONE
getPropagateTags in interface BaseServiceOptionspublic final String getServiceName()
BaseServiceOptionsDefault: - CloudFormation-generated name.
getServiceName in interface BaseServiceOptions@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.