import * as core from "@terrascript/core"; export interface DsLogGroupArgs { /** * (Required) The name of the Cloudwatch log group */ name: string | core.StringOut; /** * A map of tags to assign to the resource. */ tags?: core.Map | core.MapOut; } export class DsLogGroup extends core.Data { /** * The ARN of the Cloudwatch log group. Any `:*` suffix added by the API, denoting all CloudWatch Log S * treams under the CloudWatch Log Group, is removed for greater compatibility with other AWS services * that do not accept the suffix. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * The creation time of the log group, expressed as the number of milliseconds after Jan 1, 1970 00:00: * 00 UTC. */ @core.attr(Number, { computed: true }) public creationTime!: number | core.NumberOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * The ARN of the KMS Key to use when encrypting log data. */ @core.attr(String, { computed: true }) public kmsKeyId!: string | core.StringOut; /** * (Required) The name of the Cloudwatch log group */ @core.attr(String) public name!: string | core.StringOut; /** * The number of days log events retained in the specified log group. */ @core.attr(Number, { computed: true }) public retentionInDays!: number | core.NumberOut; /** * A map of tags to assign to the resource. */ @core.attr(String, { computed: true, kind: "map" }) public tags?: core.Map | core.MapOut; constructor(name: string, args?: DsLogGroupArgs) { super(name, "aws_cloudwatch_log_group", args); } public override getNamespace(): string { return "aws_cloudwatch"; } }