@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-14T16:25:34.618Z") public class ServerDeploymentConfig extends Resource implements IServerDeploymentConfig
Example:
ServerDeploymentGroup deploymentGroup = ServerDeploymentGroup.Builder.create(this, "CodeDeployDeploymentGroup") .deploymentConfig(ServerDeploymentConfig.ALL_AT_ONCE) .build();
Modifier and Type | Class and Description |
---|---|
static class |
ServerDeploymentConfig.Builder
A fluent builder for
ServerDeploymentConfig . |
IServerDeploymentConfig.Jsii$Default, IServerDeploymentConfig.Jsii$Proxy
IResource.Jsii$Default
Modifier and Type | Field and Description |
---|---|
static IServerDeploymentConfig |
ALL_AT_ONCE |
static IServerDeploymentConfig |
HALF_AT_A_TIME |
static IServerDeploymentConfig |
ONE_AT_A_TIME |
Modifier | Constructor and Description |
---|---|
protected |
ServerDeploymentConfig(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
ServerDeploymentConfig(software.amazon.jsii.JsiiObjectRef objRef) |
|
ServerDeploymentConfig(software.constructs.Construct scope,
java.lang.String id,
ServerDeploymentConfigProps props) |
Modifier and Type | Method and Description |
---|---|
static IServerDeploymentConfig |
fromServerDeploymentConfigName(software.constructs.Construct scope,
java.lang.String id,
java.lang.String serverDeploymentConfigName)
Import a custom Deployment Configuration for an EC2/on-premise Deployment Group defined either outside the CDK app, or in a different region.
|
java.lang.String |
getDeploymentConfigArn() |
java.lang.String |
getDeploymentConfigName() |
protected java.util.List<java.lang.String> |
validate()
Validate the current construct.
|
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResource
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getNode
public static final IServerDeploymentConfig ALL_AT_ONCE
public static final IServerDeploymentConfig HALF_AT_A_TIME
public static final IServerDeploymentConfig ONE_AT_A_TIME
protected ServerDeploymentConfig(software.amazon.jsii.JsiiObjectRef objRef)
protected ServerDeploymentConfig(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public ServerDeploymentConfig(software.constructs.Construct scope, java.lang.String id, ServerDeploymentConfigProps props)
scope
- This parameter is required.id
- This parameter is required.props
- This parameter is required.public static IServerDeploymentConfig fromServerDeploymentConfigName(software.constructs.Construct scope, java.lang.String id, java.lang.String serverDeploymentConfigName)
scope
- the parent Construct for this new Construct. This parameter is required.id
- the logical ID of this new Construct. This parameter is required.serverDeploymentConfigName
- the properties of the referenced custom Deployment Configuration. This parameter is required.protected java.util.List<java.lang.String> validate()
This method can be implemented by derived constructs in order to perform validation logic. It is called on all constructs before synthesis.
public java.lang.String getDeploymentConfigArn()
getDeploymentConfigArn
in interface IServerDeploymentConfig
public java.lang.String getDeploymentConfigName()
getDeploymentConfigName
in interface IServerDeploymentConfig