MissingContext
- class aws_cdk.cloud_assembly_schema.MissingContext(*, key, props, provider)
Bases:
object
Represents a missing piece of context.
- Parameters:
key (
str
) – The missing context key.props (
Union
[AmiContextQuery
,Dict
[str
,Any
],AvailabilityZonesContextQuery
,HostedZoneContextQuery
,SSMParameterContextQuery
,VpcContextQuery
,EndpointServiceAvailabilityZonesContextQuery
,LoadBalancerContextQuery
,LoadBalancerListenerContextQuery
,SecurityGroupContextQuery
,KeyContextQuery
,PluginContextQuery
]) – A set of provider-specific options.provider (
ContextProvider
) – The provider from which we expect this context key to be obtained.
- 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.cloud_assembly_schema as cloud_assembly_schema missing_context = cloud_assembly_schema.MissingContext( key="key", props=cloud_assembly_schema.AmiContextQuery( account="account", filters={ "filters_key": ["filters"] }, region="region", # the properties below are optional lookup_role_arn="lookupRoleArn", owners=["owners"] ), provider=cloud_assembly_schema.ContextProvider.AMI_PROVIDER )
Attributes
- key
The missing context key.
- props
A set of provider-specific options.
- provider
The provider from which we expect this context key to be obtained.