All Downloads are FREE. Search and download functionalities are using the official Maven repository.

pl.wrzasq.cform.macro.model.ResourceDefinition.kt Maven / Gradle / Ivy

There is a newer version: 1.4.0
Show newest version
/**
 * 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()
)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy