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.101.0 (build b95fe5d)", date="2024-07-11T03:45:49.459Z") @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:
  • 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

      @Stability(Stable) @NotNull public String getDeploymentStrategyArn()
      The Amazon Resource Name (ARN) of the deployment strategy.
      Specified by:
      getDeploymentStrategyArn in interface IDeploymentStrategy
    • getDeploymentStrategyId

      @Stability(Stable) @NotNull public String getDeploymentStrategyId()
      The ID of the deployment strategy.
      Specified by:
      getDeploymentStrategyId in interface IDeploymentStrategy
    • getDeploymentDurationInMinutes

      @Stability(Stable) @Nullable public Number getDeploymentDurationInMinutes()
      The deployment duration in minutes of the deployment strategy.
      Specified by:
      getDeploymentDurationInMinutes in interface IDeploymentStrategy
    • getDescription

      @Stability(Stable) @Nullable public String getDescription()
      The description of the deployment strategy.
      Specified by:
      getDescription in interface IDeploymentStrategy
    • getFinalBakeTimeInMinutes

      @Stability(Stable) @Nullable public Number getFinalBakeTimeInMinutes()
      The final bake time in minutes of the deployment strategy.
      Specified by:
      getFinalBakeTimeInMinutes in interface IDeploymentStrategy
    • getGrowthFactor

      @Stability(Stable) @Nullable public Number getGrowthFactor()
      The growth factor of the deployment strategy.
      Specified by:
      getGrowthFactor in interface IDeploymentStrategy
    • getGrowthType

      @Stability(Stable) @Nullable public GrowthType getGrowthType()
      The growth type of the deployment strategy.
      Specified by:
      getGrowthType in interface IDeploymentStrategy
    • getName

      @Stability(Stable) @Nullable public String getName()
      The name of the deployment strategy.
      Specified by:
      getName in interface IDeploymentStrategy