pub struct ResourceDiagnostics {Show 13 fields
pub find_in_map_refs: Vec<String>,
pub simple_subs: Vec<PathValuePair>,
pub redundant_subs: Vec<String>,
pub empty_joins: Vec<String>,
pub condition_refs: Vec<String>,
pub hardcoded_partition_arns: Vec<String>,
pub conditionally_null_props: Vec<ConditionalNullEntry>,
pub foreach_expansions: Vec<ForEachExpansion>,
pub unsubstituted_variables: Vec<PathValuePair>,
pub unused_sub_keys: Vec<PathValuePair>,
pub raw_pseudo_params: Vec<PathValuePair>,
pub secretsmanager_ref_paths: Vec<String>,
pub invalid_refs: Vec<PathValuePair>,
}Expand description
Per-resource observations collected while resolving intrinsics, used to drive lint checks.
Fields§
§find_in_map_refs: Vec<String>Mapping names referenced by Fn::FindInMap within this resource.
simple_subs: Vec<PathValuePair>Fn::Sub uses whose template is a single variable that could be a plain Ref; each pairs the property path with the variable name.
redundant_subs: Vec<String>Property paths where Fn::Sub wraps a constant string with no variables to substitute.
empty_joins: Vec<String>Property paths where Fn::Join uses an empty delimiter, concatenating its elements directly.
condition_refs: Vec<String>Names of conditions referenced by this resource’s property values.
hardcoded_partition_arns: Vec<String>Property paths building ARNs with a hardcoded ‘aws’ partition instead of AWS::Partition.
conditionally_null_props: Vec<ConditionalNullEntry>§foreach_expansions: Vec<ForEachExpansion>§unsubstituted_variables: Vec<PathValuePair>Occurrences of ${…} placeholders outside an Fn::Sub that will not be substituted; each pairs the property path with the placeholder text.
unused_sub_keys: Vec<PathValuePair>Fn::Sub map keys not referenced in the template string; each pairs the property path with the unused key name.
raw_pseudo_params: Vec<PathValuePair>Property values that are a raw pseudo-parameter string (e.g. “AWS::Region”) instead of using Ref.
secretsmanager_ref_paths: Vec<String>Property paths containing a {{resolve:secretsmanager:…}} dynamic reference.
invalid_refs: Vec<PathValuePair>References whose target is not a defined resource, parameter, or pseudo parameter; each pairs the property path with the missing target name.