pl.wrzasq.cform.macro.model.ResourceDefinition.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cform-macro Show documentation
Show all versions of cform-macro Show documentation
AWS CloudFormation template processing macro.
/**
* This file is part of the pl.wrzasq.cform.
*
* @license http://mit-license.org/ The MIT license
* @copyright 2021 © by Rafał Wrzeszcz - Wrzasq.pl.
*/
package pl.wrzasq.cform.macro.model
/**
* Generic structure of resource in template section.
*
* @property id Resource logical ID.
* @property type Resource type.
* @property condition Condition handling.
* @property dependsOn List of dependencies.
* @property properties Resource properties.
*/
data class ResourceDefinition(
val id: String,
val type: String,
val condition: String? = null,
val dependsOn: List = emptyList(),
val properties: Map = emptyMap()
)