Show / Hide Table of Contents

Class ServerDeploymentConfig

A custom Deployment Configuration for an EC2/on-premise Deployment Group.

Inheritance
object
Resource
BaseDeploymentConfig
ServerDeploymentConfig
Implements
IResource
IServerDeploymentConfig
IBaseDeploymentConfig
IDeploymentConfigRef
IConstruct
IDependable
IEnvironmentAware
Inherited Members
BaseDeploymentConfig.FromDeploymentConfigName(Construct, string, string)
BaseDeploymentConfig.DeploymentConfigArn
BaseDeploymentConfig.DeploymentConfigName
BaseDeploymentConfig.DeploymentConfigRef
Resource.IsOwnedResource(IConstruct)
Resource.IsResource(IConstruct)
Resource.ApplyRemovalPolicy(RemovalPolicy)
Resource.GeneratePhysicalName()
Resource.GetResourceArnAttribute(string, IArnComponents)
Resource.GetResourceNameAttribute(string)
Resource.With(params IMixin[])
Resource.Env
Resource.PhysicalName
Resource.Stack
Namespace: Amazon.CDK.AWS.CodeDeploy
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class ServerDeploymentConfig : BaseDeploymentConfig, IResource, IServerDeploymentConfig, IBaseDeploymentConfig, IDeploymentConfigRef, IConstruct, IDependable, IEnvironmentAware
Syntax (vb)
Public Class ServerDeploymentConfig Inherits BaseDeploymentConfig Implements IResource, IServerDeploymentConfig, IBaseDeploymentConfig, IDeploymentConfigRef, IConstruct, IDependable, IEnvironmentAware
Remarks

Resource: AWS::CodeDeploy::DeploymentConfig

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

ServerDeploymentConfig(Construct, string, IServerDeploymentConfigProps)

A custom Deployment Configuration for an EC2/on-premise Deployment Group.

Properties

ALL_AT_ONCE

The CodeDeployDefault.AllAtOnce predefined deployment configuration for EC2/on-premises compute platform.

HALF_AT_A_TIME

The CodeDeployDefault.HalfAtATime predefined deployment configuration for EC2/on-premises compute platform.

ONE_AT_A_TIME

The CodeDeployDefault.OneAtATime predefined deployment configuration for EC2/on-premises compute platform.

PROPERTY_INJECTION_ID

Uniquely identifies this class.

Methods

FromServerDeploymentConfigName(Construct, string, string)

Import a custom Deployment Configuration for an EC2/on-premise Deployment Group defined either outside the CDK app, or in a different region.

Constructors

ServerDeploymentConfig(Construct, string, IServerDeploymentConfigProps)

A custom Deployment Configuration for an EC2/on-premise Deployment Group.

public ServerDeploymentConfig(Construct scope, string id, IServerDeploymentConfigProps props)
Parameters
scope Construct
id string
props IServerDeploymentConfigProps
Remarks

Resource: AWS::CodeDeploy::DeploymentConfig

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)
             });

Properties

ALL_AT_ONCE

The CodeDeployDefault.AllAtOnce predefined deployment configuration for EC2/on-premises compute platform.

public static IServerDeploymentConfig ALL_AT_ONCE { get; }
Property Value

IServerDeploymentConfig

Remarks

See: https://docs.aws.amazon.com/codedeploy/latest/userguide/deployment-configurations.html#deployment-configuration-server

HALF_AT_A_TIME

The CodeDeployDefault.HalfAtATime predefined deployment configuration for EC2/on-premises compute platform.

public static IServerDeploymentConfig HALF_AT_A_TIME { get; }
Property Value

IServerDeploymentConfig

Remarks

See: https://docs.aws.amazon.com/codedeploy/latest/userguide/deployment-configurations.html#deployment-configuration-server

ONE_AT_A_TIME

The CodeDeployDefault.OneAtATime predefined deployment configuration for EC2/on-premises compute platform.

public static IServerDeploymentConfig ONE_AT_A_TIME { get; }
Property Value

IServerDeploymentConfig

Remarks

See: https://docs.aws.amazon.com/codedeploy/latest/userguide/deployment-configurations.html#deployment-configuration-server

PROPERTY_INJECTION_ID

Uniquely identifies this class.

public static string PROPERTY_INJECTION_ID { get; }
Property Value

string

Remarks

Resource: AWS::CodeDeploy::DeploymentConfig

ExampleMetadata: infused

Methods

FromServerDeploymentConfigName(Construct, string, string)

Import a custom Deployment Configuration for an EC2/on-premise Deployment Group defined either outside the CDK app, or in a different region.

public static IServerDeploymentConfig FromServerDeploymentConfigName(Construct scope, string id, string serverDeploymentConfigName)
Parameters
scope Construct

the parent Construct for this new Construct.

id string

the logical ID of this new Construct.

serverDeploymentConfigName string

the properties of the referenced custom Deployment Configuration.

Returns

IServerDeploymentConfig

a Construct representing a reference to an existing custom Deployment Configuration

Remarks

Resource: AWS::CodeDeploy::DeploymentConfig

ExampleMetadata: infused

Implements

IResource
IServerDeploymentConfig
IBaseDeploymentConfig
IDeploymentConfigRef
Constructs.IConstruct
Constructs.IDependable
IEnvironmentAware
Back to top Generated by DocFX