Class DeploymentStrategyId

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.appconfig.DeploymentStrategyId
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.98.0 (build 00b106d)", date="2024-05-24T02:42:33.440Z") @Stability(Stable) public abstract class DeploymentStrategyId extends software.amazon.jsii.JsiiObject
Defines the deployment strategy ID's of AWS AppConfig deployment strategies.

Example:

 DeploymentStrategy.fromDeploymentStrategyId(this, "MyImportedDeploymentStrategy", DeploymentStrategyId.fromString("abc123"));
 

See Also:
  • Field Details

    • ALL_AT_ONCE

      @Stability(Stable) public static final DeploymentStrategyId ALL_AT_ONCE
      Quick.

      This strategy deploys the configuration to all targets immediately.

    • CANARY_10_PERCENT_20_MINUTES

      @Stability(Stable) public static final DeploymentStrategyId CANARY_10_PERCENT_20_MINUTES
      AWS Recommended.

      This strategy processes the deployment exponentially using a 10% growth factor over 20 minutes. AWS AppConfig recommends using this strategy for production deployments because it aligns with AWS best practices for configuration deployments.

    • LINEAR_20_PERCENT_EVERY_6_MINUTES

      @Stability(Stable) public static final DeploymentStrategyId LINEAR_20_PERCENT_EVERY_6_MINUTES
      AWS Recommended.

      This strategy deploys the configuration to 20% of all targets every six minutes for a 30 minute deployment. AWS AppConfig recommends using this strategy for production deployments because it aligns with AWS best practices for configuration deployments.

    • LINEAR_50_PERCENT_EVERY_30_SECONDS

      @Stability(Stable) public static final DeploymentStrategyId LINEAR_50_PERCENT_EVERY_30_SECONDS
      Testing/Demonstration.

      This strategy deploys the configuration to half of all targets every 30 seconds for a one-minute deployment. AWS AppConfig recommends using this strategy only for testing or demonstration purposes because it has a short duration and bake time.

  • Constructor Details

    • DeploymentStrategyId

      protected DeploymentStrategyId(software.amazon.jsii.JsiiObjectRef objRef)
    • DeploymentStrategyId

      protected DeploymentStrategyId(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • DeploymentStrategyId

      @Stability(Stable) protected DeploymentStrategyId()
  • Method Details

    • fromString

      @Stability(Stable) @NotNull public static DeploymentStrategyId fromString(@NotNull String deploymentStrategyId)
      Builds a deployment strategy ID from a string.

      Parameters:
      deploymentStrategyId - The deployment strategy ID. This parameter is required.
    • getId

      @Stability(Stable) @NotNull public abstract String getId()
      The deployment strategy ID.