Interface MissingContext

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

@Generated(value="jsii-pacmak/1.126.0 (build 206d44b)", date="2026-02-09T14:39:01.560Z") @Stability(Deprecated) @Deprecated public interface MissingContext extends software.amazon.jsii.JsiiSerializable
Deprecated.
Use stack.reportMissingContextKey() instead
(deprecated) Properties to `stack.reportMissingContext().

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.cxapi.*;
 Object props;
 MissingContext missingContext = MissingContext.builder()
         .key("key")
         .props(Map.of(
                 "propsKey", props))
         .provider("provider")
         .build();
 

  • Method Details

    • getKey

      @Stability(Deprecated) @Deprecated @NotNull String getKey()
      Deprecated.
      (deprecated) The missing context key.
    • getProps

      @Stability(Deprecated) @Deprecated @NotNull Map<String,Object> getProps()
      Deprecated.
      (deprecated) A set of provider-specific options.

      (This is the old untyped definition, which is necessary for backwards compatibility. See cxschema for a type definition.)

    • getProvider

      @Stability(Deprecated) @Deprecated @NotNull String getProvider()
      Deprecated.
      (deprecated) The provider from which we expect this context key to be obtained.

      (This is the old untyped definition, which is necessary for backwards compatibility. See cxschema for a type definition.)

    • builder

      @Stability(Deprecated) @Deprecated static MissingContext.Builder builder()
      Deprecated.
      Returns:
      a MissingContext.Builder of MissingContext