Class ServerDeploymentConfig
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.Resource
software.amazon.awscdk.services.codedeploy.BaseDeploymentConfig
software.amazon.awscdk.services.codedeploy.ServerDeploymentConfig
- All Implemented Interfaces:
IResource,IBaseDeploymentConfig,IServerDeploymentConfig,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-24T13:34:33.667Z")
@Stability(Stable)
public class ServerDeploymentConfig
extends BaseDeploymentConfig
implements IServerDeploymentConfig
A custom Deployment Configuration for an EC2/on-premise Deployment Group.
Example:
ServerDeploymentConfig deploymentConfig = ServerDeploymentConfig.Builder.create(this, "DeploymentConfiguration")
.deploymentConfigName("MyDeploymentConfiguration") // optional property
// one of these is required, but both cannot be specified at the same time
.minimumHealthyHosts(MinimumHealthyHosts.count(2))
.build();
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.codedeploy.IBaseDeploymentConfig
IBaseDeploymentConfig.Jsii$DefaultNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IResource
IResource.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.services.codedeploy.IServerDeploymentConfig
IServerDeploymentConfig.Jsii$Default, IServerDeploymentConfig.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final IServerDeploymentConfigThe CodeDeployDefault.AllAtOnce predefined deployment configuration for EC2/on-premises compute platform.static final IServerDeploymentConfigThe CodeDeployDefault.HalfAtATime predefined deployment configuration for EC2/on-premises compute platform.static final IServerDeploymentConfigThe CodeDeployDefault.OneAtATime predefined deployment configuration for EC2/on-premises compute platform.static final StringUniquely identifies this class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedServerDeploymentConfig(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedServerDeploymentConfig(software.amazon.jsii.JsiiObjectRef objRef) ServerDeploymentConfig(software.constructs.Construct scope, String id, ServerDeploymentConfigProps props) -
Method Summary
Modifier and TypeMethodDescriptionstatic IServerDeploymentConfigfromServerDeploymentConfigName(software.constructs.Construct scope, String id, 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.Methods inherited from class software.amazon.awscdk.services.codedeploy.BaseDeploymentConfig
fromDeploymentConfigName, getDeploymentConfigArn, getDeploymentConfigNameMethods inherited from class software.amazon.awscdk.Resource
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isOwnedResource, isResourceMethods inherited from class software.constructs.Construct
getNode, isConstruct, toStringMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awscdk.services.codedeploy.IBaseDeploymentConfig
getDeploymentConfigArn, getDeploymentConfigNameMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
ALL_AT_ONCE
The CodeDeployDefault.AllAtOnce predefined deployment configuration for EC2/on-premises compute platform.- See Also:
-
HALF_AT_A_TIME
The CodeDeployDefault.HalfAtATime predefined deployment configuration for EC2/on-premises compute platform.- See Also:
-
ONE_AT_A_TIME
The CodeDeployDefault.OneAtATime predefined deployment configuration for EC2/on-premises compute platform.- See Also:
-
PROPERTY_INJECTION_ID
Uniquely identifies this class.
-
-
Constructor Details
-
ServerDeploymentConfig
protected ServerDeploymentConfig(software.amazon.jsii.JsiiObjectRef objRef) -
ServerDeploymentConfig
protected ServerDeploymentConfig(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
ServerDeploymentConfig
@Stability(Stable) public ServerDeploymentConfig(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull ServerDeploymentConfigProps props) - Parameters:
scope- This parameter is required.id- This parameter is required.props- This parameter is required.
-
-
Method Details
-
fromServerDeploymentConfigName
@Stability(Stable) @NotNull public static IServerDeploymentConfig fromServerDeploymentConfigName(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull 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.- Parameters:
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.- Returns:
- a Construct representing a reference to an existing custom Deployment Configuration
-