Class CapacityProviderStrategy.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.ecs.CapacityProviderStrategy.Jsii$Proxy
- All Implemented Interfaces:
CapacityProviderStrategy,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CapacityProviderStrategy
@Stability(Stable)
@Internal
public static final class CapacityProviderStrategy.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CapacityProviderStrategy
An implementation for
CapacityProviderStrategy-
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.CapacityProviderStrategy
CapacityProviderStrategy.Builder, CapacityProviderStrategy.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCapacityProviderStrategy.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 NumbergetBase()The base value designates how many tasks, at a minimum, to run on the specified capacity provider.final StringThe name of the capacity provider.final NumberThe weight value designates the relative percentage of the total number of tasks launched that should use the specified capacity provider.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 theCapacityProviderStrategy.Builder.
-
-
Method Details
-
getCapacityProvider
Description copied from interface:CapacityProviderStrategyThe name of the capacity provider.- Specified by:
getCapacityProviderin interfaceCapacityProviderStrategy
-
getBase
Description copied from interface:CapacityProviderStrategyThe base value designates how many tasks, at a minimum, to run on the specified capacity provider.Only one capacity provider in a capacity provider strategy can have a base defined. If no value is specified, the default value of 0 is used.
Default: - none
- Specified by:
getBasein interfaceCapacityProviderStrategy
-
getWeight
Description copied from interface:CapacityProviderStrategyThe weight value designates the relative percentage of the total number of tasks launched that should use the specified capacity provider.The weight value is taken into consideration after the base value, if defined, is satisfied.
Default: - 0
- Specified by:
getWeightin interfaceCapacityProviderStrategy
-
$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()
-