Interface AmiContextQuery
- All Superinterfaces:
ContextLookupRoleOptions
,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
AmiContextQuery.Jsii$Proxy
@Generated(value="jsii-pacmak/1.106.0 (build e852934)",
date="2025-02-26T00:07:48.302Z")
@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 class
A builder forAmiContextQuery
static final class
An implementation forAmiContextQuery
-
Method Summary
Modifier and TypeMethodDescriptionstatic AmiContextQuery.Builder
builder()
Filters to DescribeImages call.Owners to DescribeImages call.Methods inherited from interface software.amazon.awscdk.cloud_assembly_schema.ContextLookupRoleOptions
getAccount, getAssumeRoleAdditionalOptions, getLookupRoleArn, getLookupRoleExternalId, getRegion
Methods 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.Builder
ofAmiContextQuery
-