@Stability(value=Stable) @Internal public static final class CfnContainer.ContainerProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnContainer.ContainerProperty
CfnContainer.ContainerPropertysoftware.amazon.jsii.JsiiObject.InitializationModeCfnContainer.ContainerProperty.Builder, CfnContainer.ContainerProperty.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnContainer.ContainerProperty.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnContainer.ContainerProperty.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
List<String> |
getCommand()
The launch command for the container.
|
String |
getContainerName()
The name of the container.
|
Object |
getEnvironment()
The environment variables of the container.
|
String |
getImage()
The name of the image used for the container.
|
Object |
getPorts()
An object that describes the open firewall ports and protocols of the container.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(CfnContainer.ContainerProperty.Builder builder)
CfnContainer.ContainerProperty.Builder.public final List<String> getCommand()
CfnContainer.ContainerPropertygetCommand in interface CfnContainer.ContainerPropertypublic final String getContainerName()
CfnContainer.ContainerPropertygetContainerName in interface CfnContainer.ContainerPropertypublic final Object getEnvironment()
CfnContainer.ContainerPropertygetEnvironment in interface CfnContainer.ContainerPropertypublic final String getImage()
CfnContainer.ContainerProperty
Container images that are sourced from (registered and stored on) your container service start with a colon ( : ). For example, if your container service name is container-service-1 , the container image label is mystaticsite , and you want to use the third version ( 3 ) of the registered container image, then you should specify :container-service-1.mystaticsite.3 . To use the latest version of a container image, specify latest instead of a version number (for example, :container-service-1.mystaticsite.latest ). Your container service will automatically use the highest numbered version of the registered container image.
Container images that are sourced from a public registry like Docker Hub don’t start with a colon. For example, nginx:latest or nginx .
getImage in interface CfnContainer.ContainerPropertypublic final Object getPorts()
CfnContainer.ContainerPropertygetPorts in interface CfnContainer.ContainerProperty@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.