Skip to content

MissingContext

Backwards compatibility for when 'MissingContext' was defined here.

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

core.Stack.reportMissingContext

Initializer

import { MissingContext } from '@alicloud/ros-cdk-cxapi'
const missingContext: MissingContext = { ... }

Properties

Name Type Description
key string The missing context key.
props {[ key: string ]: any} A set of provider-specific options.
provider string The provider from which we expect this context key to be obtained.

~~key~~Required

  • Deprecated: moved to package 'ros-assembly-schema'
public readonly key: string;
  • Type: string

The missing context key.


~~props~~Required

  • Deprecated: moved to package 'ros-assembly-schema'
public readonly props: {[ key: string ]: any};
  • Type: {[ key: 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~~Required

  • Deprecated: moved to package 'ros-assembly-schema'
public readonly provider: string;
  • 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.)