AWS Classic

Pulumi Official
Package maintained by Pulumi
v5.9.2 published on Friday, Jun 24, 2022 by Pulumi

ContainerServiceDeploymentVersion

Import

Lightsail Container Service Deployment Version can be imported using the service_name and version separated by a slash (/), e.g.,

 $ pulumi import aws:lightsail/containerServiceDeploymentVersion:ContainerServiceDeploymentVersion example container-service-1/1

Example Usage

Basic Usage

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
    public MyStack()
    {
        var example = new Aws.LightSail.ContainerServiceDeploymentVersion("example", new Aws.LightSail.ContainerServiceDeploymentVersionArgs
        {
            Containers = 
            {
                new Aws.LightSail.Inputs.ContainerServiceDeploymentVersionContainerArgs
                {
                    ContainerName = "hello-world",
                    Image = "amazon/amazon-lightsail:hello-world",
                    Commands = {},
                    Environment = 
                    {
                        { "MY_ENVIRONMENT_VARIABLE", "my_value" },
                    },
                    Ports = 
                    {
                        { "80", "HTTP" },
                    },
                },
            },
            PublicEndpoint = new Aws.LightSail.Inputs.ContainerServiceDeploymentVersionPublicEndpointArgs
            {
                ContainerName = "hello-world",
                ContainerPort = 80,
                HealthCheck = new Aws.LightSail.Inputs.ContainerServiceDeploymentVersionPublicEndpointHealthCheckArgs
                {
                    HealthyThreshold = 2,
                    UnhealthyThreshold = 2,
                    TimeoutSeconds = 2,
                    IntervalSeconds = 5,
                    Path = "/",
                    SuccessCodes = "200-499",
                },
            },
            ServiceName = aws_lightsail_container_service.Example.Name,
        });
    }

}
package main

import (
	"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/lightsail"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := lightsail.NewContainerServiceDeploymentVersion(ctx, "example", &lightsail.ContainerServiceDeploymentVersionArgs{
			Containers: lightsail.ContainerServiceDeploymentVersionContainerArray{
				&lightsail.ContainerServiceDeploymentVersionContainerArgs{
					ContainerName: pulumi.String("hello-world"),
					Image:         pulumi.String("amazon/amazon-lightsail:hello-world"),
					Commands:      pulumi.StringArray{},
					Environment: pulumi.StringMap{
						"MY_ENVIRONMENT_VARIABLE": pulumi.String("my_value"),
					},
					Ports: pulumi.StringMap{
						"80": pulumi.String("HTTP"),
					},
				},
			},
			PublicEndpoint: &lightsail.ContainerServiceDeploymentVersionPublicEndpointArgs{
				ContainerName: pulumi.String("hello-world"),
				ContainerPort: pulumi.Int(80),
				HealthCheck: &lightsail.ContainerServiceDeploymentVersionPublicEndpointHealthCheckArgs{
					HealthyThreshold:   pulumi.Int(2),
					UnhealthyThreshold: pulumi.Int(2),
					TimeoutSeconds:     pulumi.Int(2),
					IntervalSeconds:    pulumi.Int(5),
					Path:               pulumi.String("/"),
					SuccessCodes:       pulumi.String("200-499"),
				},
			},
			ServiceName: pulumi.Any(aws_lightsail_container_service.Example.Name),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import java.util.*;
import java.io.*;
import java.nio.*;
import com.pulumi.*;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var example = new ContainerServiceDeploymentVersion("example", ContainerServiceDeploymentVersionArgs.builder()        
            .containers(ContainerServiceDeploymentVersionContainerArgs.builder()
                .containerName("hello-world")
                .image("amazon/amazon-lightsail:hello-world")
                .commands()
                .environment(Map.of("MY_ENVIRONMENT_VARIABLE", "my_value"))
                .ports(Map.of("80", "HTTP"))
                .build())
            .publicEndpoint(ContainerServiceDeploymentVersionPublicEndpointArgs.builder()
                .containerName("hello-world")
                .containerPort(80)
                .healthCheck(ContainerServiceDeploymentVersionPublicEndpointHealthCheckArgs.builder()
                    .healthyThreshold(2)
                    .unhealthyThreshold(2)
                    .timeoutSeconds(2)
                    .intervalSeconds(5)
                    .path("/")
                    .successCodes("200-499")
                    .build())
                .build())
            .serviceName(aws_lightsail_container_service.example().name())
            .build());

    }
}
import pulumi
import pulumi_aws as aws

example = aws.lightsail.ContainerServiceDeploymentVersion("example",
    containers=[aws.lightsail.ContainerServiceDeploymentVersionContainerArgs(
        container_name="hello-world",
        image="amazon/amazon-lightsail:hello-world",
        commands=[],
        environment={
            "MY_ENVIRONMENT_VARIABLE": "my_value",
        },
        ports={
            "80": "HTTP",
        },
    )],
    public_endpoint=aws.lightsail.ContainerServiceDeploymentVersionPublicEndpointArgs(
        container_name="hello-world",
        container_port=80,
        health_check=aws.lightsail.ContainerServiceDeploymentVersionPublicEndpointHealthCheckArgs(
            healthy_threshold=2,
            unhealthy_threshold=2,
            timeout_seconds=2,
            interval_seconds=5,
            path="/",
            success_codes="200-499",
        ),
    ),
    service_name=aws_lightsail_container_service["example"]["name"])
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const example = new aws.lightsail.ContainerServiceDeploymentVersion("example", {
    containers: [{
        containerName: "hello-world",
        image: "amazon/amazon-lightsail:hello-world",
        commands: [],
        environment: {
            MY_ENVIRONMENT_VARIABLE: "my_value",
        },
        ports: {
            "80": "HTTP",
        },
    }],
    publicEndpoint: {
        containerName: "hello-world",
        containerPort: 80,
        healthCheck: {
            healthyThreshold: 2,
            unhealthyThreshold: 2,
            timeoutSeconds: 2,
            intervalSeconds: 5,
            path: "/",
            successCodes: "200-499",
        },
    },
    serviceName: aws_lightsail_container_service.example.name,
});

Coming soon!

Create a ContainerServiceDeploymentVersion Resource

new ContainerServiceDeploymentVersion(name: string, args: ContainerServiceDeploymentVersionArgs, opts?: CustomResourceOptions);
@overload
def ContainerServiceDeploymentVersion(resource_name: str,
                                      opts: Optional[ResourceOptions] = None,
                                      containers: Optional[Sequence[ContainerServiceDeploymentVersionContainerArgs]] = None,
                                      public_endpoint: Optional[ContainerServiceDeploymentVersionPublicEndpointArgs] = None,
                                      service_name: Optional[str] = None)
@overload
def ContainerServiceDeploymentVersion(resource_name: str,
                                      args: ContainerServiceDeploymentVersionArgs,
                                      opts: Optional[ResourceOptions] = None)
func NewContainerServiceDeploymentVersion(ctx *Context, name string, args ContainerServiceDeploymentVersionArgs, opts ...ResourceOption) (*ContainerServiceDeploymentVersion, error)
public ContainerServiceDeploymentVersion(string name, ContainerServiceDeploymentVersionArgs args, CustomResourceOptions? opts = null)
public ContainerServiceDeploymentVersion(String name, ContainerServiceDeploymentVersionArgs args)
public ContainerServiceDeploymentVersion(String name, ContainerServiceDeploymentVersionArgs args, CustomResourceOptions options)
type: aws:lightsail:ContainerServiceDeploymentVersion
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args ContainerServiceDeploymentVersionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args ContainerServiceDeploymentVersionArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args ContainerServiceDeploymentVersionArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ContainerServiceDeploymentVersionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args ContainerServiceDeploymentVersionArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

ContainerServiceDeploymentVersion Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The ContainerServiceDeploymentVersion resource accepts the following input properties:

Containers List<Pulumi.Aws.LightSail.Inputs.ContainerServiceDeploymentVersionContainerArgs>

A set of configuration blocks that describe the settings of the containers that will be launched on the container service. Maximum of 53. Detailed below.

ServiceName string

The name for the container service.

PublicEndpoint Pulumi.Aws.LightSail.Inputs.ContainerServiceDeploymentVersionPublicEndpointArgs

A configuration block that describes the settings of the public endpoint for the container service. Detailed below.

Containers []ContainerServiceDeploymentVersionContainerArgs

A set of configuration blocks that describe the settings of the containers that will be launched on the container service. Maximum of 53. Detailed below.

ServiceName string

The name for the container service.

PublicEndpoint ContainerServiceDeploymentVersionPublicEndpointArgs

A configuration block that describes the settings of the public endpoint for the container service. Detailed below.

containers List<ContainerServiceDeploymentVersionContainerArgs>

A set of configuration blocks that describe the settings of the containers that will be launched on the container service. Maximum of 53. Detailed below.

serviceName String

The name for the container service.

publicEndpoint ContainerServiceDeploymentVersionPublicEndpointArgs

A configuration block that describes the settings of the public endpoint for the container service. Detailed below.

containers ContainerServiceDeploymentVersionContainerArgs[]

A set of configuration blocks that describe the settings of the containers that will be launched on the container service. Maximum of 53. Detailed below.

serviceName string

The name for the container service.

publicEndpoint ContainerServiceDeploymentVersionPublicEndpointArgs

A configuration block that describes the settings of the public endpoint for the container service. Detailed below.

containers Sequence[ContainerServiceDeploymentVersionContainerArgs]

A set of configuration blocks that describe the settings of the containers that will be launched on the container service. Maximum of 53. Detailed below.

service_name str

The name for the container service.

public_endpoint ContainerServiceDeploymentVersionPublicEndpointArgs

A configuration block that describes the settings of the public endpoint for the container service. Detailed below.

containers List<Property Map>

A set of configuration blocks that describe the settings of the containers that will be launched on the container service. Maximum of 53. Detailed below.

serviceName String

The name for the container service.

publicEndpoint Property Map

A configuration block that describes the settings of the public endpoint for the container service. Detailed below.

Outputs

All input properties are implicitly available as output properties. Additionally, the ContainerServiceDeploymentVersion resource produces the following output properties:

CreatedAt string

The timestamp when the deployment was created.

Id string

The provider-assigned unique ID for this managed resource.

State string

The current state of the container service.

Version int

The version number of the deployment.

CreatedAt string

The timestamp when the deployment was created.

Id string

The provider-assigned unique ID for this managed resource.

State string

The current state of the container service.

Version int

The version number of the deployment.

createdAt String

The timestamp when the deployment was created.

id String

The provider-assigned unique ID for this managed resource.

state String

The current state of the container service.

version Integer

The version number of the deployment.

createdAt string

The timestamp when the deployment was created.

id string

The provider-assigned unique ID for this managed resource.

state string

The current state of the container service.

version number

The version number of the deployment.

created_at str

The timestamp when the deployment was created.

id str

The provider-assigned unique ID for this managed resource.

state str

The current state of the container service.

version int

The version number of the deployment.

createdAt String

The timestamp when the deployment was created.

id String

The provider-assigned unique ID for this managed resource.

state String

The current state of the container service.

version Number

The version number of the deployment.

Look up an Existing ContainerServiceDeploymentVersion Resource

Get an existing ContainerServiceDeploymentVersion resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: ContainerServiceDeploymentVersionState, opts?: CustomResourceOptions): ContainerServiceDeploymentVersion
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        containers: Optional[Sequence[ContainerServiceDeploymentVersionContainerArgs]] = None,
        created_at: Optional[str] = None,
        public_endpoint: Optional[ContainerServiceDeploymentVersionPublicEndpointArgs] = None,
        service_name: Optional[str] = None,
        state: Optional[str] = None,
        version: Optional[int] = None) -> ContainerServiceDeploymentVersion
func GetContainerServiceDeploymentVersion(ctx *Context, name string, id IDInput, state *ContainerServiceDeploymentVersionState, opts ...ResourceOption) (*ContainerServiceDeploymentVersion, error)
public static ContainerServiceDeploymentVersion Get(string name, Input<string> id, ContainerServiceDeploymentVersionState? state, CustomResourceOptions? opts = null)
public static ContainerServiceDeploymentVersion get(String name, Output<String> id, ContainerServiceDeploymentVersionState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
Containers List<Pulumi.Aws.LightSail.Inputs.ContainerServiceDeploymentVersionContainerArgs>

A set of configuration blocks that describe the settings of the containers that will be launched on the container service. Maximum of 53. Detailed below.

CreatedAt string

The timestamp when the deployment was created.

PublicEndpoint Pulumi.Aws.LightSail.Inputs.ContainerServiceDeploymentVersionPublicEndpointArgs

A configuration block that describes the settings of the public endpoint for the container service. Detailed below.

ServiceName string

The name for the container service.

State string

The current state of the container service.

Version int

The version number of the deployment.

Containers []ContainerServiceDeploymentVersionContainerArgs

A set of configuration blocks that describe the settings of the containers that will be launched on the container service. Maximum of 53. Detailed below.

CreatedAt string

The timestamp when the deployment was created.

PublicEndpoint ContainerServiceDeploymentVersionPublicEndpointArgs

A configuration block that describes the settings of the public endpoint for the container service. Detailed below.

ServiceName string

The name for the container service.

State string

The current state of the container service.

Version int

The version number of the deployment.

containers List<ContainerServiceDeploymentVersionContainerArgs>

A set of configuration blocks that describe the settings of the containers that will be launched on the container service. Maximum of 53. Detailed below.

createdAt String

The timestamp when the deployment was created.

publicEndpoint ContainerServiceDeploymentVersionPublicEndpointArgs

A configuration block that describes the settings of the public endpoint for the container service. Detailed below.

serviceName String

The name for the container service.

state String

The current state of the container service.

version Integer

The version number of the deployment.

containers ContainerServiceDeploymentVersionContainerArgs[]

A set of configuration blocks that describe the settings of the containers that will be launched on the container service. Maximum of 53. Detailed below.

createdAt string

The timestamp when the deployment was created.

publicEndpoint ContainerServiceDeploymentVersionPublicEndpointArgs

A configuration block that describes the settings of the public endpoint for the container service. Detailed below.

serviceName string

The name for the container service.

state string

The current state of the container service.

version number

The version number of the deployment.

containers Sequence[ContainerServiceDeploymentVersionContainerArgs]

A set of configuration blocks that describe the settings of the containers that will be launched on the container service. Maximum of 53. Detailed below.

created_at str

The timestamp when the deployment was created.

public_endpoint ContainerServiceDeploymentVersionPublicEndpointArgs

A configuration block that describes the settings of the public endpoint for the container service. Detailed below.

service_name str

The name for the container service.

state str

The current state of the container service.

version int

The version number of the deployment.

containers List<Property Map>

A set of configuration blocks that describe the settings of the containers that will be launched on the container service. Maximum of 53. Detailed below.

createdAt String

The timestamp when the deployment was created.

publicEndpoint Property Map

A configuration block that describes the settings of the public endpoint for the container service. Detailed below.

serviceName String

The name for the container service.

state String

The current state of the container service.

version Number

The version number of the deployment.

Supporting Types

ContainerServiceDeploymentVersionContainer

ContainerName string

The name for the container.

Image string

The 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.

Commands List<string>

The launch command for the container. A list of string.

Environment Dictionary<string, string>

A key-value map of the environment variables of the container.

Ports Dictionary<string, string>

A key-value map of the open firewall ports of the container. Valid values: HTTP, HTTPS, TCP, UDP.

ContainerName string

The name for the container.

Image string

The 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.

Commands []string

The launch command for the container. A list of string.

Environment map[string]string

A key-value map of the environment variables of the container.

Ports map[string]string

A key-value map of the open firewall ports of the container. Valid values: HTTP, HTTPS, TCP, UDP.

containerName String

The name for the container.

image String

The 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.

commands List<String>

The launch command for the container. A list of string.

environment Map<String,String>

A key-value map of the environment variables of the container.

ports Map<String,String>

A key-value map of the open firewall ports of the container. Valid values: HTTP, HTTPS, TCP, UDP.

containerName string

The name for the container.

image string

The 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.

commands string[]

The launch command for the container. A list of string.

environment {[key: string]: string}

A key-value map of the environment variables of the container.

ports {[key: string]: string}

A key-value map of the open firewall ports of the container. Valid values: HTTP, HTTPS, TCP, UDP.

container_name str

The name for the container.

image str

The 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.

commands Sequence[str]

The launch command for the container. A list of string.

environment Mapping[str, str]

A key-value map of the environment variables of the container.

ports Mapping[str, str]

A key-value map of the open firewall ports of the container. Valid values: HTTP, HTTPS, TCP, UDP.

containerName String

The name for the container.

image String

The 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.

commands List<String>

The launch command for the container. A list of string.

environment Map<String>

A key-value map of the environment variables of the container.

ports Map<String>

A key-value map of the open firewall ports of the container. Valid values: HTTP, HTTPS, TCP, UDP.

ContainerServiceDeploymentVersionPublicEndpoint

ContainerName string

The name of the container for the endpoint.

ContainerPort int

The port of the container to which traffic is forwarded to.

HealthCheck Pulumi.Aws.LightSail.Inputs.ContainerServiceDeploymentVersionPublicEndpointHealthCheck

A configuration block that describes the health check configuration of the container. Detailed below.

ContainerName string

The name of the container for the endpoint.

ContainerPort int

The port of the container to which traffic is forwarded to.

HealthCheck ContainerServiceDeploymentVersionPublicEndpointHealthCheck

A configuration block that describes the health check configuration of the container. Detailed below.

containerName String

The name of the container for the endpoint.

containerPort Integer

The port of the container to which traffic is forwarded to.

healthCheck ContainerServiceDeploymentVersionPublicEndpointHealthCheck

A configuration block that describes the health check configuration of the container. Detailed below.

containerName string

The name of the container for the endpoint.

containerPort number

The port of the container to which traffic is forwarded to.

healthCheck ContainerServiceDeploymentVersionPublicEndpointHealthCheck

A configuration block that describes the health check configuration of the container. Detailed below.

container_name str

The name of the container for the endpoint.

container_port int

The port of the container to which traffic is forwarded to.

health_check ContainerServiceDeploymentVersionPublicEndpointHealthCheck

A configuration block that describes the health check configuration of the container. Detailed below.

containerName String

The name of the container for the endpoint.

containerPort Number

The port of the container to which traffic is forwarded to.

healthCheck Property Map

A configuration block that describes the health check configuration of the container. Detailed below.

ContainerServiceDeploymentVersionPublicEndpointHealthCheck

HealthyThreshold int

The number of consecutive health checks successes required before moving the container to the Healthy state. Defaults to 2.

IntervalSeconds int

The approximate interval, in seconds, between health checks of an individual container. You can specify between 5 and 300 seconds. Defaults to 5.

Path string

The path on the container on which to perform the health check. Defaults to "/".

SuccessCodes string

The HTTP codes to use when checking for a successful response from a container. You can specify values between 200 and 499. Defaults to "200-499".

TimeoutSeconds int

The amount of time, in seconds, during which no response means a failed health check. You can specify between 2 and 60 seconds. Defaults to 2.

UnhealthyThreshold int

The number of consecutive health checks failures required before moving the container to the Unhealthy state. Defaults to 2.

HealthyThreshold int

The number of consecutive health checks successes required before moving the container to the Healthy state. Defaults to 2.

IntervalSeconds int

The approximate interval, in seconds, between health checks of an individual container. You can specify between 5 and 300 seconds. Defaults to 5.

Path string

The path on the container on which to perform the health check. Defaults to "/".

SuccessCodes string

The HTTP codes to use when checking for a successful response from a container. You can specify values between 200 and 499. Defaults to "200-499".

TimeoutSeconds int

The amount of time, in seconds, during which no response means a failed health check. You can specify between 2 and 60 seconds. Defaults to 2.

UnhealthyThreshold int

The number of consecutive health checks failures required before moving the container to the Unhealthy state. Defaults to 2.

healthyThreshold Integer

The number of consecutive health checks successes required before moving the container to the Healthy state. Defaults to 2.

intervalSeconds Integer

The approximate interval, in seconds, between health checks of an individual container. You can specify between 5 and 300 seconds. Defaults to 5.

path String

The path on the container on which to perform the health check. Defaults to "/".

successCodes String

The HTTP codes to use when checking for a successful response from a container. You can specify values between 200 and 499. Defaults to "200-499".

timeoutSeconds Integer

The amount of time, in seconds, during which no response means a failed health check. You can specify between 2 and 60 seconds. Defaults to 2.

unhealthyThreshold Integer

The number of consecutive health checks failures required before moving the container to the Unhealthy state. Defaults to 2.

healthyThreshold number

The number of consecutive health checks successes required before moving the container to the Healthy state. Defaults to 2.

intervalSeconds number

The approximate interval, in seconds, between health checks of an individual container. You can specify between 5 and 300 seconds. Defaults to 5.

path string

The path on the container on which to perform the health check. Defaults to "/".

successCodes string

The HTTP codes to use when checking for a successful response from a container. You can specify values between 200 and 499. Defaults to "200-499".

timeoutSeconds number

The amount of time, in seconds, during which no response means a failed health check. You can specify between 2 and 60 seconds. Defaults to 2.

unhealthyThreshold number

The number of consecutive health checks failures required before moving the container to the Unhealthy state. Defaults to 2.

healthy_threshold int

The number of consecutive health checks successes required before moving the container to the Healthy state. Defaults to 2.

interval_seconds int

The approximate interval, in seconds, between health checks of an individual container. You can specify between 5 and 300 seconds. Defaults to 5.

path str

The path on the container on which to perform the health check. Defaults to "/".

success_codes str

The HTTP codes to use when checking for a successful response from a container. You can specify values between 200 and 499. Defaults to "200-499".

timeout_seconds int

The amount of time, in seconds, during which no response means a failed health check. You can specify between 2 and 60 seconds. Defaults to 2.

unhealthy_threshold int

The number of consecutive health checks failures required before moving the container to the Unhealthy state. Defaults to 2.

healthyThreshold Number

The number of consecutive health checks successes required before moving the container to the Healthy state. Defaults to 2.

intervalSeconds Number

The approximate interval, in seconds, between health checks of an individual container. You can specify between 5 and 300 seconds. Defaults to 5.

path String

The path on the container on which to perform the health check. Defaults to "/".

successCodes String

The HTTP codes to use when checking for a successful response from a container. You can specify values between 200 and 499. Defaults to "200-499".

timeoutSeconds Number

The amount of time, in seconds, during which no response means a failed health check. You can specify between 2 and 60 seconds. Defaults to 2.

unhealthyThreshold Number

The number of consecutive health checks failures required before moving the container to the Unhealthy state. Defaults to 2.

Package Details

Repository
https://github.com/pulumi/pulumi-aws
License
Apache-2.0
Notes

This Pulumi package is based on the aws Terraform Provider.