
com.pulumi.awsnative.ec2.kotlin.outputs.VerifiedAccessInstanceVerifiedAccessLogsS3Properties.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.ec2.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
/**
* Sends Verified Access logs to Amazon S3.
* @property bucketName The bucket name.
* @property bucketOwner The ID of the AWS account that owns the Amazon S3 bucket.
* @property enabled Indicates whether logging is enabled.
* @property prefix The bucket prefix.
*/
public data class VerifiedAccessInstanceVerifiedAccessLogsS3Properties(
public val bucketName: String? = null,
public val bucketOwner: String? = null,
public val enabled: Boolean? = null,
public val prefix: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.ec2.outputs.VerifiedAccessInstanceVerifiedAccessLogsS3Properties): VerifiedAccessInstanceVerifiedAccessLogsS3Properties =
VerifiedAccessInstanceVerifiedAccessLogsS3Properties(
bucketName = javaType.bucketName().map({ args0 -> args0 }).orElse(null),
bucketOwner = javaType.bucketOwner().map({ args0 -> args0 }).orElse(null),
enabled = javaType.enabled().map({ args0 -> args0 }).orElse(null),
prefix = javaType.prefix().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy