Class AwsEcsServiceDeploymentConfigurationDetails
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AwsEcsServiceDeploymentConfigurationDetails.Builder,AwsEcsServiceDeploymentConfigurationDetails>
Optional deployment parameters for the service.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Determines whether a service deployment fails if a service cannot reach a steady state.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final IntegerFor a service that uses the rolling update (ECS) deployment type, the maximum number of tasks in a service that are allowed in theRUNNINGorPENDINGstate during a deployment, and for tasks that use the EC2 launch type, when any container instances are in theDRAININGstate.final IntegerFor a service that uses the rolling update (ECS) deployment type, the minimum number of tasks in a service that must remain in theRUNNINGstate during a deployment, and while any container instances are in theDRAININGstate if the service contains tasks using the EC2 launch type.static Class<? extends AwsEcsServiceDeploymentConfigurationDetails.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
deploymentCircuitBreaker
public final AwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerDetails deploymentCircuitBreaker()Determines whether a service deployment fails if a service cannot reach a steady state.
- Returns:
- Determines whether a service deployment fails if a service cannot reach a steady state.
-
maximumPercent
For a service that uses the rolling update (
ECS) deployment type, the maximum number of tasks in a service that are allowed in theRUNNINGorPENDINGstate during a deployment, and for tasks that use the EC2 launch type, when any container instances are in theDRAININGstate. Provided as a percentage of the desired number of tasks. The default value is 200%.For a service that uses the blue/green (
CODE_DEPLOY) orEXTERNALdeployment types, and tasks that use the EC2 launch type, the maximum number of tasks in the service that remain in theRUNNINGstate while the container instances are in theDRAININGstate.For the Fargate launch type, the maximum percent value is not used.
- Returns:
- For a service that uses the rolling update (
ECS) deployment type, the maximum number of tasks in a service that are allowed in theRUNNINGorPENDINGstate during a deployment, and for tasks that use the EC2 launch type, when any container instances are in theDRAININGstate. Provided as a percentage of the desired number of tasks. The default value is 200%.For a service that uses the blue/green (
CODE_DEPLOY) orEXTERNALdeployment types, and tasks that use the EC2 launch type, the maximum number of tasks in the service that remain in theRUNNINGstate while the container instances are in theDRAININGstate.For the Fargate launch type, the maximum percent value is not used.
-
minimumHealthyPercent
For a service that uses the rolling update (
ECS) deployment type, the minimum number of tasks in a service that must remain in theRUNNINGstate during a deployment, and while any container instances are in theDRAININGstate if the service contains tasks using the EC2 launch type. Expressed as a percentage of the desired number of tasks. The default value is 100%.For a service that uses the blue/green (
CODE_DEPLOY) orEXTERNALdeployment types and tasks that use the EC2 launch type, the minimum number of the tasks in the service that remain in theRUNNINGstate while the container instances are in theDRAININGstate.For the Fargate launch type, the minimum healthy percent value is not used.
- Returns:
- For a service that uses the rolling update (
ECS) deployment type, the minimum number of tasks in a service that must remain in theRUNNINGstate during a deployment, and while any container instances are in theDRAININGstate if the service contains tasks using the EC2 launch type. Expressed as a percentage of the desired number of tasks. The default value is 100%.For a service that uses the blue/green (
CODE_DEPLOY) orEXTERNALdeployment types and tasks that use the EC2 launch type, the minimum number of the tasks in the service that remain in theRUNNINGstate while the container instances are in theDRAININGstate.For the Fargate launch type, the minimum healthy percent value is not used.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<AwsEcsServiceDeploymentConfigurationDetails.Builder,AwsEcsServiceDeploymentConfigurationDetails> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
public static Class<? extends AwsEcsServiceDeploymentConfigurationDetails.Builder> serializableBuilderClass() -
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-