LogGroup constructor

const LogGroup({
  1. Input<String?>? kmsKeyId,
  2. Input<String?>? namePrefix,
  3. Input<int?>? retentionInDays,
  4. Input<Map<String, String>?>? tags,
})

Creates a new LogGroup. kmsKeyId The ARN of the KMS Key to use when encrypting log data. namePrefix Creates a unique name beginning with the specified prefix retentionInDays Specifies the number of days you want to retain 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, 1827, 3653, and 0. If you select 0, the events in the log group are always retained and never expire. tags A map of tags to assign to the resource. If configured with provider defaultTags present, tags with matching keys will overwrite those defined at the provider-level.

Implementation

const LogGroup({
  this.kmsKeyId,
  this.namePrefix,
  this.retentionInDays,
  this.tags,
});