Class CfnContainer.ContainerProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnContainer.ContainerProperty
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnContainer.ContainerProperty
CfnContainer.ContainerProperty
-
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.lightsail.CfnContainer.ContainerProperty
CfnContainer.ContainerProperty.Builder, CfnContainer.ContainerProperty.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnContainer.ContainerProperty.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 launch command for the container.final String
The name of the container.final Object
The environment variables of the container.final String
getImage()
The name of the image used for the container.final Object
getPorts()
An object that describes the open firewall ports and protocols of 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 theCfnContainer.ContainerProperty.Builder
.
-
-
Method Details
-
getCommand
Description copied from interface:CfnContainer.ContainerProperty
The launch command for the container.- Specified by:
getCommand
in interfaceCfnContainer.ContainerProperty
- See Also:
-
getContainerName
Description copied from interface:CfnContainer.ContainerProperty
The name of the container.- Specified by:
getContainerName
in interfaceCfnContainer.ContainerProperty
- See Also:
-
getEnvironment
Description copied from interface:CfnContainer.ContainerProperty
The environment variables of the container.- Specified by:
getEnvironment
in interfaceCfnContainer.ContainerProperty
- See Also:
-
getImage
Description copied from interface:CfnContainer.ContainerProperty
The name of the image used for the container.Container images that are sourced from (registered and stored on) your container service start with a colon (
:
). For example, if your container service name iscontainer-service-1
, the container image label ismystaticsite
, 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, specifylatest
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
ornginx
.- Specified by:
getImage
in interfaceCfnContainer.ContainerProperty
- See Also:
-
getPorts
Description copied from interface:CfnContainer.ContainerProperty
An object that describes the open firewall ports and protocols of the container.- Specified by:
getPorts
in interfaceCfnContainer.ContainerProperty
- See Also:
-
$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()
-