Struct aws_sdk_cloudformation::types::Parameter
source · #[non_exhaustive]pub struct Parameter {
pub parameter_key: Option<String>,
pub parameter_value: Option<String>,
pub use_previous_value: Option<bool>,
pub resolved_value: Option<String>,
}
Expand description
The Parameter data type.
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.parameter_key: Option<String>
The key associated with the parameter. If you don't specify a key and value for a particular parameter, CloudFormation uses the default value that's specified in your template.
parameter_value: Option<String>
The input value associated with the parameter.
use_previous_value: Option<bool>
During a stack update, use the existing parameter value that the stack is using for a given parameter key. If you specify true
, do not specify a parameter value.
resolved_value: Option<String>
Read-only. The value that corresponds to a SSM parameter key. This field is returned only for SSM parameter types in the template.
Implementations§
source§impl Parameter
impl Parameter
sourcepub fn parameter_key(&self) -> Option<&str>
pub fn parameter_key(&self) -> Option<&str>
The key associated with the parameter. If you don't specify a key and value for a particular parameter, CloudFormation uses the default value that's specified in your template.
sourcepub fn parameter_value(&self) -> Option<&str>
pub fn parameter_value(&self) -> Option<&str>
The input value associated with the parameter.
sourcepub fn use_previous_value(&self) -> Option<bool>
pub fn use_previous_value(&self) -> Option<bool>
During a stack update, use the existing parameter value that the stack is using for a given parameter key. If you specify true
, do not specify a parameter value.
sourcepub fn resolved_value(&self) -> Option<&str>
pub fn resolved_value(&self) -> Option<&str>
Read-only. The value that corresponds to a SSM parameter key. This field is returned only for SSM parameter types in the template.
Trait Implementations§
source§impl PartialEq for Parameter
impl PartialEq for Parameter
impl StructuralPartialEq for Parameter
Auto Trait Implementations§
impl Freeze for Parameter
impl RefUnwindSafe for Parameter
impl Send for Parameter
impl Sync for Parameter
impl Unpin for Parameter
impl UnwindSafe for Parameter
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