Class BaseDeploymentConfigProps
Complete base deployment config properties that are required to be supplied by the implementation of the BaseDeploymentConfig class.
Inheritance
Namespace: Amazon.CDK.AWS.CodeDeploy
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class BaseDeploymentConfigProps : Object, IBaseDeploymentConfigProps, IBaseDeploymentConfigOptions
Syntax (vb)
Public Class BaseDeploymentConfigProps
Inherits Object
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.AWS.CodeDeploy;
MinimumHealthyHosts minimumHealthyHosts;
TrafficRouting trafficRouting;
var baseDeploymentConfigProps = new BaseDeploymentConfigProps {
ComputePlatform = ComputePlatform.SERVER,
DeploymentConfigName = "deploymentConfigName",
MinimumHealthyHosts = minimumHealthyHosts,
TrafficRouting = trafficRouting
};
Synopsis
Constructors
BaseDeploymentConfigProps() |
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. |
Constructors
BaseDeploymentConfigProps()
public BaseDeploymentConfigProps()
Properties
ComputePlatform
The destination compute platform for the deployment.
public Nullable<ComputePlatform> ComputePlatform { get; set; }
Property Value
System.Nullable<ComputePlatform>
Remarks
Default: ComputePlatform.Server
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
Remarks
Default: None
TrafficRouting
The configuration that specifies how traffic is shifted during a deployment.
public TrafficRouting TrafficRouting { get; set; }
Property Value
Remarks
Only applicable to ECS and Lambda deployments, and must not be specified for Server deployments.
Default: None