Interface AmiContextQuery

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

@Generated(value="jsii-pacmak/1.96.0 (build 921e240)", date="2024-04-10T22:22:36.697Z") @Stability(Stable) public interface AmiContextQuery extends software.amazon.jsii.JsiiSerializable
Query to AMI context provider.

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.*;
 AmiContextQuery amiContextQuery = 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();
 
  • Method Details

    • getAccount

      @Stability(Stable) @NotNull String getAccount()
      Account to query.
    • getFilters

      @Stability(Stable) @NotNull Map<String,List<String>> getFilters()
      Filters to DescribeImages call.
    • getRegion

      @Stability(Stable) @NotNull String getRegion()
      Region to query.
    • getLookupRoleArn

      @Stability(Stable) @Nullable default String getLookupRoleArn()
      The ARN of the role that should be used to look up the missing values.

      Default: - None

    • getOwners

      @Stability(Stable) @Nullable default List<String> getOwners()
      Owners to DescribeImages call.

      Default: - All owners

    • builder

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