Created
April 11, 2021 16:47
-
-
Save JelsB/52fa0ebc03d622f63eee5f8270896153 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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