Struct aws_sdk_sagemaker::model::DeploymentConfig [−][src]
#[non_exhaustive]pub struct DeploymentConfig {
pub blue_green_update_policy: Option<BlueGreenUpdatePolicy>,
pub auto_rollback_configuration: Option<AutoRollbackConfig>,
}
Expand description
The deployment configuration for an endpoint, which contains the desired deployment strategy and rollback configurations.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.blue_green_update_policy: Option<BlueGreenUpdatePolicy>
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.
auto_rollback_configuration: Option<AutoRollbackConfig>
Automatic rollback configuration for handling endpoint deployment failures and recovery.
Implementations
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.
Automatic rollback configuration for handling endpoint deployment failures and recovery.
Creates a new builder-style object to manufacture DeploymentConfig
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for DeploymentConfig
impl Send for DeploymentConfig
impl Sync for DeploymentConfig
impl Unpin for DeploymentConfig
impl UnwindSafe for DeploymentConfig
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more