
com.pulumi.awsnative.backup.kotlin.outputs.GetRestoreTestingPlanResult.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.backup.kotlin.outputs
import com.pulumi.awsnative.kotlin.outputs.Tag
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property recoveryPointSelection The specified criteria to assign a set of resources, such as recovery point types or backup vaults.
* @property restoreTestingPlanArn An Amazon Resource Name (ARN) that uniquely identifies a restore testing plan.
* @property scheduleExpression A CRON expression in specified timezone when a restore testing plan is executed.
* @property scheduleExpressionTimezone Optional. This is the timezone in which the schedule expression is set. By default, ScheduleExpressions are in UTC. You can modify this to a specified timezone.
* @property startWindowHours Defaults to 24 hours.
* A value in hours after a restore test is scheduled before a job will be canceled if it doesn't start successfully. This value is optional. If this value is included, this parameter has a maximum value of 168 hours (one week).
* @property tags Optional tags to include. A tag is a key-value pair you can use to manage, filter, and search for your resources. Allowed characters include UTF-8 letters,numbers, spaces, and the following characters: `+ - = . _ : /.`
*/
public data class GetRestoreTestingPlanResult(
public val recoveryPointSelection: RestoreTestingPlanRestoreTestingRecoveryPointSelection? = null,
public val restoreTestingPlanArn: String? = null,
public val scheduleExpression: String? = null,
public val scheduleExpressionTimezone: String? = null,
public val startWindowHours: Int? = null,
public val tags: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.backup.outputs.GetRestoreTestingPlanResult): GetRestoreTestingPlanResult = GetRestoreTestingPlanResult(
recoveryPointSelection = javaType.recoveryPointSelection().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.backup.kotlin.outputs.RestoreTestingPlanRestoreTestingRecoveryPointSelection.Companion.toKotlin(args0)
})
}).orElse(null),
restoreTestingPlanArn = javaType.restoreTestingPlanArn().map({ args0 -> args0 }).orElse(null),
scheduleExpression = javaType.scheduleExpression().map({ args0 -> args0 }).orElse(null),
scheduleExpressionTimezone = javaType.scheduleExpressionTimezone().map({ args0 ->
args0
}).orElse(null),
startWindowHours = javaType.startWindowHours().map({ args0 -> args0 }).orElse(null),
tags = javaType.tags().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy