MissingContext

class aws_cdk.cx_api.MissingContext(*, key, props, provider)

Bases: object

(deprecated) Backwards compatibility for when MissingContext was defined here.

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

Parameters
  • key (str) – (deprecated) The missing context key.

  • props (Mapping[str, Any]) – (deprecated) 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 (str) – (deprecated) 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.)

Deprecated

moved to package ‘cloud-assembly-schema’

See

core.Stack.reportMissingContext

Stability

deprecated

Aws-cdk

/core library.

ExampleMetadata

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.cx_api as cx_api

# props: Any

missing_context = cx_api.MissingContext(
    key="key",
    props={
        "props_key": props
    },
    provider="provider"
)

Attributes

key

(deprecated) The missing context key.

Stability

deprecated

Return type

str

props

(deprecated) A set of provider-specific options.

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

Stability

deprecated

Return type

Mapping[str, Any]

provider

(deprecated) 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.)

Stability

deprecated

Return type

str