Class CfnPipe.EcsContainerOverrideProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnPipe.EcsContainerOverrideProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnPipe.EcsContainerOverrideProperty
CfnPipe.EcsContainerOverrideProperty-
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.pipes.CfnPipe.EcsContainerOverrideProperty
CfnPipe.EcsContainerOverrideProperty.Builder, CfnPipe.EcsContainerOverrideProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnPipe.EcsContainerOverrideProperty.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 booleanThe command to send to the container that overrides the default command from the Docker image or the task definition.final NumbergetCpu()The number ofcpuunits reserved for the container, instead of the default value from the task definition.final ObjectThe environment variables to send to the container.final ObjectA list of files containing the environment variables to pass to a container, instead of the value from the container definition.final NumberThe hard limit (in MiB) of memory to present to the container, instead of the default value from the task definition.final NumberThe soft limit (in MiB) of memory to reserve for the container, instead of the default value from the task definition.final StringgetName()The name of the container that receives the override.final ObjectThe type and amount of a resource to assign to a container, instead of the default value from the task definition.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 theCfnPipe.EcsContainerOverrideProperty.Builder.
-
-
Method Details
-
getCommand
Description copied from interface:CfnPipe.EcsContainerOverridePropertyThe command to send to the container that overrides the default command from the Docker image or the task definition.You must also specify a container name.
- Specified by:
getCommandin interfaceCfnPipe.EcsContainerOverrideProperty- See Also:
-
getCpu
Description copied from interface:CfnPipe.EcsContainerOverridePropertyThe number ofcpuunits reserved for the container, instead of the default value from the task definition.You must also specify a container name.
- Specified by:
getCpuin interfaceCfnPipe.EcsContainerOverrideProperty- See Also:
-
getEnvironment
Description copied from interface:CfnPipe.EcsContainerOverridePropertyThe environment variables to send to the container.You can add new environment variables, which are added to the container at launch, or you can override the existing environment variables from the Docker image or the task definition. You must also specify a container name.
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnPipe.EcsEnvironmentVariableProperty>- Specified by:
getEnvironmentin interfaceCfnPipe.EcsContainerOverrideProperty- See Also:
-
getEnvironmentFiles
Description copied from interface:CfnPipe.EcsContainerOverridePropertyA list of files containing the environment variables to pass to a container, instead of the value from the container definition.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnPipe.EcsEnvironmentFileProperty>- Specified by:
getEnvironmentFilesin interfaceCfnPipe.EcsContainerOverrideProperty- See Also:
-
getMemory
Description copied from interface:CfnPipe.EcsContainerOverridePropertyThe hard limit (in MiB) of memory to present to the container, instead of the default value from the task definition.If your container attempts to exceed the memory specified here, the container is killed. You must also specify a container name.
- Specified by:
getMemoryin interfaceCfnPipe.EcsContainerOverrideProperty- See Also:
-
getMemoryReservation
Description copied from interface:CfnPipe.EcsContainerOverridePropertyThe soft limit (in MiB) of memory to reserve for the container, instead of the default value from the task definition.You must also specify a container name.
- Specified by:
getMemoryReservationin interfaceCfnPipe.EcsContainerOverrideProperty- See Also:
-
getName
Description copied from interface:CfnPipe.EcsContainerOverridePropertyThe name of the container that receives the override.This parameter is required if any override is specified.
- Specified by:
getNamein interfaceCfnPipe.EcsContainerOverrideProperty- See Also:
-
getResourceRequirements
Description copied from interface:CfnPipe.EcsContainerOverridePropertyThe type and amount of a resource to assign to a container, instead of the default value from the task definition.The only supported resource is a GPU.
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnPipe.EcsResourceRequirementProperty>- Specified by:
getResourceRequirementsin interfaceCfnPipe.EcsContainerOverrideProperty- See Also:
-
$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()
-