Class ServerDeploymentConfig
A custom Deployment Configuration for an EC2/on-premise Deployment Group.
Inherited Members
Namespace: Amazon.CDK.AWS.CodeDeploy
Assembly: Amazon.CDK.AWS.CodeDeploy.dll
Syntax (csharp)
public class ServerDeploymentConfig : Resource, IResource, IConstruct, IDependable, IServerDeploymentConfig
Syntax (vb)
Public Class ServerDeploymentConfig
Inherits Resource
Implements IResource, IConstruct, IDependable, IServerDeploymentConfig
Remarks
Resource: AWS::CodeDeploy::DeploymentConfig
ExampleMetadata: infused
Examples
var deploymentGroup = new ServerDeploymentGroup(this, "CodeDeployDeploymentGroup", new ServerDeploymentGroupProps {
DeploymentConfig = ServerDeploymentConfig.ALL_AT_ONCE
});
Synopsis
Constructors
ServerDeploymentConfig(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
ServerDeploymentConfig(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
ServerDeploymentConfig(Construct, String, IServerDeploymentConfigProps) |
Properties
ALL_AT_ONCE | |
DeploymentConfigArn | |
DeploymentConfigName | |
HALF_AT_A_TIME | |
ONE_AT_A_TIME |
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. |
Validate() | Validate the current construct. |
Constructors
ServerDeploymentConfig(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected ServerDeploymentConfig(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
ServerDeploymentConfig(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected ServerDeploymentConfig(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
ServerDeploymentConfig(Construct, String, IServerDeploymentConfigProps)
public ServerDeploymentConfig(Construct scope, string id, IServerDeploymentConfigProps props)
Parameters
- scope Constructs.Construct
- id System.String
- props IServerDeploymentConfigProps
Properties
ALL_AT_ONCE
DeploymentConfigArn
public virtual string DeploymentConfigArn { get; }
Property Value
System.String
DeploymentConfigName
public virtual string DeploymentConfigName { get; }
Property Value
System.String
HALF_AT_A_TIME
public static IServerDeploymentConfig HALF_AT_A_TIME { get; }
Property Value
ONE_AT_A_TIME
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 Constructs.Construct
the parent Construct for this new Construct.
- id System.String
the logical ID of this new Construct.
- serverDeploymentConfigName System.String
the properties of the referenced custom Deployment Configuration.
Returns
a Construct representing a reference to an existing custom Deployment Configuration
Validate()
Validate the current construct.
protected override string[] Validate()
Returns
System.String[]
Overrides
Remarks
This method can be implemented by derived constructs in order to perform validation logic. It is called on all constructs before synthesis.