pub struct ResourceTargetDefinition {
pub attribute: Option<String>,
pub name: Option<String>,
pub requires_recreation: Option<String>,
}
Expand description
The field that AWS CloudFormation will change, such as the name of a resource's property, and whether the resource will be recreated.
Fields
attribute: Option<String>
Indicates which resource attribute is triggering this update, such as a change in the resource attribute's Metadata
, Properties
, or Tags
.
name: Option<String>
If the Attribute
value is Properties
, the name of the property. For all other attributes, the value is null.
requires_recreation: Option<String>
If the Attribute
value is Properties
, indicates whether a change to this property causes the resource to be recreated. The value can be Never
, Always
, or Conditionally
. To determine the conditions for a Conditionally
recreation, see the update behavior for that property in the AWS CloudFormation User Guide.
Trait Implementations
sourceimpl Clone for ResourceTargetDefinition
impl Clone for ResourceTargetDefinition
sourcefn clone(&self) -> ResourceTargetDefinition
fn clone(&self) -> ResourceTargetDefinition
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ResourceTargetDefinition
impl Debug for ResourceTargetDefinition
sourceimpl Default for ResourceTargetDefinition
impl Default for ResourceTargetDefinition
sourcefn default() -> ResourceTargetDefinition
fn default() -> ResourceTargetDefinition
Returns the “default value” for a type. Read more
sourceimpl PartialEq<ResourceTargetDefinition> for ResourceTargetDefinition
impl PartialEq<ResourceTargetDefinition> for ResourceTargetDefinition
sourcefn eq(&self, other: &ResourceTargetDefinition) -> bool
fn eq(&self, other: &ResourceTargetDefinition) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ResourceTargetDefinition) -> bool
fn ne(&self, other: &ResourceTargetDefinition) -> bool
This method tests for !=
.
impl StructuralPartialEq for ResourceTargetDefinition
Auto Trait Implementations
impl RefUnwindSafe for ResourceTargetDefinition
impl Send for ResourceTargetDefinition
impl Sync for ResourceTargetDefinition
impl Unpin for ResourceTargetDefinition
impl UnwindSafe for ResourceTargetDefinition
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more