Class CfnDaemonTaskDefinition.LinuxParametersProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnDaemonTaskDefinition.LinuxParametersProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnDaemonTaskDefinition.LinuxParametersProperty
CfnDaemonTaskDefinition.LinuxParametersProperty-
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.CfnDaemonTaskDefinition.LinuxParametersProperty
CfnDaemonTaskDefinition.LinuxParametersProperty.Builder, CfnDaemonTaskDefinition.LinuxParametersProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnDaemonTaskDefinition.LinuxParametersProperty.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 ObjectThe Linux capabilities to add or remove from the default Docker configuration for a container defined in the task definition.final ObjectAny host devices to expose to the container.final ObjectRun aninitprocess inside the container that forwards signals and reaps processes.final ObjectgetTmpfs()The container path, mount options, and size (in MiB) of the tmpfs mount.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 theCfnDaemonTaskDefinition.LinuxParametersProperty.Builder.
-
-
Method Details
-
getCapabilities
Description copied from interface:CfnDaemonTaskDefinition.LinuxParametersPropertyThe Linux capabilities to add or remove from the default Docker configuration for a container defined in the task definition.For more detailed information about these Linux capabilities, see the capabilities(7) Linux manual page. The following describes how Docker processes the Linux capabilities specified in the
addanddroprequest parameters. For information about the latest behavior, see Docker Compose: order of cap_drop and cap_add in the Docker Community Forum.- When the container is a privleged container, the container capabilities are all of the default Docker capabilities. The capabilities specified in the
addrequest parameter, and thedroprequest parameter are ignored. - When the
addrequest parameter is set to ALL, the container capabilities are all of the default Docker capabilities, excluding those specified in thedroprequest parameter. - When the
droprequest parameter is set to ALL, the container capabilities are the capabilities specified in theaddrequest parameter. - When the
addrequest parameter and thedroprequest parameter are both empty, the capabilities the container capabilities are all of the default Docker capabilities. - The default is to first drop the capabilities specified in the
droprequest parameter, and then add the capabilities specified in theaddrequest parameter.
Returns union: either
IResolvableorCfnDaemonTaskDefinition.KernelCapabilitiesProperty- Specified by:
getCapabilitiesin interfaceCfnDaemonTaskDefinition.LinuxParametersProperty- See Also:
- When the container is a privleged container, the container capabilities are all of the default Docker capabilities. The capabilities specified in the
-
getDevices
Description copied from interface:CfnDaemonTaskDefinition.LinuxParametersPropertyAny host devices to expose to the container.This parameter maps to
Devicesin the docker container create command and the--deviceoption to docker run. If you're using tasks that use the Fargate launch type, thedevicesparameter isn't supported.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnDaemonTaskDefinition.DeviceProperty>- Specified by:
getDevicesin interfaceCfnDaemonTaskDefinition.LinuxParametersProperty- See Also:
-
getInitProcessEnabled
Description copied from interface:CfnDaemonTaskDefinition.LinuxParametersPropertyRun aninitprocess inside the container that forwards signals and reaps processes.This parameter maps to the
--initoption to docker run. This parameter requires version 1.25 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command:sudo docker version --format '{{.Server.APIVersion}}'Returns union: either
BooleanorIResolvable- Specified by:
getInitProcessEnabledin interfaceCfnDaemonTaskDefinition.LinuxParametersProperty- See Also:
-
getTmpfs
Description copied from interface:CfnDaemonTaskDefinition.LinuxParametersPropertyThe container path, mount options, and size (in MiB) of the tmpfs mount.This parameter maps to the
--tmpfsoption to docker run. If you're using tasks that use the Fargate launch type, thetmpfsparameter isn't supported.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnDaemonTaskDefinition.TmpfsProperty>- Specified by:
getTmpfsin interfaceCfnDaemonTaskDefinition.LinuxParametersProperty- 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()
-