![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.lightsail.kotlin.outputs.BucketAccessRules.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.lightsail.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
/**
* An object that sets the public accessibility of objects in the specified bucket.
* @property allowPublicOverrides A Boolean value that indicates whether the access control list (ACL) permissions that are applied to individual objects override the getObject option that is currently specified.
* @property getObject Specifies the anonymous access to all objects in a bucket.
*/
public data class BucketAccessRules(
public val allowPublicOverrides: Boolean? = null,
public val getObject: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.lightsail.outputs.BucketAccessRules): BucketAccessRules = BucketAccessRules(
allowPublicOverrides = javaType.allowPublicOverrides().map({ args0 -> args0 }).orElse(null),
getObject = javaType.getObject().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy