#[non_exhaustive]pub struct SignalResourceInput {
pub stack_name: Option<String>,
pub logical_resource_id: Option<String>,
pub unique_id: Option<String>,
pub status: Option<ResourceSignalStatus>,
}
Expand description
The input for the SignalResource
action.
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.stack_name: Option<String>
The stack name or unique stack ID that includes the resource that you want to signal.
logical_resource_id: Option<String>
The logical ID of the resource that you want to signal. The logical ID is the name of the resource that given in the template.
unique_id: Option<String>
A unique ID of the signal. When you signal Amazon EC2 instances or Auto Scaling groups, specify the instance ID that you are signaling as the unique ID. If you send multiple signals to a single resource (such as signaling a wait condition), each signal requires a different unique ID.
status: Option<ResourceSignalStatus>
The status of the signal, which is either success or failure. A failure signal causes CloudFormation to immediately fail the stack creation or update.
Implementations§
source§impl SignalResourceInput
impl SignalResourceInput
sourcepub fn stack_name(&self) -> Option<&str>
pub fn stack_name(&self) -> Option<&str>
The stack name or unique stack ID that includes the resource that you want to signal.
sourcepub fn logical_resource_id(&self) -> Option<&str>
pub fn logical_resource_id(&self) -> Option<&str>
The logical ID of the resource that you want to signal. The logical ID is the name of the resource that given in the template.
sourcepub fn unique_id(&self) -> Option<&str>
pub fn unique_id(&self) -> Option<&str>
A unique ID of the signal. When you signal Amazon EC2 instances or Auto Scaling groups, specify the instance ID that you are signaling as the unique ID. If you send multiple signals to a single resource (such as signaling a wait condition), each signal requires a different unique ID.
sourcepub fn status(&self) -> Option<&ResourceSignalStatus>
pub fn status(&self) -> Option<&ResourceSignalStatus>
The status of the signal, which is either success or failure. A failure signal causes CloudFormation to immediately fail the stack creation or update.
source§impl SignalResourceInput
impl SignalResourceInput
sourcepub fn builder() -> SignalResourceInputBuilder
pub fn builder() -> SignalResourceInputBuilder
Creates a new builder-style object to manufacture SignalResourceInput
.
Trait Implementations§
source§impl Clone for SignalResourceInput
impl Clone for SignalResourceInput
source§fn clone(&self) -> SignalResourceInput
fn clone(&self) -> SignalResourceInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SignalResourceInput
impl Debug for SignalResourceInput
source§impl PartialEq for SignalResourceInput
impl PartialEq for SignalResourceInput
source§fn eq(&self, other: &SignalResourceInput) -> bool
fn eq(&self, other: &SignalResourceInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SignalResourceInput
Auto Trait Implementations§
impl Freeze for SignalResourceInput
impl RefUnwindSafe for SignalResourceInput
impl Send for SignalResourceInput
impl Sync for SignalResourceInput
impl Unpin for SignalResourceInput
impl UnwindSafe for SignalResourceInput
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