@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:42.863Z") @Stability(value=Stable) public interface MissingContext 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.*;
MissingContext missingContext = MissingContext.builder()
.key("key")
.props(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())
.provider(ContextProvider.AMI_PROVIDER)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
MissingContext.Builder
A builder for
MissingContext |
static class |
MissingContext.Jsii$Proxy
An implementation for
MissingContext |
| Modifier and Type | Method and Description |
|---|---|
static MissingContext.Builder |
builder() |
String |
getKey()
The missing context key.
|
Object |
getProps()
A set of provider-specific options.
|
ContextProvider |
getProvider()
The provider from which we expect this context key to be obtained.
|
@Stability(value=Stable) @NotNull String getKey()
@Stability(value=Stable) @NotNull Object getProps()
@Stability(value=Stable) @NotNull ContextProvider getProvider()
@Stability(value=Stable) static MissingContext.Builder builder()
MissingContext.Builder of MissingContextCopyright © 2022. All rights reserved.