Interface MissingContext
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
MissingContext.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-13T16:10:16.225Z")
@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.cloud_assembly_schema.*;
Object assumeRoleAdditionalOptions;
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
.assumeRoleAdditionalOptions(Map.of(
"assumeRoleAdditionalOptionsKey", assumeRoleAdditionalOptions))
.lookupRoleArn("lookupRoleArn")
.lookupRoleExternalId("lookupRoleExternalId")
.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.Returns union: either
AmiContextQueryorAvailabilityZonesContextQueryorHostedZoneContextQueryorSSMParameterContextQueryorVpcContextQueryorEndpointServiceAvailabilityZonesContextQueryorLoadBalancerContextQueryorLoadBalancerListenerContextQueryorSecurityGroupContextQueryorKeyContextQueryorCcApiContextQueryorPluginContextQuery -
getProvider
The provider from which we expect this context key to be obtained. -
builder
- Returns:
- a
MissingContext.BuilderofMissingContext
-