Show / Hide Table of Contents

Class BaseDeploymentConfigProps

Complete base deployment config properties that are required to be supplied by the implementation of the BaseDeploymentConfig class.

Inheritance
object
BaseDeploymentConfigProps
Implements
IBaseDeploymentConfigProps
IBaseDeploymentConfigOptions
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.CodeDeploy
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class BaseDeploymentConfigProps : IBaseDeploymentConfigProps, IBaseDeploymentConfigOptions
Syntax (vb)
Public Class BaseDeploymentConfigProps Implements IBaseDeploymentConfigProps, IBaseDeploymentConfigOptions
Remarks

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;
            using Amazon.CDK.AWS.CodeDeploy;

            MinimumHealthyHosts minimumHealthyHosts;
            MinimumHealthyHostsPerZone minimumHealthyHostsPerZone;
            TrafficRouting trafficRouting;

            var baseDeploymentConfigProps = new BaseDeploymentConfigProps {
                ComputePlatform = ComputePlatform.SERVER,
                DeploymentConfigName = "deploymentConfigName",
                MinimumHealthyHosts = minimumHealthyHosts,
                TrafficRouting = trafficRouting,
                ZonalConfig = new ZonalConfig {
                    FirstZoneMonitorDuration = Duration.Minutes(30),
                    MinimumHealthyHostsPerZone = minimumHealthyHostsPerZone,
                    MonitorDuration = Duration.Minutes(30)
                }
            };

Synopsis

Constructors

BaseDeploymentConfigProps()

Complete base deployment config properties that are required to be supplied by the implementation of the BaseDeploymentConfig class.

Properties

ComputePlatform

The destination compute platform for the deployment.

DeploymentConfigName

The physical, human-readable name of the Deployment Configuration.

MinimumHealthyHosts

Minimum number of healthy hosts.

TrafficRouting

The configuration that specifies how traffic is shifted during a deployment.

ZonalConfig

Configure CodeDeploy to deploy your application to one Availability Zone at a time within an AWS Region.

Constructors

BaseDeploymentConfigProps()

Complete base deployment config properties that are required to be supplied by the implementation of the BaseDeploymentConfig class.

public BaseDeploymentConfigProps()
Remarks

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;
            using Amazon.CDK.AWS.CodeDeploy;

            MinimumHealthyHosts minimumHealthyHosts;
            MinimumHealthyHostsPerZone minimumHealthyHostsPerZone;
            TrafficRouting trafficRouting;

            var baseDeploymentConfigProps = new BaseDeploymentConfigProps {
                ComputePlatform = ComputePlatform.SERVER,
                DeploymentConfigName = "deploymentConfigName",
                MinimumHealthyHosts = minimumHealthyHosts,
                TrafficRouting = trafficRouting,
                ZonalConfig = new ZonalConfig {
                    FirstZoneMonitorDuration = Duration.Minutes(30),
                    MinimumHealthyHostsPerZone = minimumHealthyHostsPerZone,
                    MonitorDuration = Duration.Minutes(30)
                }
            };

Properties

ComputePlatform

The destination compute platform for the deployment.

public ComputePlatform? ComputePlatform { get; set; }
Property Value

ComputePlatform?

Remarks

Default: ComputePlatform.Server

DeploymentConfigName

The physical, human-readable name of the Deployment Configuration.

public string? DeploymentConfigName { get; set; }
Property Value

string

Remarks

Default: - automatically generated name

MinimumHealthyHosts

Minimum number of healthy hosts.

public MinimumHealthyHosts? MinimumHealthyHosts { get; set; }
Property Value

MinimumHealthyHosts

Remarks

Default: None

TrafficRouting

The configuration that specifies how traffic is shifted during a deployment.

public TrafficRouting? TrafficRouting { get; set; }
Property Value

TrafficRouting

Remarks

Only applicable to ECS and Lambda deployments, and must not be specified for Server deployments.

Default: None

ZonalConfig

Configure CodeDeploy to deploy your application to one Availability Zone at a time within an AWS Region.

public IZonalConfig? ZonalConfig { get; set; }
Property Value

IZonalConfig

Remarks

Default: - deploy your application to a random selection of hosts across a Region

See: https://docs.aws.amazon.com/codedeploy/latest/userguide/deployment-configurations-create.html#zonal-config

Implements

IBaseDeploymentConfigProps
IBaseDeploymentConfigOptions
Back to top Generated by DocFX