
com.pulumi.aws.cloudtrail.kotlin.outputs.TrailEventSelectorDataResource.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.aws.cloudtrail.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property type Resource type in which you want to log data events. You can specify only the following value: "AWS::S3::Object", "AWS::Lambda::Function" and "AWS::DynamoDB::Table".
* @property values List of ARN strings or partial ARN strings to specify selectors for data audit events over data resources. ARN list is specific to single-valued `type`. For example, `arn:aws:s3:::/` for all objects in a bucket, `arn:aws:s3:::/key` for specific objects, `arn:aws:lambda` for all lambda events within an account, `arn:aws:lambda:::function:` for a specific Lambda function, `arn:aws:dynamodb` for all DDB events for all tables within an account, or `arn:aws:dynamodb:::table/` for a specific DynamoDB table.
*/
public data class TrailEventSelectorDataResource(
public val type: String,
public val values: List,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.aws.cloudtrail.outputs.TrailEventSelectorDataResource): TrailEventSelectorDataResource = TrailEventSelectorDataResource(
type = javaType.type(),
values = javaType.values().map({ args0 -> args0 }),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy