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.