Interface IPolicyValidationContext.Jsii$Default

All Superinterfaces:
IPolicyValidationContext, software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
IPolicyValidationContext.Jsii$Proxy
Enclosing interface:
IPolicyValidationContext

@Internal public static interface IPolicyValidationContext.Jsii$Default extends IPolicyValidationContext
Internal default implementation for IPolicyValidationContext.
  • Method Details

    • getAppConstruct

      @Stability(Stable) @NotNull default 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.

      Specified by:
      getAppConstruct in interface IPolicyValidationContext
    • getStackTemplates

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

      @Stability(Stable) @NotNull default List<String> getTemplatePaths()
      The absolute path of all templates to be processed.
      Specified by:
      getTemplatePaths in interface IPolicyValidationContext
    • 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.

      Specified by:
      getAccountId in interface IPolicyValidationContext
    • 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.

      Specified by:
      getRegion in interface IPolicyValidationContext