![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.ssmincidents.kotlin.outputs.ResponsePlanSsmAutomation.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.ssmincidents.kotlin.outputs
import com.pulumi.awsnative.ssmincidents.kotlin.enums.ResponsePlanSsmAutomationTargetAccount
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
* The configuration to use when starting the SSM automation document.
* @property documentName The document name to use when starting the SSM automation document.
* @property documentVersion The version of the document to use when starting the SSM automation document.
* @property dynamicParameters The parameters with dynamic values to set when starting the SSM automation document.
* @property parameters The parameters to set when starting the SSM automation document.
* @property roleArn The role ARN to use when starting the SSM automation document.
* @property targetAccount The account type to use when starting the SSM automation document.
*/
public data class ResponsePlanSsmAutomation(
public val documentName: String,
public val documentVersion: String? = null,
public val dynamicParameters: List? = null,
public val parameters: List? = null,
public val roleArn: String,
public val targetAccount: ResponsePlanSsmAutomationTargetAccount? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.ssmincidents.outputs.ResponsePlanSsmAutomation): ResponsePlanSsmAutomation = ResponsePlanSsmAutomation(
documentName = javaType.documentName(),
documentVersion = javaType.documentVersion().map({ args0 -> args0 }).orElse(null),
dynamicParameters = javaType.dynamicParameters().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.ssmincidents.kotlin.outputs.ResponsePlanDynamicSsmParameter.Companion.toKotlin(args0)
})
}),
parameters = javaType.parameters().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.ssmincidents.kotlin.outputs.ResponsePlanSsmParameter.Companion.toKotlin(args0)
})
}),
roleArn = javaType.roleArn(),
targetAccount = javaType.targetAccount().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.ssmincidents.kotlin.enums.ResponsePlanSsmAutomationTargetAccount.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy