/* eslint-disable */ /** * This file was automatically generated by json-schema-to-typescript. * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, * and run json-schema-to-typescript to regenerate this file. */ /** * Resource schema for AWS::Logs::LogGroup */ export interface AwsLogsLoggroup { /** * The name of the log group. If you don't specify a name, AWS CloudFormation generates a unique ID for the log group. */ LogGroupName?: string; /** * The Amazon Resource Name (ARN) of the CMK to use when encrypting log data. */ KmsKeyId?: string; /** * 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 */ DataProtectionPolicy?: { [k: string]: unknown; }; /** * 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. */ RetentionInDays?: | 1 | 3 | 5 | 7 | 14 | 30 | 60 | 90 | 120 | 150 | 180 | 365 | 400 | 545 | 731 | 1096 | 1827 | 2192 | 2557 | 2922 | 3288 | 3653; /** * An array of key-value pairs to apply to this resource. */ Tags?: Tag[]; /** * The CloudWatch log group ARN. */ Arn?: string; } /** * A key-value pair to associate with a resource. */ export interface Tag { /** * The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., :, /, =, +, - and @. */ Key: string; /** * The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., :, /, =, +, - and @. */ Value: string; }