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.104.0 (build e79254c)",
date="2024-11-22T02:23:56.530Z")
@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 classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.appconfig.IDeploymentStrategy
IDeploymentStrategy.Jsii$Default, IDeploymentStrategy.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.IResource
IResource.Jsii$Default
-
Constructor Summary
ModifierConstructorDescriptionprotected
DeploymentStrategy
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
DeploymentStrategy
(software.amazon.jsii.JsiiObjectRef objRef) DeploymentStrategy
(software.constructs.Construct scope, String id, DeploymentStrategyProps props) -
Method Summary
Modifier and TypeMethodDescriptionstatic IDeploymentStrategy
fromDeploymentStrategyArn
(software.constructs.Construct scope, String id, String deploymentStrategyArn) Imports a deployment strategy into the CDK using its Amazon Resource Name (ARN).static IDeploymentStrategy
fromDeploymentStrategyId
(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, isResource
Methods inherited from class software.constructs.Construct
getNode, isConstruct, 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.constructs.IConstruct
getNode
Methods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, getEnv, getStack
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
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:
getDeploymentStrategyArn
in interfaceIDeploymentStrategy
-
getDeploymentStrategyId
The ID of the deployment strategy.- Specified by:
getDeploymentStrategyId
in interfaceIDeploymentStrategy
-
getDeploymentDurationInMinutes
The deployment duration in minutes of the deployment strategy.- Specified by:
getDeploymentDurationInMinutes
in interfaceIDeploymentStrategy
-
getDescription
The description of the deployment strategy.- Specified by:
getDescription
in interfaceIDeploymentStrategy
-
getFinalBakeTimeInMinutes
The final bake time in minutes of the deployment strategy.- Specified by:
getFinalBakeTimeInMinutes
in interfaceIDeploymentStrategy
-
getGrowthFactor
The growth factor of the deployment strategy.- Specified by:
getGrowthFactor
in interfaceIDeploymentStrategy
-
getGrowthType
The growth type of the deployment strategy.- Specified by:
getGrowthType
in interfaceIDeploymentStrategy
-
getName
The name of the deployment strategy.- Specified by:
getName
in interfaceIDeploymentStrategy
-