aws-cdk-lib.GetContextKeyResult

interface GetContextKeyResult

LanguageType name
.NETAmazon.CDK.GetContextKeyResult
Gogithub.com/aws/aws-cdk-go/awscdk/v2#GetContextKeyResult
Javasoftware.amazon.awscdk.GetContextKeyResult
Pythonaws_cdk.GetContextKeyResult
TypeScript (source)aws-cdk-lib » GetContextKeyResult

Obtainable from ContextProvider.getKey()

Example

// 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 getContextKeyResult: cdk.GetContextKeyResult = {
  key: 'key',
  props: {
    propsKey: props,
  },
};

Properties

NameTypeDescription
keystring
props{ [string]: any }

key

Type: string


props

Type: { [string]: any }