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.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.ecs.CapacityProviderStrategy
CapacityProviderStrategy.Builder, CapacityProviderStrategy.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCapacityProviderStrategy.Builder
.protected
Jsii$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.JsonNode
final boolean
final Number
getBase()
The base value designates how many tasks, at a minimum, to run on the specified capacity provider.final String
The name of the capacity provider.final Number
The weight value designates the relative percentage of the total number of tasks launched that should use the specified capacity provider.final int
hashCode()
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:CapacityProviderStrategy
The name of the capacity provider.- Specified by:
getCapacityProvider
in interfaceCapacityProviderStrategy
-
getBase
Description copied from interface:CapacityProviderStrategy
The 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:
getBase
in interfaceCapacityProviderStrategy
-
getWeight
Description copied from interface:CapacityProviderStrategy
The 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:
getWeight
in interfaceCapacityProviderStrategy
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-