@Generated(value="jsii-pacmak/1.58.0 (build f8ba112)",
date="2022-05-20T22:19:53.034Z")
public class ContextProvider
extends software.amazon.jsii.JsiiObject
Instances of this class communicate with context provider plugins in the 'cdk toolkit' via context variables (input), outputting specialized queries for more context variables (output).
ContextProvider needs access to a Construct to hook into the context mechanism.
Modifier | Constructor and Description |
---|---|
protected |
ContextProvider(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
ContextProvider(software.amazon.jsii.JsiiObjectRef objRef) |
Modifier and Type | Method and Description |
---|---|
static GetContextKeyResult |
getKey(software.constructs.Construct scope,
GetContextKeyOptions options) |
static GetContextValueResult |
getValue(software.constructs.Construct scope,
GetContextValueOptions options) |
protected ContextProvider(software.amazon.jsii.JsiiObjectRef objRef)
protected ContextProvider(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public static GetContextKeyResult getKey(software.constructs.Construct scope, GetContextKeyOptions options)
scope
- This parameter is required.options
- This parameter is required.public static GetContextValueResult getValue(software.constructs.Construct scope, GetContextValueOptions options)
scope
- This parameter is required.options
- This parameter is required.