Package software.amazon.awscdk
Class DockerRunOptions.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.DockerRunOptions.Jsii$Proxy
- All Implemented Interfaces:
DockerRunOptions
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
DockerRunOptions
@Stability(Stable)
@Internal
public static final class DockerRunOptions.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements DockerRunOptions
An implementation for
DockerRunOptions
-
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.DockerRunOptions
DockerRunOptions.Builder, DockerRunOptions.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Jsii$Proxy
(DockerRunOptions.Builder builder) Constructor that initializes the object based on literal property values passed by theDockerRunOptions.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
The command to run in the container.The entrypoint to run in the container.The environment variables to pass to the container.final String
Docker Networking options.final String
Set platform if server is multi-platform capable.final String
Security configuration when running the docker container.final String
getUser()
The user to use when running the container.final List<DockerVolume>
Docker volumes to mount.Where to mount the specified volumes from.final String
Working directory inside the container.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 theDockerRunOptions.Builder
.
-
-
Method Details
-
getCommand
Description copied from interface:DockerRunOptions
The command to run in the container.Default: - run the command defined in the image
- Specified by:
getCommand
in interfaceDockerRunOptions
-
getEntrypoint
Description copied from interface:DockerRunOptions
The entrypoint to run in the container.Default: - run the entrypoint defined in the image
- Specified by:
getEntrypoint
in interfaceDockerRunOptions
-
getEnvironment
Description copied from interface:DockerRunOptions
The environment variables to pass to the container.Default: - no environment variables.
- Specified by:
getEnvironment
in interfaceDockerRunOptions
-
getNetwork
Description copied from interface:DockerRunOptions
Docker Networking options.Default: - no networking options
- Specified by:
getNetwork
in interfaceDockerRunOptions
-
getPlatform
Description copied from interface:DockerRunOptions
Set platform if server is multi-platform capable. Requires Docker Engine API v1.38+.Example value:
linux/amd64
Default: - no platform specified
- Specified by:
getPlatform
in interfaceDockerRunOptions
-
getSecurityOpt
Description copied from interface:DockerRunOptions
Security configuration when running the docker container.Default: - no security options
- Specified by:
getSecurityOpt
in interfaceDockerRunOptions
-
getUser
Description copied from interface:DockerRunOptions
The user to use when running the container.Default: - root or image default
- Specified by:
getUser
in interfaceDockerRunOptions
-
getVolumes
Description copied from interface:DockerRunOptions
Docker volumes to mount.Default: - no volumes are mounted
- Specified by:
getVolumes
in interfaceDockerRunOptions
-
getVolumesFrom
Description copied from interface:DockerRunOptions
Where to mount the specified volumes from.Default: - no containers are specified to mount volumes from
- Specified by:
getVolumesFrom
in interfaceDockerRunOptions
- See Also:
-
getWorkingDirectory
Description copied from interface:DockerRunOptions
Working directory inside the container.Default: - image default
- Specified by:
getWorkingDirectory
in interfaceDockerRunOptions
-
$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()
-