@Generated(value="jsii-pacmak/1.58.0 (build f8ba112)", date="2022-05-11T19:24:39.576Z") @Stability(value=Experimental) 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()
(experimental) The missing context key.
|
Object |
getProps()
(experimental) A set of provider-specific options.
|
ContextProvider |
getProvider()
(experimental) The provider from which we expect this context key to be obtained.
|
@Stability(value=Experimental) @NotNull String getKey()
@Stability(value=Experimental) @NotNull Object getProps()
@Stability(value=Experimental) @NotNull ContextProvider getProvider()
@Stability(value=Experimental) static MissingContext.Builder builder()
MissingContext.Builder of MissingContextCopyright © 2022. All rights reserved.