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.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.lightsail.CfnContainer.ContainerProperty
CfnContainer.ContainerProperty.Builder, CfnContainer.ContainerProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnContainer.ContainerProperty.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 launch command for the container.final StringThe name of the container.final ObjectThe environment variables of the container.final StringgetImage()The name of the image used for the container.final ObjectgetPorts()An object that describes the open firewall ports and protocols of the container.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 theCfnContainer.ContainerProperty.Builder.
-
-
Method Details
-
getCommand
Description copied from interface:CfnContainer.ContainerPropertyThe launch command for the container.- Specified by:
getCommandin interfaceCfnContainer.ContainerProperty- See Also:
-
getContainerName
Description copied from interface:CfnContainer.ContainerPropertyThe name of the container.- Specified by:
getContainerNamein interfaceCfnContainer.ContainerProperty- See Also:
-
getEnvironment
Description copied from interface:CfnContainer.ContainerPropertyThe environment variables of the container.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnContainer.EnvironmentVariableProperty>- Specified by:
getEnvironmentin interfaceCfnContainer.ContainerProperty- See Also:
-
getImage
Description copied from interface:CfnContainer.ContainerPropertyThe 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, specifylatestinstead 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:latestornginx.- Specified by:
getImagein interfaceCfnContainer.ContainerProperty- See Also:
-
getPorts
Description copied from interface:CfnContainer.ContainerPropertyAn object that describes the open firewall ports and protocols of the container.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnContainer.PortInfoProperty>- Specified by:
getPortsin interfaceCfnContainer.ContainerProperty- 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()
-