pub struct DiagnosticResource {Show 23 fields
pub resource_type: String,
pub condition: Option<String>,
pub depends_on: Vec<String>,
pub deletion_policy: Option<JsonValue>,
pub update_replace_policy: Option<JsonValue>,
pub creation_policy: Option<JsonValue>,
pub update_policy: Option<JsonValue>,
pub properties: HashMap<String, JsonValue>,
pub outgoing_refs: Vec<OutgoingRef>,
pub incoming_refs: Vec<IncomingRef>,
pub find_in_map_refs: Vec<String>,
pub simple_subs: Vec<PathVariable>,
pub redundant_subs: Vec<String>,
pub empty_joins: Vec<String>,
pub hardcoded_partition_arns: Vec<String>,
pub conditionally_null_props: Vec<ConditionalNull>,
pub condition_refs: Vec<String>,
pub for_each_expansions: Vec<DiagnosticForEachExpansion>,
pub unsubstituted_variables: Vec<PathVariable>,
pub unused_sub_keys: Vec<PathVariable>,
pub raw_pseudo_params: Vec<PathVariable>,
pub secretsmanager_ref_paths: Vec<String>,
pub invalid_refs: Vec<PathTarget>,
}Expand description
A resource after intrinsic resolution, with its properties, references, and detected findings.
Fields§
§resource_type: String§condition: Option<String>Name of the condition gating whether this resource is created, if any.
depends_on: Vec<String>§deletion_policy: Option<JsonValue>§update_replace_policy: Option<JsonValue>§creation_policy: Option<JsonValue>§update_policy: Option<JsonValue>§properties: HashMap<String, JsonValue>The resource’s properties with intrinsics resolved where possible.
outgoing_refs: Vec<OutgoingRef>§incoming_refs: Vec<IncomingRef>§find_in_map_refs: Vec<String>Mapping names referenced by Fn::FindInMap within this resource.
simple_subs: Vec<PathVariable>Fn::Sub uses whose template is a single variable with no surrounding text, which could be written as a plain reference.
redundant_subs: Vec<String>Property paths where Fn::Sub has no variables to substitute.
empty_joins: Vec<String>Property paths where Fn::Join uses an empty delimiter, concatenating its elements directly.
hardcoded_partition_arns: Vec<String>Property paths where an ARN hardcodes the aws partition instead of using AWS::Partition.
conditionally_null_props: Vec<ConditionalNull>Properties that resolve to null in one branch of a condition.
condition_refs: Vec<String>Names of conditions referenced within this resource’s properties.
for_each_expansions: Vec<DiagnosticForEachExpansion>Fn::ForEach loops in this resource, each with its iteration variable and collection source.
unsubstituted_variables: Vec<PathVariable>Property paths containing ${…} text that is not an Fn::Sub variable and is left as a literal.
unused_sub_keys: Vec<PathVariable>Fn::Sub map keys not referenced in the template string, each with its path and the unused key name.
raw_pseudo_params: Vec<PathVariable>Property values that are a raw pseudo-parameter string instead of using Ref, each with its path and the pseudo-parameter name.
secretsmanager_ref_paths: Vec<String>Property paths containing a {{resolve:secretsmanager:…}} dynamic reference.
invalid_refs: Vec<PathTarget>References whose target does not resolve to any resource or parameter, each with its path and unresolved target.