four 0.0.13

framework for creating AWS CloudFormation template
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use nutype::nutype;

#[nutype(
    validate(not_empty, len_char_max = 128, regex = r#"[\w._-]+"#),
    derive(Debug, Clone, Serialize)
)]
pub struct SAMLProviderName(String);

#[nutype(
    validate(len_char_min = 1000, len_char_max = 10000000),
    derive(Debug, Clone, Serialize)
)]
pub struct SAMLMetadataDocument(String);