pub struct RuleTables {Show 22 fields
pub api_gateway_mixing_resource_types: Vec<String>,
pub ebs_iops_ignored_volume_types: Vec<String>,
pub ebs_iops_property_paths: Vec<ResourcePropertyPath>,
pub iam_role_arn_property_paths: Vec<ResourcePropertyPath>,
pub image_id_parameter_types: Vec<String>,
pub image_id_property_paths: Vec<ResourcePropertyPath>,
pub lambda_zip_required_properties: Vec<String>,
pub package_property_paths: Vec<ResourcePropertyPath>,
pub password_property_names: Vec<String>,
pub previous_generation_instance_pattern: String,
pub previous_generation_instance_property_paths: Vec<ResourcePropertyPath>,
pub resource_policy_paths: Vec<ResourcePropertyPath>,
pub secret_dynamic_reference_property_paths: Vec<ResourcePropertyPath>,
pub snapshot_capable_resource_types: Vec<String>,
pub snapstart_recommendation_excluded_runtimes: Vec<String>,
pub snapstart_recommendation_runtime_prefixes: Vec<String>,
pub snapstart_runtime_prefixes: Vec<String>,
pub snapstart_supported_regions: Vec<String>,
pub snapstart_unsupported_runtime_prefixes: Vec<String>,
pub snapstart_unsupported_runtimes: Vec<String>,
pub update_policy_resource_types: Vec<String>,
pub valid_parameter_types: Vec<String>,
}Expand description
Validated and parsed rule tables, ready for runtime consumption.
String arrays are checked for non-emptiness and uniqueness. Property path
arrays are parsed into ResourcePropertyPath values. The regex pattern
is stored as-is (compiled by the consumer if needed).
Fields§
§api_gateway_mixing_resource_types: Vec<String>§ebs_iops_ignored_volume_types: Vec<String>§ebs_iops_property_paths: Vec<ResourcePropertyPath>§iam_role_arn_property_paths: Vec<ResourcePropertyPath>§image_id_parameter_types: Vec<String>§image_id_property_paths: Vec<ResourcePropertyPath>§lambda_zip_required_properties: Vec<String>§package_property_paths: Vec<ResourcePropertyPath>§password_property_names: Vec<String>§previous_generation_instance_pattern: String§previous_generation_instance_property_paths: Vec<ResourcePropertyPath>§resource_policy_paths: Vec<ResourcePropertyPath>§secret_dynamic_reference_property_paths: Vec<ResourcePropertyPath>§snapshot_capable_resource_types: Vec<String>§snapstart_recommendation_excluded_runtimes: Vec<String>§snapstart_recommendation_runtime_prefixes: Vec<String>§snapstart_runtime_prefixes: Vec<String>§snapstart_supported_regions: Vec<String>§snapstart_unsupported_runtime_prefixes: Vec<String>§snapstart_unsupported_runtimes: Vec<String>§update_policy_resource_types: Vec<String>§valid_parameter_types: Vec<String>Implementations§
Source§impl RuleTables
impl RuleTables
Sourcepub fn validate(raw: RuleTablesRaw) -> Result<Self, String>
pub fn validate(raw: RuleTablesRaw) -> Result<Self, String>
Validates and parses a RuleTablesRaw into a fully validated RuleTables.
Validation rules:
- Every
Vec<String>field must be non-empty, contain no empty strings, and have no duplicates. - Every
*_property_paths/*_pathsfield must parse into validResourcePropertyPathvalues. ebs_iops_property_pathsentries must have exactly 1 or 2 wildcards and end in theWildcard, Literal("Ebs")shape required by consumers.- The
previous_generation_instance_patternmust be non-empty.
Trait Implementations§
Source§impl Clone for RuleTables
impl Clone for RuleTables
Source§impl Debug for RuleTables
impl Debug for RuleTables
Source§impl<'de> Deserialize<'de> for RuleTables
impl<'de> Deserialize<'de> for RuleTables
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 RuleTables
impl RefUnwindSafe for RuleTables
impl Send for RuleTables
impl Sync for RuleTables
impl Unpin for RuleTables
impl UnsafeUnpin for RuleTables
impl UnwindSafe for RuleTables
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