From fa2481ab8d7072b7fa60e31cc107f5d134385f3c Mon Sep 17 00:00:00 2001 From: mikewrighton Date: Fri, 1 Dec 2023 17:01:36 -0500 Subject: [PATCH] chore(spec2cdk): remove temporary patch schema aws-logs-loggroup.json after re:Invent launch (#28227) Removes temporary patch schema `aws-logs-loggroup.json`. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license* --- .../us-east-1/aws-logs-loggroup.json | 177 ------------------ 1 file changed, 177 deletions(-) delete mode 100644 tools/@aws-cdk/spec2cdk/temporary-schemas/us-east-1/aws-logs-loggroup.json diff --git a/tools/@aws-cdk/spec2cdk/temporary-schemas/us-east-1/aws-logs-loggroup.json b/tools/@aws-cdk/spec2cdk/temporary-schemas/us-east-1/aws-logs-loggroup.json deleted file mode 100644 index f89c311d81357..0000000000000 --- a/tools/@aws-cdk/spec2cdk/temporary-schemas/us-east-1/aws-logs-loggroup.json +++ /dev/null @@ -1,177 +0,0 @@ -{ - "typeName": "AWS::Logs::LogGroup", - "description": "Resource schema for AWS::Logs::LogGroup", - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-logs.git", - "definitions": { - "Tag": { - "description": "A key-value pair to associate with a resource.", - "type": "object", - "additionalProperties": false, - "properties": { - "Key": { - "type": "string", - "description": "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 @.", - "minLength": 1, - "maxLength": 128 - }, - "Value": { - "type": "string", - "description": "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 @.", - "minLength": 0, - "maxLength": 256 - } - }, - "required": [ - "Key", - "Value" - ] - } - }, - "properties": { - "LogGroupName": { - "description": "The name of the log group. If you don't specify a name, AWS CloudFormation generates a unique ID for the log group.", - "type": "string", - "minLength": 1, - "maxLength": 512, - "pattern": "^[.\\-_/#A-Za-z0-9]{1,512}\\Z" - }, - "KmsKeyId": { - "description": "The Amazon Resource Name (ARN) of the CMK to use when encrypting log data.", - "type": "string", - "maxLength": 256, - "pattern": "^arn:[a-z0-9-]+:kms:[a-z0-9-]+:\\d{12}:(key|alias)/.+\\Z" - }, - "DataProtectionPolicy": { - "description": "The body of the policy document you want to use for this topic.\n\nYou can only add one policy per topic.\n\nThe policy must be in JSON string format.\n\nLength Constraints: Maximum length of 30720", - "type": "object" - }, - "LogGroupClass": { - "description": "The class of the log group. Possible values are: STANDARD and INFREQUENT_ACCESS, with STANDARD being the default class", - "type": "string", - "enum": [ - "STANDARD", - "INFREQUENT_ACCESS" - ], - "default": "STANDARD" - }, - "RetentionInDays": { - "description": "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.", - "type": "integer", - "enum": [ - 1, - 3, - 5, - 7, - 14, - 30, - 60, - 90, - 120, - 150, - 180, - 365, - 400, - 545, - 731, - 1096, - 1827, - 2192, - 2557, - 2922, - 3288, - 3653 - ] - }, - "Tags": { - "description": "An array of key-value pairs to apply to this resource.", - "type": "array", - "uniqueItems": true, - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - } - }, - "Arn": { - "description": "The CloudWatch log group ARN.", - "type": "string" - } - }, - "handlers": { - "create": { - "permissions": [ - "logs:DescribeLogGroups", - "logs:CreateLogGroup", - "logs:PutRetentionPolicy", - "logs:TagResource", - "logs:GetDataProtectionPolicy", - "logs:PutDataProtectionPolicy", - "logs:CreateLogDelivery", - "s3:REST.PUT.OBJECT", - "firehose:TagDeliveryStream", - "logs:PutResourcePolicy", - "logs:DescribeResourcePolicies" - ] - }, - "read": { - "permissions": [ - "logs:DescribeLogGroups", - "logs:ListTagsForResource", - "logs:GetDataProtectionPolicy" - ] - }, - "update": { - "permissions": [ - "logs:DescribeLogGroups", - "logs:AssociateKmsKey", - "logs:DisassociateKmsKey", - "logs:PutRetentionPolicy", - "logs:DeleteRetentionPolicy", - "logs:TagResource", - "logs:UntagResource", - "logs:GetDataProtectionPolicy", - "logs:PutDataProtectionPolicy", - "logs:CreateLogDelivery", - "s3:REST.PUT.OBJECT", - "firehose:TagDeliveryStream" - ] - }, - "delete": { - "permissions": [ - "logs:DescribeLogGroups", - "logs:DeleteLogGroup", - "logs:DeleteDataProtectionPolicy" - ] - }, - "list": { - "permissions": [ - "logs:DescribeLogGroups", - "logs:ListTagsForResource" - ], - "handlerSchema": { - "properties": { - "LogGroupName": { - "$ref": "resource-schema.json#/properties/LogGroupName" - } - }, - "required": [] - } - } - }, - "createOnlyProperties": [ - "/properties/LogGroupName" - ], - "readOnlyProperties": [ - "/properties/Arn" - ], - "primaryIdentifier": [ - "/properties/LogGroupName" - ], - "additionalProperties": false, - "tagging": { - "taggable": true, - "tagOnCreate": true, - "tagUpdatable": true, - "cloudFormationSystemTags": true, - "tagProperty": "/properties/Tags" - } - } \ No newline at end of file