four 0.0.13

framework for creating AWS CloudFormation template
Documentation
1
2
3
4
5
6
7
use nutype::nutype;

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