Package software.amazon.awscdk
Interface GetContextKeyOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
GetContextValueOptions
- All Known Implementing Classes:
GetContextKeyOptions.Jsii$Proxy,GetContextValueOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.118.0 (build 02eec31)",
date="2025-11-10T13:39:56.838Z")
@Stability(Stable)
public interface GetContextKeyOptions
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.*;
Object props;
GetContextKeyOptions getContextKeyOptions = GetContextKeyOptions.builder()
.provider("provider")
// the properties below are optional
.additionalCacheKey("additionalCacheKey")
.includeEnvironment(false)
.props(Map.of(
"propsKey", props))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forGetContextKeyOptionsstatic final classAn implementation forGetContextKeyOptions -
Method Summary
Modifier and TypeMethodDescriptionstatic GetContextKeyOptions.Builderbuilder()default StringAdds an additional discriminator to thecdk.context.jsoncache key.default BooleanWhether to include the stack's account and region automatically.getProps()Provider-specific properties.The context provider to query.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getProvider
The context provider to query. -
getAdditionalCacheKey
Adds an additional discriminator to thecdk.context.jsoncache key.Default: - no additional cache key
-
getIncludeEnvironment
Whether to include the stack's account and region automatically.Default: true
-
getProps
Provider-specific properties. -
builder
- Returns:
- a
GetContextKeyOptions.BuilderofGetContextKeyOptions
-