Class DeploymentStrategy
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.Resource
software.amazon.awscdk.services.appconfig.DeploymentStrategy
- All Implemented Interfaces:
IResource,IDeploymentStrategy,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-24T13:34:30.698Z")
@Stability(Stable)
public class DeploymentStrategy
extends Resource
implements IDeploymentStrategy
An AWS AppConfig deployment strategy.
Example:
DeploymentStrategy.Builder.create(this, "MyDeploymentStrategy")
.rolloutStrategy(RolloutStrategy.linear(RolloutStrategyProps.builder()
.growthFactor(20)
.deploymentDuration(Duration.minutes(30))
.finalBakeTime(Duration.minutes(30))
.build()))
.build();
- See Also:
-
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.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.services.appconfig.IDeploymentStrategy
IDeploymentStrategy.Jsii$Default, IDeploymentStrategy.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IResource
IResource.Jsii$Default -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDeploymentStrategy(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedDeploymentStrategy(software.amazon.jsii.JsiiObjectRef objRef) DeploymentStrategy(software.constructs.Construct scope, String id, DeploymentStrategyProps props) -
Method Summary
Modifier and TypeMethodDescriptionstatic IDeploymentStrategyfromDeploymentStrategyArn(software.constructs.Construct scope, String id, String deploymentStrategyArn) Imports a deployment strategy into the CDK using its Amazon Resource Name (ARN).static IDeploymentStrategyfromDeploymentStrategyId(software.constructs.Construct scope, String id, DeploymentStrategyId deploymentStrategyId) Imports a deployment strategy into the CDK using its ID.The deployment duration in minutes of the deployment strategy.The Amazon Resource Name (ARN) of the deployment strategy.The ID of the deployment strategy.The description of the deployment strategy.The final bake time in minutes of the deployment strategy.The growth factor of the deployment strategy.The growth type of the deployment strategy.getName()The name of the deployment strategy.Methods 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.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, getEnv, getStackMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
PROPERTY_INJECTION_ID
Uniquely identifies this class.
-
-
Constructor Details
-
DeploymentStrategy
protected DeploymentStrategy(software.amazon.jsii.JsiiObjectRef objRef) -
DeploymentStrategy
protected DeploymentStrategy(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
DeploymentStrategy
@Stability(Stable) public DeploymentStrategy(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull DeploymentStrategyProps props) - Parameters:
scope- This parameter is required.id- This parameter is required.props- This parameter is required.
-
-
Method Details
-
fromDeploymentStrategyArn
@Stability(Stable) @NotNull public static IDeploymentStrategy fromDeploymentStrategyArn(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String deploymentStrategyArn) Imports a deployment strategy into the CDK using its Amazon Resource Name (ARN).- Parameters:
scope- The parent construct. This parameter is required.id- The name of the deployment strategy construct. This parameter is required.deploymentStrategyArn- The Amazon Resource Name (ARN) of the deployment strategy. This parameter is required.
-
fromDeploymentStrategyId
@Stability(Stable) @NotNull public static IDeploymentStrategy fromDeploymentStrategyId(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull DeploymentStrategyId deploymentStrategyId) Imports a deployment strategy into the CDK using its ID.- Parameters:
scope- The parent construct. This parameter is required.id- The name of the deployment strategy construct. This parameter is required.deploymentStrategyId- The ID of the deployment strategy. This parameter is required.
-
getDeploymentStrategyArn
The Amazon Resource Name (ARN) of the deployment strategy.- Specified by:
getDeploymentStrategyArnin interfaceIDeploymentStrategy
-
getDeploymentStrategyId
The ID of the deployment strategy.- Specified by:
getDeploymentStrategyIdin interfaceIDeploymentStrategy
-
getDeploymentDurationInMinutes
The deployment duration in minutes of the deployment strategy.- Specified by:
getDeploymentDurationInMinutesin interfaceIDeploymentStrategy
-
getDescription
The description of the deployment strategy.- Specified by:
getDescriptionin interfaceIDeploymentStrategy
-
getFinalBakeTimeInMinutes
The final bake time in minutes of the deployment strategy.- Specified by:
getFinalBakeTimeInMinutesin interfaceIDeploymentStrategy
-
getGrowthFactor
The growth factor of the deployment strategy.- Specified by:
getGrowthFactorin interfaceIDeploymentStrategy
-
getGrowthType
The growth type of the deployment strategy.- Specified by:
getGrowthTypein interfaceIDeploymentStrategy
-
getName
The name of the deployment strategy.- Specified by:
getNamein interfaceIDeploymentStrategy
-