Show / Hide Table of Contents

Class CfnDeploymentConfigProps

Properties for defining a CfnDeploymentConfig.

Inheritance
System.Object
CfnDeploymentConfigProps
Implements
ICfnDeploymentConfigProps
Namespace: Amazon.CDK.AWS.CodeDeploy
Assembly: Amazon.CDK.AWS.CodeDeploy.dll
Syntax (csharp)
public class CfnDeploymentConfigProps : Object, ICfnDeploymentConfigProps
Syntax (vb)
Public Class CfnDeploymentConfigProps
    Inherits Object
    Implements ICfnDeploymentConfigProps
Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codedeploy-deploymentconfig.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.CodeDeploy;

var cfnDeploymentConfigProps = new CfnDeploymentConfigProps {
    ComputePlatform = "computePlatform",
    DeploymentConfigName = "deploymentConfigName",
    MinimumHealthyHosts = new MinimumHealthyHostsProperty {
        Type = "type",
        Value = 123
    },
    TrafficRoutingConfig = new TrafficRoutingConfigProperty {
        Type = "type",

        // the properties below are optional
        TimeBasedCanary = new TimeBasedCanaryProperty {
            CanaryInterval = 123,
            CanaryPercentage = 123
        },
        TimeBasedLinear = new TimeBasedLinearProperty {
            LinearInterval = 123,
            LinearPercentage = 123
        }
    }
};

Synopsis

Constructors

CfnDeploymentConfigProps()

Properties

ComputePlatform

The destination platform type for the deployment ( Lambda , Server , or ECS ).

DeploymentConfigName

A name for the deployment configuration.

MinimumHealthyHosts

The minimum number of healthy instances that should be available at any time during the deployment.

TrafficRoutingConfig

The configuration that specifies how the deployment traffic is routed.

Constructors

CfnDeploymentConfigProps()

public CfnDeploymentConfigProps()

Properties

ComputePlatform

The destination platform type for the deployment ( Lambda , Server , or ECS ).

public string ComputePlatform { get; set; }
Property Value

System.String

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codedeploy-deploymentconfig.html#cfn-codedeploy-deploymentconfig-computeplatform

DeploymentConfigName

A name for the deployment configuration.

public string DeploymentConfigName { get; set; }
Property Value

System.String

Remarks

If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the deployment configuration name. For more information, see Name Type .

If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codedeploy-deploymentconfig.html#cfn-codedeploy-deploymentconfig-deploymentconfigname

MinimumHealthyHosts

The minimum number of healthy instances that should be available at any time during the deployment.

public object MinimumHealthyHosts { get; set; }
Property Value

System.Object

Remarks

There are two parameters expected in the input: type and value.

The type parameter takes either of the following values:

    The value parameter takes an integer.

    For example, to set a minimum of 95% healthy instance, specify a type of FLEET_PERCENT and a value of 95.

    For more information about instance health, see CodeDeploy Instance Health in the AWS CodeDeploy User Guide.

    Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codedeploy-deploymentconfig.html#cfn-codedeploy-deploymentconfig-minimumhealthyhosts

    TrafficRoutingConfig

    The configuration that specifies how the deployment traffic is routed.

    public object TrafficRoutingConfig { get; set; }
    Property Value

    System.Object

    Remarks

    Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codedeploy-deploymentconfig.html#cfn-codedeploy-deploymentconfig-trafficroutingconfig

    Implements

    ICfnDeploymentConfigProps
    Back to top Generated by DocFX