@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:35.899Z") @Stability(value=Stable) 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.*;
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()
The value to return if the context value was not found and a missing context is reported.
|
getIncludeEnvironment, getProps, getProvider@Stability(value=Stable) @NotNull Object getDummyValue()
This should be a dummy value that should preferably fail during deployment since it represents an invalid state.
@Stability(value=Stable) static GetContextValueOptions.Builder builder()
builder in interface GetContextKeyOptionsGetContextValueOptions.Builder of GetContextValueOptionsCopyright © 2022. All rights reserved.