com.pulumi.aws.storagegateway.kotlin.outputs.NfsFileShareCacheAttributes.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-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.aws.storagegateway.kotlin.outputs
import kotlin.Int
import kotlin.Suppress
/**
*
* @property cacheStaleTimeoutInSeconds Refreshes a file share's cache by using Time To Live (TTL).
* TTL is the length of time since the last refresh after which access to the directory would cause the file gateway
* to first refresh that directory's contents from the Amazon S3 bucket. Valid Values: 300 to 2,592,000 seconds (5 minutes to 30 days)
*/
public data class NfsFileShareCacheAttributes(
public val cacheStaleTimeoutInSeconds: Int? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.aws.storagegateway.outputs.NfsFileShareCacheAttributes): NfsFileShareCacheAttributes = NfsFileShareCacheAttributes(
cacheStaleTimeoutInSeconds = javaType.cacheStaleTimeoutInSeconds().map({ args0 ->
args0
}).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy