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.139.0 (build 26a6b54)", date="2026-09-17T14:53:55.837Z") @Stability(Stable) public interface IPolicyValidationContext extends software.amazon.jsii.JsiiSerializable
Context available to the validation plugin.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Internal default implementation for IPolicyValidationContext.
    static final class 
    A proxy class which represents a concrete javascript instance of this type.
  • Method Summary

    Modifier and Type
    Method
    Description
    default String
    Deprecated.
    Use stackTemplates instead, which contains the account ID for each stack.
    software.constructs.IConstruct
    The root construct of the app being validated.
    default String
    Deprecated.
    Use stackTemplates instead, which contains the region for each stack.
    The absolute path of all templates to be processed, along with the stack construct path for each template.
    The absolute path of all templates to be processed.

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • 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(Deprecated) @Deprecated @Nullable default String getAccountId()
      Deprecated.
      Use stackTemplates instead, which contains the account ID for each stack.
      (deprecated) The account ID for these templates, if known.

      Only set if all stacks have the exact same account ID.

    • getRegion

      @Stability(Deprecated) @Deprecated @Nullable default String getRegion()
      Deprecated.
      Use stackTemplates instead, which contains the region for each stack.
      (deprecated) The region for these templates, if known.

      Only set if all stacks have the exact same region.