Interface AmiContextQuery
- All Superinterfaces:
ContextLookupRoleOptions,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
AmiContextQuery.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-29T11:15:50.755Z")
@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.cloud_assembly_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 ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forAmiContextQuerystatic final classAn implementation forAmiContextQuery -
Method Summary
Modifier and TypeMethodDescriptionstatic AmiContextQuery.Builderbuilder()Filters to DescribeImages call.Owners to DescribeImages call.Methods inherited from interface software.amazon.awscdk.cloud_assembly_schema.ContextLookupRoleOptions
getAccount, getAssumeRoleAdditionalOptions, getLookupRoleArn, getLookupRoleExternalId, getRegionMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getFilters
Filters to DescribeImages call. -
getOwners
Owners to DescribeImages call.Default: - All owners
-
builder
- Returns:
- a
AmiContextQuery.BuilderofAmiContextQuery
-