Interface IPolicyValidationContext

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Subinterfaces:
IPolicyValidationContext.Jsii$Default
All Known Implementing Classes:
IPolicyValidationContext.Jsii$Proxy

@Generated(value="jsii-pacmak/1.138.0 (build 0ca7ee8)", date="2026-07-31T10:49:21.762Z") @Stability(Stable) public interface IPolicyValidationContext extends software.amazon.jsii.JsiiSerializable
Context available to the validation plugin.
  • Method Details

    • getAppConstruct

      @Stability(Stable) @NotNull software.constructs.IConstruct getAppConstruct()
      The root construct of the app being validated.

      Plugins may walk this tree for typed L1 property access and token resolution via Stack.of(node).resolve(). The tree is finalized and should be treated as read-only; mutations have no effect on synthesized output.

    • getStackTemplates

      @Stability(Stable) @NotNull List<PolicyValidationStack> getStackTemplates()
      The absolute path of all templates to be processed, along with the stack construct path for each template.
    • getTemplatePaths

      @Stability(Stable) @NotNull List<String> getTemplatePaths()
      The absolute path of all templates to be processed.
    • getAccountId

      @Stability(Stable) @Nullable default String getAccountId()
      The account ID for these templates, if known.
    • getRegion

      @Stability(Stable) @Nullable default String getRegion()
      The region for these templates, if known.