Skip to main content

ResourceDiagnostics

Struct ResourceDiagnostics 

Source
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.

Trait Implementations§

Source§

impl Clone for ResourceDiagnostics

Source§

fn clone(&self) -> ResourceDiagnostics

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for ResourceDiagnostics

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for ResourceDiagnostics

Source§

fn default() -> ResourceDiagnostics

Returns the “default value” for a type. Read more
Source§

impl Serialize for ResourceDiagnostics

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.