@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:42.849Z") @Stability(value=Stable) public interface AmiContextQuery extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
AmiContextQuery.Builder
A builder for
AmiContextQuery |
static class |
AmiContextQuery.Jsii$Proxy
An implementation for
AmiContextQuery |
| Modifier and Type | Method and Description |
|---|---|
static AmiContextQuery.Builder |
builder() |
String |
getAccount()
Account to query.
|
Map<String,List<String>> |
getFilters()
Filters to DescribeImages call.
|
default String |
getLookupRoleArn()
The ARN of the role that should be used to look up the missing values.
|
default List<String> |
getOwners()
Owners to DescribeImages call.
|
String |
getRegion()
Region to query.
|
@Stability(value=Stable) @NotNull String getAccount()
@Stability(value=Stable) @NotNull Map<String,List<String>> getFilters()
@Stability(value=Stable) @NotNull String getRegion()
@Stability(value=Stable) @Nullable default String getLookupRoleArn()
Default: - None
@Stability(value=Stable) @Nullable default List<String> getOwners()
Default: - All owners
@Stability(value=Stable) static AmiContextQuery.Builder builder()
AmiContextQuery.Builder of AmiContextQueryCopyright © 2022. All rights reserved.