GetContextValueOptions

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

Bases: aws_cdk.core.GetContextKeyOptions

Parameters
  • provider (str) – (experimental) The context provider to query.

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

  • dummy_value (Any) – (experimental) 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

experimental

Attributes

dummy_value

(experimental) 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

experimental

Return type

Any

props

(experimental) Provider-specific properties.

Stability

experimental

Return type

Optional[Mapping[str, Any]]

provider

(experimental) The context provider to query.

Stability

experimental

Return type

str