![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.fis.kotlin.outputs.GetExperimentTemplateResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.fis.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.collections.Map
/**
*
* @property actions The actions for the experiment.
* @property description The description for the experiment template.
* @property experimentOptions The experiment options for an experiment template.
* @property id The ID of the experiment template.
* @property logConfiguration The configuration for experiment logging.
* @property roleArn The Amazon Resource Name (ARN) of an IAM role.
* @property stopConditions The stop conditions for the experiment.
* @property targets The targets for the experiment.
*/
public data class GetExperimentTemplateResult(
public val actions: Map? = null,
public val description: String? = null,
public val experimentOptions: ExperimentTemplateExperimentOptions? = null,
public val id: String? = null,
public val logConfiguration: ExperimentTemplateLogConfiguration? = null,
public val roleArn: String? = null,
public val stopConditions: List? = null,
public val targets: Map? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.fis.outputs.GetExperimentTemplateResult): GetExperimentTemplateResult = GetExperimentTemplateResult(
actions = javaType.actions().map({ args0 ->
args0.key.to(
args0.value.let({ args0 ->
com.pulumi.awsnative.fis.kotlin.outputs.ExperimentTemplateAction.Companion.toKotlin(args0)
}),
)
}).toMap(),
description = javaType.description().map({ args0 -> args0 }).orElse(null),
experimentOptions = javaType.experimentOptions().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.fis.kotlin.outputs.ExperimentTemplateExperimentOptions.Companion.toKotlin(args0)
})
}).orElse(null),
id = javaType.id().map({ args0 -> args0 }).orElse(null),
logConfiguration = javaType.logConfiguration().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.fis.kotlin.outputs.ExperimentTemplateLogConfiguration.Companion.toKotlin(args0)
})
}).orElse(null),
roleArn = javaType.roleArn().map({ args0 -> args0 }).orElse(null),
stopConditions = javaType.stopConditions().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.fis.kotlin.outputs.ExperimentTemplateStopCondition.Companion.toKotlin(args0)
})
}),
targets = javaType.targets().map({ args0 ->
args0.key.to(
args0.value.let({ args0 ->
com.pulumi.awsnative.fis.kotlin.outputs.ExperimentTemplateTarget.Companion.toKotlin(args0)
}),
)
}).toMap(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy