#[non_exhaustive]pub struct ParameterDeclaration {
pub parameter_key: Option<String>,
pub default_value: Option<String>,
pub parameter_type: Option<String>,
pub no_echo: Option<bool>,
pub description: Option<String>,
pub parameter_constraints: Option<ParameterConstraints>,
}
Expand description
The ParameterDeclaration 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 name that's associated with the parameter.
default_value: Option<String>
The default value of the parameter.
parameter_type: Option<String>
The type of parameter.
no_echo: Option<bool>
Flag that indicates whether the parameter value is shown as plain text in logs and in the Amazon Web Services Management Console.
description: Option<String>
The description that's associate with the parameter.
parameter_constraints: Option<ParameterConstraints>
The criteria that CloudFormation uses to validate parameter values.
Implementations§
source§impl ParameterDeclaration
impl ParameterDeclaration
sourcepub fn parameter_key(&self) -> Option<&str>
pub fn parameter_key(&self) -> Option<&str>
The name that's associated with the parameter.
sourcepub fn default_value(&self) -> Option<&str>
pub fn default_value(&self) -> Option<&str>
The default value of the parameter.
sourcepub fn parameter_type(&self) -> Option<&str>
pub fn parameter_type(&self) -> Option<&str>
The type of parameter.
sourcepub fn no_echo(&self) -> Option<bool>
pub fn no_echo(&self) -> Option<bool>
Flag that indicates whether the parameter value is shown as plain text in logs and in the Amazon Web Services Management Console.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description that's associate with the parameter.
sourcepub fn parameter_constraints(&self) -> Option<&ParameterConstraints>
pub fn parameter_constraints(&self) -> Option<&ParameterConstraints>
The criteria that CloudFormation uses to validate parameter values.
source§impl ParameterDeclaration
impl ParameterDeclaration
sourcepub fn builder() -> ParameterDeclarationBuilder
pub fn builder() -> ParameterDeclarationBuilder
Creates a new builder-style object to manufacture ParameterDeclaration
.
Trait Implementations§
source§impl Clone for ParameterDeclaration
impl Clone for ParameterDeclaration
source§fn clone(&self) -> ParameterDeclaration
fn clone(&self) -> ParameterDeclaration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ParameterDeclaration
impl Debug for ParameterDeclaration
source§impl PartialEq for ParameterDeclaration
impl PartialEq for ParameterDeclaration
source§fn eq(&self, other: &ParameterDeclaration) -> bool
fn eq(&self, other: &ParameterDeclaration) -> bool
self
and other
values to be equal, and is used
by ==
.