Skip to content

Instantly share code, notes, and snippets.

@billydh
Created January 15, 2020 11:42
Show Gist options
  • Select an option

  • Save billydh/a62a03b89baab90d0d08f471d42972ee to your computer and use it in GitHub Desktop.

Select an option

Save billydh/a62a03b89baab90d0d08f471d42972ee to your computer and use it in GitHub Desktop.
package io.codebrews.dynamodemo
import org.springframework.boot.context.properties.ConfigurationProperties
import org.springframework.stereotype.Component
@Component
@ConfigurationProperties(prefix = "application.dynamo")
data class DynamoConfigProperties(
var customerTableName: String = "",
var region: String = "",
var endpoint: String = ""
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment