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 ==
.