Skip to content

Instantly share code, notes, and snippets.

@JelsB
Created April 11, 2021 16:47
Show Gist options
  • Save JelsB/52fa0ebc03d622f63eee5f8270896153 to your computer and use it in GitHub Desktop.
Save JelsB/52fa0ebc03d622f63eee5f8270896153 to your computer and use it in GitHub Desktop.
# File where you can extend base configuration classes
from dataclasses import dataclass
from my_cdk_package.config.base import BaseAppConfig, BaseResourceConfig
@dataclass
class AppConfig(BaseAppConfig):
"""Custom application config class."""
optional_custom_app_config: str
# Other project specific configuration
# ...
@dataclass
class ResourceConfig(BaseResourceConfig):
"""Custom environment config class."""
optional_custom_config: str
# Other project specific configuration
# ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment