Class CfnDeploymentConfigPropsMixin
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.Mixin
software.amazon.awscdk.cfnpropertymixins.services.codedeploy.CfnDeploymentConfigPropsMixin
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable,software.constructs.IMixin
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-11T13:19:57.276Z")
@Stability(Stable)
public class CfnDeploymentConfigPropsMixin
extends Mixin
implements software.constructs.IMixin
The
AWS::CodeDeploy::DeploymentConfig resource creates a set of deployment rules, deployment success conditions, and deployment failure conditions that AWS CodeDeploy uses during a deployment.
The deployment configuration specifies the number or percentage of instances that must remain available at any time during a deployment.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.codedeploy.*;
import software.amazon.awscdk.*;
IMergeStrategy mergeStrategy;
CfnDeploymentConfigPropsMixin cfnDeploymentConfigPropsMixin = CfnDeploymentConfigPropsMixin.Builder.create(CfnDeploymentConfigMixinProps.builder()
.computePlatform("computePlatform")
.deploymentConfigName("deploymentConfigName")
.minimumHealthyHosts(MinimumHealthyHostsProperty.builder()
.type("type")
.value(123)
.build())
.trafficRoutingConfig(TrafficRoutingConfigProperty.builder()
.timeBasedCanary(TimeBasedCanaryProperty.builder()
.canaryInterval(123)
.canaryPercentage(123)
.build())
.timeBasedLinear(TimeBasedLinearProperty.builder()
.linearInterval(123)
.linearPercentage(123)
.build())
.type("type")
.build())
.zonalConfig(ZonalConfigProperty.builder()
.firstZoneMonitorDurationInSeconds(123)
.minimumHealthyHostsPerZone(MinimumHealthyHostsPerZoneProperty.builder()
.type("type")
.value(123)
.build())
.monitorDurationInSeconds(123)
.build())
.build())
.strategy(mergeStrategy)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnDeploymentConfigPropsMixin.static interfaceInformation about the minimum number of healthy instances per Availability Zone.static interfaceMinimumHealthyHostsis a property of the DeploymentConfig resource that defines how many instances must remain healthy during an AWS CodeDeploy deployment.static interfaceA configuration that shifts traffic from one version of a Lambda function or Amazon ECS task set to another in two increments.static interfaceA configuration that shifts traffic from one version of a Lambda function or ECS task set to another in equal increments, with an equal number of minutes between each increment.static interfaceThe configuration that specifies how traffic is shifted from one version of a Lambda function to another version during an AWS Lambda deployment, or from one Amazon ECS task set to another during an Amazon ECS deployment.static interfaceConfigure theZonalConfigobject if you want AWS CodeDeploy to deploy your application to one Availability Zone at a time, within an AWS Region.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IMixin
software.constructs.IMixin.Jsii$Default, software.constructs.IMixin.Jsii$Proxy -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionCreate a mixin to apply properties toAWS::CodeDeploy::DeploymentConfig.Create a mixin to apply properties toAWS::CodeDeploy::DeploymentConfig.protectedCfnDeploymentConfigPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnDeploymentConfigPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyTo(software.constructs.IConstruct construct) Apply the mixin properties to the construct.protected CfnDeploymentConfigMixinPropsgetProps()protected IMergeStrategysupports(software.constructs.IConstruct construct) Check if this mixin supports the given construct.Methods 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, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_PROPERTY_KEYS
-
-
Constructor Details
-
CfnDeploymentConfigPropsMixin
protected CfnDeploymentConfigPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
CfnDeploymentConfigPropsMixin
protected CfnDeploymentConfigPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnDeploymentConfigPropsMixin
@Stability(Stable) public CfnDeploymentConfigPropsMixin(@NotNull CfnDeploymentConfigMixinProps props, @Nullable CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::CodeDeploy::DeploymentConfig.- Parameters:
props- L1 properties to apply. This parameter is required.options- Mixin options.
-
CfnDeploymentConfigPropsMixin
@Stability(Stable) public CfnDeploymentConfigPropsMixin(@NotNull CfnDeploymentConfigMixinProps props) Create a mixin to apply properties toAWS::CodeDeploy::DeploymentConfig.- Parameters:
props- L1 properties to apply. This parameter is required.
-
-
Method Details
-
applyTo
@Stability(Stable) public void applyTo(@NotNull software.constructs.IConstruct construct) Apply the mixin properties to the construct. -
supports
@Stability(Stable) @NotNull public Boolean supports(@NotNull software.constructs.IConstruct construct) Check if this mixin supports the given construct. -
getProps
-
getStrategy
-