Class ServerDeploymentConfig
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.core.Construct
software.amazon.awscdk.core.Resource
software.amazon.awscdk.services.codedeploy.ServerDeploymentConfig
- All Implemented Interfaces:
IConstruct
,IDependable
,IResource
,IServerDeploymentConfig
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:46.390Z")
@Stability(Stable)
public class ServerDeploymentConfig
extends Resource
implements IServerDeploymentConfig
A custom Deployment Configuration for an EC2/on-premise Deployment Group.
Example:
ServerDeploymentGroup deploymentGroup = ServerDeploymentGroup.Builder.create(this, "CodeDeployDeploymentGroup") .deploymentConfig(ServerDeploymentConfig.ALL_AT_ONCE) .build();
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IResource
IResource.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.codedeploy.IServerDeploymentConfig
IServerDeploymentConfig.Jsii$Default, IServerDeploymentConfig.Jsii$Proxy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final IServerDeploymentConfig
static final IServerDeploymentConfig
static final IServerDeploymentConfig
-
Constructor Summary
ModifierConstructorDescriptionprotected
ServerDeploymentConfig
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
ServerDeploymentConfig
(software.amazon.jsii.JsiiObjectRef objRef) ServerDeploymentConfig
(software.constructs.Construct scope, String id, ServerDeploymentConfigProps props) -
Method Summary
Modifier and TypeMethodDescriptionstatic IServerDeploymentConfig
fromServerDeploymentConfigName
(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.validate()
Validate the current construct.Methods inherited from class software.amazon.awscdk.core.Resource
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResource
Methods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize
Methods inherited from class software.constructs.Construct
toString
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.amazon.awscdk.core.IConstruct
getNode
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
ALL_AT_ONCE
-
HALF_AT_A_TIME
-
ONE_AT_A_TIME
-
-
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
-
validate
Validate the current construct.This method can be implemented by derived constructs in order to perform validation logic. It is called on all constructs before synthesis.
-
getDeploymentConfigArn
- Specified by:
getDeploymentConfigArn
in interfaceIServerDeploymentConfig
-
getDeploymentConfigName
- Specified by:
getDeploymentConfigName
in interfaceIServerDeploymentConfig
-