Interface MissingContext
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
MissingContext.Jsii$Proxy
@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)", date="2026-07-30T08:06:26.716Z") @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.*; 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 Classes Modifier and Type Interface Description static classMissingContext.BuilderA builder forMissingContextstatic classMissingContext.Jsii$ProxyAn implementation forMissingContext
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static MissingContext.Builderbuilder()StringgetKey()The missing context key.ObjectgetProps()A set of provider-specific options.ContextProvidergetProvider()The provider from which we expect this context key to be obtained.
-
-
-
Method Detail
-
getKey
@Stability(Stable) @NotNull String getKey()
The missing context key.
-
getProps
@Stability(Stable) @NotNull Object getProps()
A set of provider-specific options.Returns union: either
AmiContextQueryorAvailabilityZonesContextQueryorHostedZoneContextQueryorSSMParameterContextQueryorVpcContextQueryorEndpointServiceAvailabilityZonesContextQueryorLoadBalancerContextQueryorLoadBalancerListenerContextQueryorSecurityGroupContextQueryorKeyContextQueryorCcApiContextQueryorPluginContextQuery
-
getProvider
@Stability(Stable) @NotNull ContextProvider getProvider()
The provider from which we expect this context key to be obtained.
-
builder
@Stability(Stable) static MissingContext.Builder builder()
- Returns:
- a
MissingContext.BuilderofMissingContext
-
-