Struct aws_sdk_securityhub::model::AwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerDetails
source · [−]#[non_exhaustive]pub struct AwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerDetails {
pub enable: bool,
pub rollback: bool,
}Expand description
Determines whether a service deployment fails if a service cannot reach a steady state.
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.enable: boolWhether to enable the deployment circuit breaker logic for the service.
rollback: boolWhether to roll back the service if a service deployment fails. If rollback is enabled, when a service deployment fails, the service is rolled back to the last deployment that completed successfully.
Implementations
Whether to enable the deployment circuit breaker logic for the service.
Creates a new builder-style object to manufacture AwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerDetails
Trait Implementations
fn eq(
&self,
other: &AwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerDetails
) -> bool
fn eq(
&self,
other: &AwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerDetails
) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
fn ne(
&self,
other: &AwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerDetails
) -> bool
fn ne(
&self,
other: &AwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerDetails
) -> bool
This method tests for !=.
Auto Trait Implementations
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