aws-cdk-lib.cloud_assembly_schema.MissingContext

interface MissingContext

LanguageType name
.NETAmazon.CDK.CloudAssembly.Schema.MissingContext
Gogithub.com/aws/aws-cdk-go/awscdk/v2/cloudassemblyschema#MissingContext
Javasoftware.amazon.awscdk.cloudassembly.schema.MissingContext
Pythonaws_cdk.cloud_assembly_schema.MissingContext
TypeScript (source)aws-cdk-lib » cloud_assembly_schema » MissingContext

Represents a missing piece of context.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { cloud_assembly_schema } from 'aws-cdk-lib';
const missingContext: cloud_assembly_schema.MissingContext = {
  key: 'key',
  props: {
    account: 'account',
    filters: {
      filtersKey: ['filters'],
    },
    region: 'region',

    // the properties below are optional
    lookupRoleArn: 'lookupRoleArn',
    owners: ['owners'],
  },
  provider: cloud_assembly_schema.ContextProvider.AMI_PROVIDER,
};

Properties

NameTypeDescription
keystringThe missing context key.
propsAmiContextQuery | AvailabilityZonesContextQuery | HostedZoneContextQuery | SSMParameterContextQuery | VpcContextQuery | EndpointServiceAvailabilityZonesContextQuery | LoadBalancerContextQuery | LoadBalancerListenerContextQuery | SecurityGroupContextQuery | KeyContextQuery | PluginContextQueryA set of provider-specific options.
providerContextProviderThe provider from which we expect this context key to be obtained.

key

Type: string

The missing context key.


props

Type: AmiContextQuery | AvailabilityZonesContextQuery | HostedZoneContextQuery | SSMParameterContextQuery | VpcContextQuery | EndpointServiceAvailabilityZonesContextQuery | LoadBalancerContextQuery | LoadBalancerListenerContextQuery | SecurityGroupContextQuery | KeyContextQuery | PluginContextQuery

A set of provider-specific options.


provider

Type: ContextProvider

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