LogGroupArgs constructor

const LogGroupArgs({
  1. Input<bool?>? deletionProtectionEnabled,
  2. Input<String?>? kmsKeyId,
  3. Input<String?>? logGroupClass,
  4. Input<String?>? name,
  5. Input<String?>? namePrefix,
  6. Input<String?>? region,
  7. Input<int?>? retentionInDays,
  8. Input<bool?>? skipDestroy,
  9. Input<Map<String, String>?>? tags,
})

Creates a new LogGroupArgs. deletionProtectionEnabled Boolean to indicate whether deletion protection is enabled. Defaults to false. Once set, switching to false requires explicitly specifying false rather than removing this argument. kmsKeyId The ARN of the KMS Key to use when encrypting log data. Please note, after the AWS KMS CMK is disassociated from the log group, logGroupClass Specified the log class of the log group. Possible values are: STANDARD, INFREQUENT_ACCESS, or DELIVERY. name The name of the log group. If omitted, this provider will assign a random, unique name. namePrefix Creates a unique name beginning with the specified prefix. Conflicts with name. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. retentionInDays Specifies the number of days skipDestroy Set to true if you do not wish the log group (and any logs it may contain) to be deleted at destroy time, and instead just remove the log group from the state. tags A map of tags to assign to the resource. .If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Implementation

const LogGroupArgs({
  this.deletionProtectionEnabled,
  this.kmsKeyId,
  this.logGroupClass,
  this.name,
  this.namePrefix,
  this.region,
  this.retentionInDays,
  this.skipDestroy,
  this.tags,
});