
com.pulumi.awsnative.s3.kotlin.outputs.StorageLensConfiguration.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-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.awsnative.s3.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
/**
* Specifies the details of Amazon S3 Storage Lens configuration.
* @property accountLevel This property contains the details of the account-level metrics for Amazon S3 Storage Lens configuration.
* @property awsOrg This property contains the details of the AWS Organization for the S3 Storage Lens configuration.
* @property dataExport This property contains the details of this S3 Storage Lens configuration's metrics export.
* @property exclude This property contains the details of the bucket and or Regions excluded for Amazon S3 Storage Lens configuration.
* @property id This property contains the details of the ID of the S3 Storage Lens configuration.
* @property include This property contains the details of the bucket and or Regions included for Amazon S3 Storage Lens configuration.
* @property isEnabled Specifies whether the Amazon S3 Storage Lens configuration is enabled or disabled.
* @property storageLensArn The ARN for the Amazon S3 Storage Lens configuration.
*/
public data class StorageLensConfiguration(
public val accountLevel: StorageLensAccountLevel,
public val awsOrg: StorageLensAwsOrg? = null,
public val dataExport: StorageLensDataExport? = null,
public val exclude: StorageLensBucketsAndRegions? = null,
public val id: String,
public val include: StorageLensBucketsAndRegions? = null,
public val isEnabled: Boolean,
public val storageLensArn: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.s3.outputs.StorageLensConfiguration): StorageLensConfiguration = StorageLensConfiguration(
accountLevel = javaType.accountLevel().let({ args0 ->
com.pulumi.awsnative.s3.kotlin.outputs.StorageLensAccountLevel.Companion.toKotlin(args0)
}),
awsOrg = javaType.awsOrg().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.s3.kotlin.outputs.StorageLensAwsOrg.Companion.toKotlin(args0)
})
}).orElse(null),
dataExport = javaType.dataExport().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.s3.kotlin.outputs.StorageLensDataExport.Companion.toKotlin(args0)
})
}).orElse(null),
exclude = javaType.exclude().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.s3.kotlin.outputs.StorageLensBucketsAndRegions.Companion.toKotlin(args0)
})
}).orElse(null),
id = javaType.id(),
include = javaType.include().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.s3.kotlin.outputs.StorageLensBucketsAndRegions.Companion.toKotlin(args0)
})
}).orElse(null),
isEnabled = javaType.isEnabled(),
storageLensArn = javaType.storageLensArn().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy