LogGroupArgs

data class LogGroupArgs(val dataProtectionPolicy: Output<Any>? = null, val kmsKeyId: Output<String>? = null, val logGroupName: Output<String>? = null, val retentionInDays: Output<Int>? = null, val tags: Output<List<LogGroupTagArgs>>? = null) : ConvertibleToJava<LogGroupArgs>

Resource schema for AWS::Logs::LogGroup

Constructors

Link copied to clipboard
fun LogGroupArgs(dataProtectionPolicy: Output<Any>? = null, kmsKeyId: Output<String>? = null, logGroupName: Output<String>? = null, retentionInDays: Output<Int>? = null, tags: Output<List<LogGroupTagArgs>>? = null)

Functions

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

Properties

Link copied to clipboard
val dataProtectionPolicy: Output<Any>? = null

The body of the policy document you want to use for this topic. You can only add one policy per topic. The policy must be in JSON string format. Length Constraints: Maximum length of 30720

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

The Amazon Resource Name (ARN) of the CMK to use when encrypting log data.

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

The name of the log group. If you don't specify a name, AWS CloudFormation generates a unique ID for the log group.

Link copied to clipboard
val retentionInDays: Output<Int>? = null

The number of days to retain the log events in the specified log group. Possible values are: 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731, 1096, 1827, and 3653.

Link copied to clipboard
val tags: Output<List<LogGroupTagArgs>>? = null

An array of key-value pairs to apply to this resource.