
com.pulumi.awsnative.cloudtrail.kotlin.outputs.TrailAdvancedFieldSelector.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.cloudtrail.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
* A single selector statement in an advanced event selector.
* @property endsWith An operator that includes events that match the last few characters of the event record field specified as the value of Field.
* @property equals An operator that includes events that match the exact value of the event record field specified as the value of Field. This is the only valid operator that you can use with the readOnly, eventCategory, and resources.type fields.
* @property field A field in an event record on which to filter events to be logged. Supported fields include readOnly, eventCategory, eventSource (for management events), eventName, resources.type, and resources.ARN.
* @property notEndsWith An operator that excludes events that match the last few characters of the event record field specified as the value of Field.
* @property notEquals An operator that excludes events that match the exact value of the event record field specified as the value of Field.
* @property notStartsWith An operator that excludes events that match the first few characters of the event record field specified as the value of Field.
* @property startsWith An operator that includes events that match the first few characters of the event record field specified as the value of Field.
*/
public data class TrailAdvancedFieldSelector(
public val endsWith: List? = null,
public val equals: List? = null,
public val `field`: String,
public val notEndsWith: List? = null,
public val notEquals: List? = null,
public val notStartsWith: List? = null,
public val startsWith: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.cloudtrail.outputs.TrailAdvancedFieldSelector): TrailAdvancedFieldSelector = TrailAdvancedFieldSelector(
endsWith = javaType.endsWith().map({ args0 -> args0 }),
equals = javaType.equals_().map({ args0 -> args0 }),
`field` = javaType.`field`(),
notEndsWith = javaType.notEndsWith().map({ args0 -> args0 }),
notEquals = javaType.notEquals().map({ args0 -> args0 }),
notStartsWith = javaType.notStartsWith().map({ args0 -> args0 }),
startsWith = javaType.startsWith().map({ args0 -> args0 }),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy