Interface AmiContextQuery
-
- All Superinterfaces:
ContextLookupRoleOptions,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
AmiContextQuery.Jsii$Proxy
@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)", date="2026-07-30T08:06:26.665Z") @Stability(Stable) public interface AmiContextQuery extends software.amazon.jsii.JsiiSerializable, ContextLookupRoleOptions
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.*; Object assumeRoleAdditionalOptions; AmiContextQuery amiContextQuery = AmiContextQuery.builder() .account("account") .filters(Map.of( "filtersKey", List.of("filters"))) .region("region") // the properties below are optional .assumeRoleAdditionalOptions(Map.of( "assumeRoleAdditionalOptionsKey", assumeRoleAdditionalOptions)) .lookupRoleArn("lookupRoleArn") .lookupRoleExternalId("lookupRoleExternalId") .owners(List.of("owners")) .build();
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classAmiContextQuery.BuilderA builder forAmiContextQuerystatic classAmiContextQuery.Jsii$ProxyAn implementation forAmiContextQuery
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static AmiContextQuery.Builderbuilder()Map<String,List<String>>getFilters()Filters to DescribeImages call.default List<String>getOwners()Owners to DescribeImages call.-
Methods inherited from interface software.amazon.awscdk.cloudassembly.schema.ContextLookupRoleOptions
getAccount, getAssumeRoleAdditionalOptions, getLookupRoleArn, getLookupRoleExternalId, getRegion
-
-
-
-
Method Detail
-
getFilters
@Stability(Stable) @NotNull Map<String,List<String>> getFilters()
Filters to DescribeImages call.
-
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.BuilderofAmiContextQuery
-
-