Struct aws_sdk_cloudformation::model::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
sourceimpl 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
impl StructuralPartialEq for Parameter
Auto Trait Implementations
impl RefUnwindSafe for Parameter
impl Send for Parameter
impl Sync for Parameter
impl Unpin for Parameter
impl UnwindSafe for Parameter
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> 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