MissingContext

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

Bases: object

Represents a missing piece of context.

Parameters
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.

Return type

str

props

A set of provider-specific options.

Return type

Union[AmiContextQuery, AvailabilityZonesContextQuery, HostedZoneContextQuery, SSMParameterContextQuery, VpcContextQuery, EndpointServiceAvailabilityZonesContextQuery, LoadBalancerContextQuery, LoadBalancerListenerContextQuery, SecurityGroupContextQuery, KeyContextQuery, PluginContextQuery]

provider

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

Return type

ContextProvider