Created
January 16, 2020 02:59
-
-
Save billydh/48dd4692d136aa76447adf940bd84841 to your computer and use it in GitHub Desktop.
DynamodemoApplication with EnableConfigurationProperties
This file contains hidden or 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
| package io.codebrews.dynamodemo | |
| import org.springframework.boot.autoconfigure.SpringBootApplication | |
| import org.springframework.boot.context.properties.EnableConfigurationProperties | |
| import org.springframework.boot.runApplication | |
| @SpringBootApplication | |
| @EnableConfigurationProperties(DynamoConfigProperties::class) | |
| class DynamodemoApplication | |
| fun main(args: Array<String>) { | |
| runApplication<DynamodemoApplication>(*args) | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment