Interface IServerDeploymentConfigProps
Construction properties of ServerDeploymentConfig.
Inherited Members
Namespace: Amazon.CDK.AWS.CodeDeploy
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IServerDeploymentConfigProps : IBaseDeploymentConfigOptions
Syntax (vb)
Public Interface IServerDeploymentConfigProps Inherits IBaseDeploymentConfigOptions
Remarks
ExampleMetadata: infused
Examples
var deploymentConfig = new ServerDeploymentConfig(this, "DeploymentConfiguration", new ServerDeploymentConfigProps {
DeploymentConfigName = "MyDeploymentConfiguration", // optional property
// one of these is required, but both cannot be specified at the same time
MinimumHealthyHosts = MinimumHealthyHosts.Count(2)
});
Synopsis
Properties
| MinimumHealthyHosts | Minimum number of healthy hosts. |
| ZonalConfig | Configure CodeDeploy to deploy your application to one Availability Zone at a time within an AWS Region. |
Properties
MinimumHealthyHosts
Minimum number of healthy hosts.
MinimumHealthyHosts MinimumHealthyHosts { get; }
Property Value
Remarks
ExampleMetadata: infused
ZonalConfig
Configure CodeDeploy to deploy your application to one Availability Zone at a time within an AWS Region.
IZonalConfig? ZonalConfig { get; }
Property Value
Remarks
Default: - deploy your application to a random selection of hosts across a Region