pub struct ParameterInfo {
pub param_type: String,
pub default: Option<String>,
pub allowed_values: Option<Vec<String>>,
pub allowed_pattern: Option<String>,
pub min_length: Option<u64>,
pub max_length: Option<u64>,
pub min_value: Option<i64>,
pub max_value: Option<i64>,
pub description: Option<String>,
pub no_echo: bool,
pub allowed_pattern_valid: Option<bool>,
pub default_matches_allowed_pattern: Option<bool>,
}Expand description
A template Parameter’s declaration: its type, constraints (allowed values/pattern, length and value bounds), default, and description.
Fields§
§param_type: StringThe parameter’s declared CloudFormation type (for example String, Number, or an AWS-specific type); defaults to String when the template omits Type.
default: Option<String>§allowed_values: Option<Vec<String>>§allowed_pattern: Option<String>§min_length: Option<u64>§max_length: Option<u64>§min_value: Option<i64>§max_value: Option<i64>§description: Option<String>§no_echo: boolWhether the parameter is declared with NoEcho, meaning its value is masked in CloudFormation output.
allowed_pattern_valid: Option<bool>Whether the AllowedPattern is a valid, supported regular expression; absent when no AllowedPattern is declared.
default_matches_allowed_pattern: Option<bool>Whether the Default value satisfies the AllowedPattern; absent unless both a Default and an AllowedPattern are declared.
Trait Implementations§
Source§impl Clone for ParameterInfo
impl Clone for ParameterInfo
Source§fn clone(&self) -> ParameterInfo
fn clone(&self) -> ParameterInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ParameterInfo
impl Debug for ParameterInfo
Source§impl<'de> Deserialize<'de> for ParameterInfo
impl<'de> Deserialize<'de> for ParameterInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ParameterInfo
impl RefUnwindSafe for ParameterInfo
impl Send for ParameterInfo
impl Sync for ParameterInfo
impl Unpin for ParameterInfo
impl UnsafeUnpin for ParameterInfo
impl UnwindSafe for ParameterInfo
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
Mutably borrows from an owned value. Read more