TrailDataResourceArgs

data class TrailDataResourceArgs(val type: Output<String>, val values: Output<List<String>>? = null) : ConvertibleToJava<TrailDataResourceArgs>

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.

Constructors

Link copied to clipboard
constructor(type: Output<String>, values: Output<List<String>>? = null)

Properties

Link copied to clipboard
val type: Output<String>

The resource type in which you want to log data events. You can specify AWS::S3::Object or AWS::Lambda::Function resources.

Link copied to clipboard
val values: Output<List<String>>? = null

An array of Amazon Resource Name (ARN) strings or partial ARN strings for the specified objects.

Functions

Link copied to clipboard
open override fun toJava(): TrailDataResourceArgs