Struct aws_sdk_appconfig::types::Validator
source · #[non_exhaustive]pub struct Validator {
pub type: Option<ValidatorType>,
pub content: Option<String>,
}Expand description
A validator provides a syntactic or semantic check to ensure the configuration that you want to deploy functions as intended. To validate your application configuration data, you provide a schema or an Amazon Web Services Lambda function that runs against the configuration. The configuration deployment or update can only proceed when the configuration data is valid.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.type: Option<ValidatorType>AppConfig supports validators of type JSON_SCHEMA and LAMBDA
content: Option<String>Either the JSON Schema content or the Amazon Resource Name (ARN) of an Lambda function.
Implementations§
Trait Implementations§
source§impl PartialEq<Validator> for Validator
impl PartialEq<Validator> for Validator
impl StructuralPartialEq for Validator
Auto Trait Implementations§
impl RefUnwindSafe for Validator
impl Send for Validator
impl Sync for Validator
impl Unpin for Validator
impl UnwindSafe for Validator
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