Struct aws_sdk_cloudformation::operation::update_generated_template::UpdateGeneratedTemplateInput
source · #[non_exhaustive]pub struct UpdateGeneratedTemplateInput {
pub generated_template_name: Option<String>,
pub new_generated_template_name: Option<String>,
pub add_resources: Option<Vec<ResourceDefinition>>,
pub remove_resources: Option<Vec<String>>,
pub refresh_all_resources: Option<bool>,
pub template_configuration: Option<TemplateConfiguration>,
}
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.generated_template_name: Option<String>
The name or Amazon Resource Name (ARN) of a generated template.
new_generated_template_name: Option<String>
An optional new name to assign to the generated template.
add_resources: Option<Vec<ResourceDefinition>>
An optional list of resources to be added to the generated template.
remove_resources: Option<Vec<String>>
A list of logical ids for resources to remove from the generated template.
refresh_all_resources: Option<bool>
If true
, update the resource properties in the generated template with their current live state. This feature is useful when the resource properties in your generated a template does not reflect the live state of the resource properties. This happens when a user update the resource properties after generating a template.
template_configuration: Option<TemplateConfiguration>
The configuration details of the generated template, including the DeletionPolicy
and UpdateReplacePolicy
.
Implementations§
source§impl UpdateGeneratedTemplateInput
impl UpdateGeneratedTemplateInput
sourcepub fn generated_template_name(&self) -> Option<&str>
pub fn generated_template_name(&self) -> Option<&str>
The name or Amazon Resource Name (ARN) of a generated template.
sourcepub fn new_generated_template_name(&self) -> Option<&str>
pub fn new_generated_template_name(&self) -> Option<&str>
An optional new name to assign to the generated template.
sourcepub fn add_resources(&self) -> &[ResourceDefinition]
pub fn add_resources(&self) -> &[ResourceDefinition]
An optional list of resources to be added to the generated template.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .add_resources.is_none()
.
sourcepub fn remove_resources(&self) -> &[String]
pub fn remove_resources(&self) -> &[String]
A list of logical ids for resources to remove from the generated template.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .remove_resources.is_none()
.
sourcepub fn refresh_all_resources(&self) -> Option<bool>
pub fn refresh_all_resources(&self) -> Option<bool>
If true
, update the resource properties in the generated template with their current live state. This feature is useful when the resource properties in your generated a template does not reflect the live state of the resource properties. This happens when a user update the resource properties after generating a template.
sourcepub fn template_configuration(&self) -> Option<&TemplateConfiguration>
pub fn template_configuration(&self) -> Option<&TemplateConfiguration>
The configuration details of the generated template, including the DeletionPolicy
and UpdateReplacePolicy
.
source§impl UpdateGeneratedTemplateInput
impl UpdateGeneratedTemplateInput
sourcepub fn builder() -> UpdateGeneratedTemplateInputBuilder
pub fn builder() -> UpdateGeneratedTemplateInputBuilder
Creates a new builder-style object to manufacture UpdateGeneratedTemplateInput
.
Trait Implementations§
source§impl Clone for UpdateGeneratedTemplateInput
impl Clone for UpdateGeneratedTemplateInput
source§fn clone(&self) -> UpdateGeneratedTemplateInput
fn clone(&self) -> UpdateGeneratedTemplateInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateGeneratedTemplateInput
impl Debug for UpdateGeneratedTemplateInput
source§impl PartialEq for UpdateGeneratedTemplateInput
impl PartialEq for UpdateGeneratedTemplateInput
source§fn eq(&self, other: &UpdateGeneratedTemplateInput) -> bool
fn eq(&self, other: &UpdateGeneratedTemplateInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateGeneratedTemplateInput
Auto Trait Implementations§
impl Freeze for UpdateGeneratedTemplateInput
impl RefUnwindSafe for UpdateGeneratedTemplateInput
impl Send for UpdateGeneratedTemplateInput
impl Sync for UpdateGeneratedTemplateInput
impl Unpin for UpdateGeneratedTemplateInput
impl UnwindSafe for UpdateGeneratedTemplateInput
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