GetContextKeyOptions Struct
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as cdk from 'aws-cdk-lib';
declare const props: any;
const getContextKeyOptions: cdk.GetContextKeyOptions = {
provider: 'provider',
// the properties below are optional
additionalCacheKey: 'additionalCacheKey',
includeEnvironment: false,
props: {
propsKey: props,
},
};
Properties
additionalCacheKeystringadditional_cache_keystradditionalCacheKeyStringAdditionalCacheKeystringAdditionalCacheKey*string= no additional cache key#Adds an additional discriminator to the `cdk.context.json` cache key.
includeEnvironmentbooleaninclude_environmentboolincludeEnvironmentBooleanIncludeEnvironmentboolIncludeEnvironment*bool= true#Whether to include the stack's account and region automatically.
props{ [key: string]: any }propstyping.Mapping[str, Any]propsMap<String, Object>PropsIDictionary<string, object>Props*map[string]interface{}#Provider-specific properties.
The context provider to query.