@Stability(value=Stable) @Internal public static final class ExternalServiceProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ExternalServiceProps
ExternalServicePropssoftware.amazon.jsii.JsiiObject.InitializationModeExternalServiceProps.Builder, ExternalServiceProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(ExternalServiceProps.Builder builder)
Constructor that initializes the object based on literal property values passed by the
ExternalServiceProps.Builder. |
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(Object o) |
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.
|
Number |
getDesiredCount()
The desired number of instantiations of the task definition to keep running on the service.
|
Boolean |
getEnableECSManagedTags()
Specifies whether to enable Amazon ECS managed tags for the tasks within the service.
|
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.
|
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.
|
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.
|
List<ISecurityGroup> |
getSecurityGroups()
The security groups to associate with the service.
|
String |
getServiceName()
The name of the service.
|
TaskDefinition |
getTaskDefinition()
The task definition to use for tasks in 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(ExternalServiceProps.Builder builder)
ExternalServiceProps.Builder.public final TaskDefinition getTaskDefinition()
ExternalServiceProps[disable-awslint:ref-via-interface]
getTaskDefinition in interface ExternalServicePropspublic final List<ISecurityGroup> getSecurityGroups()
ExternalServicePropsIf you do not specify a security group, a new security group is created.
Default: - A new security group is created.
getSecurityGroups in interface ExternalServicePropspublic 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 © 2022. All rights reserved.