@aws-cdk_cx-api.MissingContext

interface MissingContext ⚠️

LanguageType name
.NETAmazon.CDK.CXAPI.MissingContext
Javasoftware.amazon.awscdk.cxapi.MissingContext
Pythonaws_cdk.cx_api.MissingContext
TypeScript (source)@aws-cdk/cx-api » MissingContext

⚠️ Deprecated: moved to package 'cloud-assembly-schema'

Backwards compatibility for when MissingContext was defined here.

This is necessary because its used as an input in the stable

See also: core.Stack.reportMissingContext

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as cx_api from '@aws-cdk/cx-api';

declare const props: any;
const missingContext: cx_api.MissingContext = {
  key: 'key',
  props: {
    propsKey: props,
  },
  provider: 'provider',
};

Properties

NameTypeDescription
key⚠️stringThe missing context key.
props⚠️{ [string]: any }A set of provider-specific options.
provider⚠️stringThe provider from which we expect this context key to be obtained.

key⚠️

⚠️ Deprecated: moved to package 'cloud-assembly-schema'

Type: string

The missing context key.


props⚠️

⚠️ Deprecated: moved to package 'cloud-assembly-schema'

Type: { [string]: any }

A set of provider-specific options.

(This is the old untyped definition, which is necessary for backwards compatibility. See cxschema for a type definition.)


provider⚠️

⚠️ Deprecated: moved to package 'cloud-assembly-schema'

Type: string

The provider from which we expect this context key to be obtained.

(This is the old untyped definition, which is necessary for backwards compatibility. See cxschema for a type definition.)