![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.opsworkscm.kotlin.outputs.GetServerResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.opsworkscm.kotlin.outputs
import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
*
* @property arn The Amazon Resource Name (ARN) of the server, such as `arn:aws:OpsWorksCM:us-east-1:123456789012:server/server-a1bzhi` .
* @property backupRetentionCount The number of automated backups that you want to keep. Whenever a new backup is created, AWS OpsWorks CM deletes the oldest backups if this number is exceeded. The default value is `1` .
* @property disableAutomatedBackup Enable or disable scheduled backups. Valid values are `true` or `false` . The default value is `true` .
* @property endpoint A DNS name that can be used to access the engine. Example: `myserver-asdfghjkl.us-east-1.opsworks.io` .
* @property preferredBackupWindow The start time for a one-hour period during which AWS OpsWorks CM backs up application-level data on your server if automated backups are enabled. Valid values must be specified in one of the following formats:
* - `HH:MM` for daily backups
* - `DDD:HH:MM` for weekly backups
* `MM` must be specified as `00` . The specified time is in coordinated universal time (UTC). The default value is a random, daily start time.
* *Example:* `08:00` , which represents a daily start time of 08:00 UTC.
* *Example:* `Mon:08:00` , which represents a start time of every Monday at 08:00 UTC. (8:00 a.m.)
* @property preferredMaintenanceWindow The start time for a one-hour period each week during which AWS OpsWorks CM performs maintenance on the instance. Valid values must be specified in the following format: `DDD:HH:MM` . `MM` must be specified as `00` . The specified time is in coordinated universal time (UTC). The default value is a random one-hour period on Tuesday, Wednesday, or Friday. See `TimeWindowDefinition` for more information.
* *Example:* `Mon:08:00` , which represents a start time of every Monday at 08:00 UTC. (8:00 a.m.)
*/
public data class GetServerResult(
public val arn: String? = null,
public val backupRetentionCount: Int? = null,
public val disableAutomatedBackup: Boolean? = null,
public val endpoint: String? = null,
public val preferredBackupWindow: String? = null,
public val preferredMaintenanceWindow: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.opsworkscm.outputs.GetServerResult): GetServerResult = GetServerResult(
arn = javaType.arn().map({ args0 -> args0 }).orElse(null),
backupRetentionCount = javaType.backupRetentionCount().map({ args0 -> args0 }).orElse(null),
disableAutomatedBackup = javaType.disableAutomatedBackup().map({ args0 -> args0 }).orElse(null),
endpoint = javaType.endpoint().map({ args0 -> args0 }).orElse(null),
preferredBackupWindow = javaType.preferredBackupWindow().map({ args0 -> args0 }).orElse(null),
preferredMaintenanceWindow = javaType.preferredMaintenanceWindow().map({ args0 ->
args0
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy