Interface CloudFormationResourceJson

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CloudFormationResourceJson.Jsii$Proxy

@Generated(value="jsii-pacmak/1.133.0 (build 0f43e37)", date="2026-06-16T16:14:35.342Z") @Stability(Stable) public interface CloudFormationResourceJson extends software.amazon.jsii.JsiiSerializable
A node in the construct creation stack trace.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.cloud_assembly_schema.*;
 CloudFormationResourceJson cloudFormationResourceJson = CloudFormationResourceJson.builder()
         .logicalId("logicalId")
         .templatePath("templatePath")
         // the properties below are optional
         .propertyPaths(List.of("propertyPaths"))
         .build();
 
  • Method Details

    • getLogicalId

      @Stability(Stable) @NotNull String getLogicalId()
      The logical ID of the resource in the CloudFormation template.
    • getTemplatePath

      @Stability(Stable) @NotNull String getTemplatePath()
      The path to the CloudFormation template containing this resource.
    • getPropertyPaths

      @Stability(Stable) @Nullable default List<String> getPropertyPaths()
      Properties within the construct where the violation was detected.

      Either a single component, in which case it regards a top-level property name, or a JSON path (starting with $.) to indicate a deeper property.

      Default: - no locations

    • builder

      @Stability(Stable) static CloudFormationResourceJson.Builder builder()
      Returns:
      a CloudFormationResourceJson.Builder of CloudFormationResourceJson