interface MissingContext
Language | Type name |
---|---|
.NET | Amazon.CDK.CXAPI.MissingContext |
Java | software.amazon.awscdk.cxapi.MissingContext |
Python | aws_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
Name | Type | Description |
---|---|---|
key | string | The missing context key. |
props | { [string]: any } | A set of provider-specific options. |
provider | string | The 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.)