#[non_exhaustive]pub struct ResourceTargetDefinition { /* private fields */ }Expand description
The field that CloudFormation will change, such as the name of a resource's property, and whether the resource will be recreated.
Implementations
sourceimpl ResourceTargetDefinition
impl ResourceTargetDefinition
sourcepub fn attribute(&self) -> Option<&ResourceAttribute>
pub fn attribute(&self) -> Option<&ResourceAttribute>
Indicates which resource attribute is triggering this update, such as a change in the resource attribute's Metadata, Properties, or Tags.
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
If the Attribute value is Properties, the name of the property. For all other attributes, the value is null.
sourcepub fn requires_recreation(&self) -> Option<&RequiresRecreation>
pub fn requires_recreation(&self) -> Option<&RequiresRecreation>
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 CloudFormation User Guide.
sourceimpl ResourceTargetDefinition
impl ResourceTargetDefinition
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ResourceTargetDefinition.
Trait Implementations
sourceimpl Clone for ResourceTargetDefinition
impl Clone for ResourceTargetDefinition
sourcefn clone(&self) -> ResourceTargetDefinition
fn clone(&self) -> ResourceTargetDefinition
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more