Interface CfnEndpoint.DeploymentConfigProperty

All Superinterfaces:
All Known Implementing Classes:
Enclosing class:

@Stability(Stable) public static interface CfnEndpoint.DeploymentConfigProperty extends
The deployment configuration for an endpoint, which contains the desired deployment strategy and rollback configurations.


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 DeploymentConfigProperty deploymentConfigProperty = DeploymentConfigProperty.builder()
                         // the properties below are optional
                 // the properties below are optional
         // the properties below are optional
  • Method Details

    • getBlueGreenUpdatePolicy

      @Stability(Stable) @NotNull Object getBlueGreenUpdatePolicy()
      Update policy for a blue/green deployment.

      If this update policy is specified, SageMaker creates a new fleet during the deployment while maintaining the old fleet. SageMaker flips traffic to the new fleet according to the specified traffic routing configuration. Only one update policy should be used in the deployment configuration. If no update policy is specified, SageMaker uses a blue/green deployment strategy with all at once traffic shifting by default.

    • getAutoRollbackConfiguration

      @Stability(Stable) @Nullable default Object getAutoRollbackConfiguration()
      Automatic rollback configuration for handling endpoint deployment failures and recovery.
    • builder

      @Stability(Stable) static CfnEndpoint.DeploymentConfigProperty.Builder builder()
      a CfnEndpoint.DeploymentConfigProperty.Builder of CfnEndpoint.DeploymentConfigProperty