GetContextKeyOptions

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

Bases: object

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

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

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.core as cdk

# props is of type object

get_context_key_options = cdk.GetContextKeyOptions(
    provider="provider",

    # the properties below are optional
    props={
        "props_key": props
    }
)

Attributes

props

Provider-specific properties.

Return type

Optional[Mapping[str, Any]]

provider

The context provider to query.

Return type

str