Show / Hide Table of Contents

Class CfnContainer.ContainerServiceDeploymentProperty

ContainerServiceDeployment is a property of the AWS::Lightsail::Container resource. It describes a container deployment configuration of a container service.

Inheritance
object
CfnContainer.ContainerServiceDeploymentProperty
Implements
CfnContainer.IContainerServiceDeploymentProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.Lightsail
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnContainer.ContainerServiceDeploymentProperty : CfnContainer.IContainerServiceDeploymentProperty
Syntax (vb)
Public Class CfnContainer.ContainerServiceDeploymentProperty Implements CfnContainer.IContainerServiceDeploymentProperty
Remarks

A deployment specifies the settings, such as the ports and launch command, of containers that are deployed to your container service.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-container-containerservicedeployment.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.Lightsail;

             var containerServiceDeploymentProperty = new ContainerServiceDeploymentProperty {
                 Containers = new [] { new ContainerProperty {
                     Command = new [] { "command" },
                     ContainerName = "containerName",
                     Environment = new [] { new EnvironmentVariableProperty {
                         Value = "value",
                         Variable = "variable"
                     } },
                     Image = "image",
                     Ports = new [] { new PortInfoProperty {
                         Port = "port",
                         Protocol = "protocol"
                     } }
                 } },
                 PublicEndpoint = new PublicEndpointProperty {
                     ContainerName = "containerName",
                     ContainerPort = 123,
                     HealthCheckConfig = new HealthCheckConfigProperty {
                         HealthyThreshold = 123,
                         IntervalSeconds = 123,
                         Path = "path",
                         SuccessCodes = "successCodes",
                         TimeoutSeconds = 123,
                         UnhealthyThreshold = 123
                     }
                 }
             };

Synopsis

Constructors

ContainerServiceDeploymentProperty()

ContainerServiceDeployment is a property of the AWS::Lightsail::Container resource. It describes a container deployment configuration of a container service.

Properties

Containers

An object that describes the configuration for the containers of the deployment.

PublicEndpoint

An object that describes the endpoint of the deployment.

Constructors

ContainerServiceDeploymentProperty()

ContainerServiceDeployment is a property of the AWS::Lightsail::Container resource. It describes a container deployment configuration of a container service.

public ContainerServiceDeploymentProperty()
Remarks

A deployment specifies the settings, such as the ports and launch command, of containers that are deployed to your container service.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-container-containerservicedeployment.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.Lightsail;

             var containerServiceDeploymentProperty = new ContainerServiceDeploymentProperty {
                 Containers = new [] { new ContainerProperty {
                     Command = new [] { "command" },
                     ContainerName = "containerName",
                     Environment = new [] { new EnvironmentVariableProperty {
                         Value = "value",
                         Variable = "variable"
                     } },
                     Image = "image",
                     Ports = new [] { new PortInfoProperty {
                         Port = "port",
                         Protocol = "protocol"
                     } }
                 } },
                 PublicEndpoint = new PublicEndpointProperty {
                     ContainerName = "containerName",
                     ContainerPort = 123,
                     HealthCheckConfig = new HealthCheckConfigProperty {
                         HealthyThreshold = 123,
                         IntervalSeconds = 123,
                         Path = "path",
                         SuccessCodes = "successCodes",
                         TimeoutSeconds = 123,
                         UnhealthyThreshold = 123
                     }
                 }
             };

Properties

Containers

An object that describes the configuration for the containers of the deployment.

public object? Containers { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-container-containerservicedeployment.html#cfn-lightsail-container-containerservicedeployment-containers

PublicEndpoint

An object that describes the endpoint of the deployment.

public object? PublicEndpoint { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-container-containerservicedeployment.html#cfn-lightsail-container-containerservicedeployment-publicendpoint

Implements

CfnContainer.IContainerServiceDeploymentProperty
Back to top Generated by DocFX