Struct aws_sdk_imagebuilder::types::WorkflowConfiguration
source · #[non_exhaustive]pub struct WorkflowConfiguration {
pub workflow_arn: String,
pub parameters: Option<Vec<WorkflowParameter>>,
pub parallel_group: Option<String>,
pub on_failure: Option<OnWorkflowFailure>,
}
Expand description
Contains control settings and configurable inputs for a workflow resource.
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.workflow_arn: String
The Amazon Resource Name (ARN) of the workflow resource.
parameters: Option<Vec<WorkflowParameter>>
Contains parameter values for each of the parameters that the workflow document defined for the workflow resource.
parallel_group: Option<String>
Test workflows are defined within named runtime groups called parallel groups. The parallel group is the named group that contains this test workflow. Test workflows within a parallel group can run at the same time. Image Builder starts up to five test workflows in the group at the same time, and starts additional workflows as others complete, until all workflows in the group have completed. This field only applies for test workflows.
on_failure: Option<OnWorkflowFailure>
The action to take if the workflow fails.
Implementations§
source§impl WorkflowConfiguration
impl WorkflowConfiguration
sourcepub fn workflow_arn(&self) -> &str
pub fn workflow_arn(&self) -> &str
The Amazon Resource Name (ARN) of the workflow resource.
sourcepub fn parameters(&self) -> &[WorkflowParameter]
pub fn parameters(&self) -> &[WorkflowParameter]
Contains parameter values for each of the parameters that the workflow document defined for the workflow resource.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .parameters.is_none()
.
sourcepub fn parallel_group(&self) -> Option<&str>
pub fn parallel_group(&self) -> Option<&str>
Test workflows are defined within named runtime groups called parallel groups. The parallel group is the named group that contains this test workflow. Test workflows within a parallel group can run at the same time. Image Builder starts up to five test workflows in the group at the same time, and starts additional workflows as others complete, until all workflows in the group have completed. This field only applies for test workflows.
sourcepub fn on_failure(&self) -> Option<&OnWorkflowFailure>
pub fn on_failure(&self) -> Option<&OnWorkflowFailure>
The action to take if the workflow fails.
source§impl WorkflowConfiguration
impl WorkflowConfiguration
sourcepub fn builder() -> WorkflowConfigurationBuilder
pub fn builder() -> WorkflowConfigurationBuilder
Creates a new builder-style object to manufacture WorkflowConfiguration
.
Trait Implementations§
source§impl Clone for WorkflowConfiguration
impl Clone for WorkflowConfiguration
source§fn clone(&self) -> WorkflowConfiguration
fn clone(&self) -> WorkflowConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for WorkflowConfiguration
impl Debug for WorkflowConfiguration
source§impl PartialEq for WorkflowConfiguration
impl PartialEq for WorkflowConfiguration
source§fn eq(&self, other: &WorkflowConfiguration) -> bool
fn eq(&self, other: &WorkflowConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for WorkflowConfiguration
Auto Trait Implementations§
impl Freeze for WorkflowConfiguration
impl RefUnwindSafe for WorkflowConfiguration
impl Send for WorkflowConfiguration
impl Sync for WorkflowConfiguration
impl Unpin for WorkflowConfiguration
impl UnwindSafe for WorkflowConfiguration
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more