@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-07T23:46:58.824Z") @Stability(value=Experimental) public interface GetContextValueOptions extends software.amazon.jsii.JsiiSerializable, GetContextKeyOptions
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.core.*;
Object dummyValue;
Object props;
GetContextValueOptions getContextValueOptions = GetContextValueOptions.builder()
.dummyValue(dummyValue)
.provider("provider")
// the properties below are optional
.includeEnvironment(false)
.props(Map.of(
"propsKey", props))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
GetContextValueOptions.Builder
A builder for
GetContextValueOptions |
static class |
GetContextValueOptions.Jsii$Proxy
An implementation for
GetContextValueOptions |
| Modifier and Type | Method and Description |
|---|---|
static GetContextValueOptions.Builder |
builder() |
Object |
getDummyValue()
(experimental) The value to return if the context value was not found and a missing context is reported.
|
getIncludeEnvironment, getProps, getProvider@Stability(value=Experimental) @NotNull Object getDummyValue()
This should be a dummy value that should preferably fail during deployment since it represents an invalid state.
@Stability(value=Experimental) static GetContextValueOptions.Builder builder()
builder in interface GetContextKeyOptionsGetContextValueOptions.Builder of GetContextValueOptionsCopyright © 2022. All rights reserved.