Class ServerDeploymentConfigProps
Construction properties of ServerDeploymentConfig
.
Inheritance
System.Object
ServerDeploymentConfigProps
Namespace: Amazon.CDK.AWS.CodeDeploy
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class ServerDeploymentConfigProps : Object, IServerDeploymentConfigProps, IBaseDeploymentConfigOptions
Syntax (vb)
Public Class ServerDeploymentConfigProps
Inherits Object
Implements IServerDeploymentConfigProps, 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
Constructors
ServerDeploymentConfigProps() |
Properties
DeploymentConfigName | The physical, human-readable name of the Deployment Configuration. |
MinimumHealthyHosts | Minimum number of healthy hosts. |
Constructors
ServerDeploymentConfigProps()
public ServerDeploymentConfigProps()
Properties
DeploymentConfigName
The physical, human-readable name of the Deployment Configuration.
public string DeploymentConfigName { get; set; }
Property Value
System.String
Remarks
Default: - automatically generated name
MinimumHealthyHosts
Minimum number of healthy hosts.
public MinimumHealthyHosts MinimumHealthyHosts { get; set; }
Property Value