Interface MissingContext

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

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:29:54.700Z") @Stability(Stable) public interface MissingContext extends software.amazon.jsii.JsiiSerializable
Represents a missing piece of context.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.cloudassembly.schema.*;
 MissingContext missingContext = MissingContext.builder()
         .key("key")
         .props(AmiContextQuery.builder()
                 .account("account")
                 .filters(Map.of(
                         "filtersKey", List.of("filters")))
                 .region("region")
                 // the properties below are optional
                 .lookupRoleArn("lookupRoleArn")
                 .owners(List.of("owners"))
                 .build())
         .provider(ContextProvider.AMI_PROVIDER)
         .build();
 
  • Method Details

    • getKey

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

      @Stability(Stable) @NotNull Object getProps()
      A set of provider-specific options.
    • getProvider

      @Stability(Stable) @NotNull ContextProvider getProvider()
      The provider from which we expect this context key to be obtained.
    • builder

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