GetContextValueOptions

class aws_cdk.core.GetContextValueOptions(*, provider, props=None, dummy_value)

Bases: aws_cdk.core.GetContextKeyOptions

__init__(*, provider, props=None, dummy_value)
Parameters
  • provider (str) – The context provider to query.

  • props (Optional[Mapping[str, Any]]) – Provider-specific properties.

  • dummy_value (Any) – The value to return if the context value was not found and a missing context is reported. This should be a dummy value that should preferably fail during deployment since it represents an invalid state.

stability :stability: experimental

Attributes

dummy_value

The value to return if the context value was not found and a missing context is reported.

This should be a dummy value that should preferably fail during deployment since it represents an invalid state.

stability :stability: experimental

Return type

Any

props

Provider-specific properties.

stability :stability: experimental

Return type

Optional[Mapping[str, Any]]

provider

The context provider to query.

stability :stability: experimental

Return type

str