Struct aws_sdk_greengrassv2::model::DeploymentPolicies [−][src]
#[non_exhaustive]pub struct DeploymentPolicies {
pub failure_handling_policy: Option<DeploymentFailureHandlingPolicy>,
pub component_update_policy: Option<DeploymentComponentUpdatePolicy>,
pub configuration_validation_policy: Option<DeploymentConfigurationValidationPolicy>,
}
Expand description
Contains information about policies that define how a deployment updates components and handles failure.
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.failure_handling_policy: Option<DeploymentFailureHandlingPolicy>
The failure handling policy for the configuration deployment. This policy defines what to do if the deployment fails.
Default: ROLLBACK
component_update_policy: Option<DeploymentComponentUpdatePolicy>
The component update policy for the configuration deployment. This policy defines when it's safe to deploy the configuration to devices.
configuration_validation_policy: Option<DeploymentConfigurationValidationPolicy>
The configuration validation policy for the configuration deployment. This policy defines how long each component has to validate its configure updates.
Implementations
Creates a new builder-style object to manufacture DeploymentPolicies
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 DeploymentPolicies
impl Send for DeploymentPolicies
impl Sync for DeploymentPolicies
impl Unpin for DeploymentPolicies
impl UnwindSafe for DeploymentPolicies
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