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

com.pulumi.awsnative.autoscaling.kotlin.outputs.GetScheduledActionResult.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.autoscaling.kotlin.outputs

import kotlin.Int
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property desiredCapacity The desired capacity is the initial capacity of the Auto Scaling group after the scheduled action runs and the capacity it attempts to maintain.
 * @property endTime The latest scheduled start time to return. If scheduled action names are provided, this parameter is ignored.
 * @property maxSize The minimum size of the Auto Scaling group.
 * @property minSize The minimum size of the Auto Scaling group.
 * @property recurrence The recurring schedule for the action, in Unix cron syntax format. When StartTime and EndTime are specified with Recurrence , they form the boundaries of when the recurring action starts and stops.
 * @property scheduledActionName Auto-generated unique identifier
 * @property startTime The earliest scheduled start time to return. If scheduled action names are provided, this parameter is ignored.
 * @property timeZone The time zone for the cron expression.
 */
public data class GetScheduledActionResult(
    public val desiredCapacity: Int? = null,
    public val endTime: String? = null,
    public val maxSize: Int? = null,
    public val minSize: Int? = null,
    public val recurrence: String? = null,
    public val scheduledActionName: String? = null,
    public val startTime: String? = null,
    public val timeZone: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.autoscaling.outputs.GetScheduledActionResult): GetScheduledActionResult = GetScheduledActionResult(
            desiredCapacity = javaType.desiredCapacity().map({ args0 -> args0 }).orElse(null),
            endTime = javaType.endTime().map({ args0 -> args0 }).orElse(null),
            maxSize = javaType.maxSize().map({ args0 -> args0 }).orElse(null),
            minSize = javaType.minSize().map({ args0 -> args0 }).orElse(null),
            recurrence = javaType.recurrence().map({ args0 -> args0 }).orElse(null),
            scheduledActionName = javaType.scheduledActionName().map({ args0 -> args0 }).orElse(null),
            startTime = javaType.startTime().map({ args0 -> args0 }).orElse(null),
            timeZone = javaType.timeZone().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy