![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.cloudtrail.kotlin.outputs.TrailDataResource.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.cloudtrail.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
* CloudTrail supports data event logging for Amazon S3 objects and AWS Lambda functions. You can specify up to 250 resources for an individual event selector, but the total number of data resources cannot exceed 250 across all event selectors in a trail. This limit does not apply if you configure resource logging for all data events.
* @property type The resource type in which you want to log data events. You can specify AWS::S3::Object or AWS::Lambda::Function resources.
* @property values An array of Amazon Resource Name (ARN) strings or partial ARN strings for the specified objects.
*/
public data class TrailDataResource(
public val type: String,
public val values: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.cloudtrail.outputs.TrailDataResource): TrailDataResource = TrailDataResource(
type = javaType.type(),
values = javaType.values().map({ args0 -> args0 }),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy