Class BaseServiceOptions.Jsii$Proxy
- All Implemented Interfaces:
BaseServiceOptions,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- BaseServiceOptions
BaseServiceOptions-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.ecs.BaseServiceOptions
BaseServiceOptions.Builder, BaseServiceOptions.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(BaseServiceOptions.Builder builder) Constructor that initializes the object based on literal property values passed by theBaseServiceOptions.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal List<CapacityProviderStrategy>A list of Capacity Provider strategies used to place a service.final DeploymentCircuitBreakerWhether to enable the deployment circuit breaker.final CloudMapOptionsThe options for configuring an Amazon ECS service to use service discovery.final IClusterThe name of the cluster that hosts the service.final DeploymentControllerSpecifies which deployment controller to use for the service.final NumberThe desired number of instantiations of the task definition to keep running on the service.final BooleanSpecifies whether to enable Amazon ECS managed tags for the tasks within the service.final BooleanWhether to enable the ability to execute into a container.final DurationThe 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.final NumberThe 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.final NumberThe 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.final PropagatedTagSourceSpecifies whether to propagate the tags from the task definition or the service to the tasks in the service.final PropagatedTagSource(deprecated) Specifies whether to propagate the tags from the task definition or the service to the tasks in the service.final StringThe name of the service.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theBaseServiceOptions.Builder.
-
-
Method Details
-
getCluster
Description copied from interface:BaseServiceOptionsThe name of the cluster that hosts the service.- Specified by:
getClusterin interfaceBaseServiceOptions
-
getCapacityProviderStrategies
Description copied from interface:BaseServiceOptionsA list of Capacity Provider strategies used to place a service.Default: - undefined
- Specified by:
getCapacityProviderStrategiesin interfaceBaseServiceOptions
-
getCircuitBreaker
Description copied from interface:BaseServiceOptionsWhether to enable the deployment circuit breaker.If this property is defined, circuit breaker will be implicitly enabled.
Default: - disabled
- Specified by:
getCircuitBreakerin interfaceBaseServiceOptions
-
getCloudMapOptions
Description copied from interface:BaseServiceOptionsThe options for configuring an Amazon ECS service to use service discovery.Default: - AWS Cloud Map service discovery is not enabled.
- Specified by:
getCloudMapOptionsin interfaceBaseServiceOptions
-
getDeploymentController
Description copied from interface:BaseServiceOptionsSpecifies which deployment controller to use for the service.For more information, see Amazon ECS Deployment Types
Default: - Rolling update (ECS)
- Specified by:
getDeploymentControllerin interfaceBaseServiceOptions
-
getDesiredCount
Description copied from interface:BaseServiceOptionsThe desired number of instantiations of the task definition to keep running on the service.Default: - When creating the service, default is 1; when updating the service, default uses the current task number.
- Specified by:
getDesiredCountin interfaceBaseServiceOptions
-
getEnableECSManagedTags
Description copied from interface:BaseServiceOptionsSpecifies whether to enable Amazon ECS managed tags for the tasks within the service.For more information, see Tagging Your Amazon ECS Resources
Default: false
- Specified by:
getEnableECSManagedTagsin interfaceBaseServiceOptions
-
getEnableExecuteCommand
Description copied from interface:BaseServiceOptionsWhether to enable the ability to execute into a container.Default: - undefined
- Specified by:
getEnableExecuteCommandin interfaceBaseServiceOptions
-
getHealthCheckGracePeriod
Description copied from interface:BaseServiceOptionsThe 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.Default: - defaults to 60 seconds if at least one load balancer is in-use and it is not already set
- Specified by:
getHealthCheckGracePeriodin interfaceBaseServiceOptions
-
getMaxHealthyPercent
Description copied from interface:BaseServiceOptionsThe 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.Default: - 100 if daemon, otherwise 200
- Specified by:
getMaxHealthyPercentin interfaceBaseServiceOptions
-
getMinHealthyPercent
Description copied from interface:BaseServiceOptionsThe 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.Default: - 0 if daemon, otherwise 50
- Specified by:
getMinHealthyPercentin interfaceBaseServiceOptions
-
getPropagateTags
Description copied from interface:BaseServiceOptionsSpecifies whether to propagate the tags from the task definition or the service to the tasks in the service.Valid values are: PropagatedTagSource.SERVICE, PropagatedTagSource.TASK_DEFINITION or PropagatedTagSource.NONE
Default: PropagatedTagSource.NONE
- Specified by:
getPropagateTagsin interfaceBaseServiceOptions
-
getPropagateTaskTagsFrom
Description copied from interface:BaseServiceOptions(deprecated) Specifies whether to propagate the tags from the task definition or the service to the tasks in the service.Tags can only be propagated to the tasks within the service during service creation.
Default: PropagatedTagSource.NONE
- Specified by:
getPropagateTaskTagsFromin interfaceBaseServiceOptions
-
getServiceName
Description copied from interface:BaseServiceOptionsThe name of the service.Default: - CloudFormation-generated name.
- Specified by:
getServiceNamein interfaceBaseServiceOptions
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-