Package software.amazon.awscdk.core
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.84.0 (build 5404dcf)",
date="2023-06-19T16:29:55.047Z")
@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.core.*; Object props; GetContextKeyOptions getContextKeyOptions = GetContextKeyOptions.builder() .provider("provider") // the properties below are optional .includeEnvironment(false) .props(Map.of( "propsKey", props)) .build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forGetContextKeyOptions
static final class
An implementation forGetContextKeyOptions
-
Method Summary
Modifier and TypeMethodDescriptionstatic GetContextKeyOptions.Builder
builder()
default Boolean
Whether 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. -
getIncludeEnvironment
Whether to include the stack's account and region automatically.Default: true
-
getProps
Provider-specific properties. -
builder
- Returns:
- a
GetContextKeyOptions.Builder
ofGetContextKeyOptions
-