Class ContainerServiceDeploymentVersionContainerArgs


  • public final class ContainerServiceDeploymentVersionContainerArgs
    extends com.pulumi.resources.ResourceArgs
    • Method Detail

      • commands

        public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> commands()
        Returns:
        Launch command for the container. A list of strings.
      • containerName

        public com.pulumi.core.Output<java.lang.String> containerName()
        Returns:
        Name of the container.
      • environment

        public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> environment()
        Returns:
        Key-value map of the environment variables of the container.
      • image

        public com.pulumi.core.Output<java.lang.String> image()
        Returns:
        Name of the image used for the container. Container images sourced from your Lightsail container service, that are registered and stored on your service, start with a colon (`:`). For example, `:container-service-1.mystaticwebsite.1`. Container images sourced from a public registry like Docker Hub don't start with a colon. For example, `nginx:latest` or `nginx`.
      • ports

        public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> ports()
        Returns:
        Key-value map of the open firewall ports of the container. Valid values: `HTTP`, `HTTPS`, `TCP`, `UDP`.