Interface MissingContext
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
MissingContext.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:29:54.700Z")
@Stability(Stable)
public interface MissingContext
extends software.amazon.jsii.JsiiSerializable
Represents a missing piece of context.
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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forMissingContextstatic final classAn implementation forMissingContext -
Method Summary
Modifier and TypeMethodDescriptionstatic MissingContext.Builderbuilder()getKey()The missing context key.getProps()A set of provider-specific options.The provider from which we expect this context key to be obtained.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getKey
The missing context key. -
getProps
A set of provider-specific options. -
getProvider
The provider from which we expect this context key to be obtained. -
builder
- Returns:
- a
MissingContext.BuilderofMissingContext
-