Skip to content

Commit 8dd8907

Browse files
authored
Patch AWS::Glue::SecurityConfiguration and other resource issues (#3371)
* Patch s3 encryption for AWS::Glue::SecurityConfiguration * Patch in a few more schema issues
1 parent 04e2118 commit 8dd8907

File tree

230 files changed

+20851
-26177
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

230 files changed

+20851
-26177
lines changed
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"087e99e1ab3bde74923d6a7b3c24fcd6\"", "url": "https://schema.cloudformation.cn-north-1.amazonaws.com.cn/CloudformationSchema.zip"}
1+
{"etag": "\"07903209c6db4f89f261743b11f0c11a\"", "url": "https://schema.cloudformation.cn-north-1.amazonaws.com.cn/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"3cafd914f4935c3841f1dd0598715fa4\"", "url": "https://schema.cloudformation.me-south-1.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"40267d0f81599b30854d25f40be73c4d\"", "url": "https://schema.cloudformation.me-south-1.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"1e4d994938712b0467079880dc4f38e7\"", "url": "https://schema.cloudformation.us-gov-west-1.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"7c4db93f7e2a6db4f561c4bd0e0be652\"", "url": "https://schema.cloudformation.us-gov-west-1.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"00d9040f11ddf55b145416d7ed48aa3a\"", "url": "https://schema.cloudformation.cn-northwest-1.amazonaws.com.cn/CloudformationSchema.zip"}
1+
{"etag": "\"fd87d257d9d228e6c6e1ef2c00ab6d9b\"", "url": "https://schema.cloudformation.cn-northwest-1.amazonaws.com.cn/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"d2b9b751b48e2e384de79f01dc131f19\"", "url": "https://schema.cloudformation.eu-central-1.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"6d5965d0a338dfd69b7291aac2290208\"", "url": "https://schema.cloudformation.eu-central-1.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"335ff38a57d1a89695fcfd1c2470a55e\"", "url": "https://schema.cloudformation.us-east-2.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"1b78bced7eb52159929d4e2255d2cae9\"", "url": "https://schema.cloudformation.us-east-2.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"2a18dbf19c845c8cce7fb20814d2383c\"", "url": "https://schema.cloudformation.ap-southeast-1.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"c5a77052ba4f313b72c7fe051f72ce83\"", "url": "https://schema.cloudformation.ap-southeast-1.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"4068081c6a3339218909e461921934ec\"", "url": "https://schema.cloudformation.ap-northeast-2.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"402b563254e0765a2ea6c30f516634c6\"", "url": "https://schema.cloudformation.ap-northeast-2.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"d8d4f3f86473a403329acb6c72b66547\"", "url": "https://schema.cloudformation.ap-southeast-3.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"11b67461dd38d2b3547f51f44d34b6d5\"", "url": "https://schema.cloudformation.ap-southeast-3.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"e63c897c463335198d41d4a33a276a27\"", "url": "https://schema.cloudformation.ap-east-1.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"ebf4273457e71a460f2394004739f0b8\"", "url": "https://schema.cloudformation.ap-east-1.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"6019cf2b598c20334f8d0d1ee3dacf14\"", "url": "https://schema.cloudformation.sa-east-1.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"024c03fa1a45f8e182db8ae83cdd31c1\"", "url": "https://schema.cloudformation.sa-east-1.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"014b30c426afef040318008b5001ba7e\"", "url": "https://schema.cloudformation.ca-west-1.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"05654284dad54e6b1cdd6bfa0e9354bc\"", "url": "https://schema.cloudformation.ca-west-1.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"baff5f51b5b375d6fc5c69794cda7e78\"", "url": "https://schema.cloudformation.eu-central-2.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"fc49d7fdaebcdbe567b58ea44eabf48d\"", "url": "https://schema.cloudformation.eu-central-2.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"8dfcb97d79108da7a3a9bee471753ebd\"", "url": "https://schema.cloudformation.ca-central-1.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"fbfb07c0253c5754f009d71e4c8bb80d\"", "url": "https://schema.cloudformation.ca-central-1.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"f9cac20eb9de7d911294162b3ee171c5\"", "url": "https://schema.cloudformation.eu-west-3.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"a07395e3bd669f3e72ea2df9639898e8\"", "url": "https://schema.cloudformation.eu-west-3.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"afe5254cefc9cf52c52231147b14e53b\"", "url": "https://schema.cloudformation.us-west-2.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"de613316af2381c4996ae1d15dd14306\"", "url": "https://schema.cloudformation.us-west-2.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"e0e3a0b69fb1e19fe2322138ff361737\"", "url": "https://schema.cloudformation.ap-south-2.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"c1549028d15e77124d915f42dd5b4f05\"", "url": "https://schema.cloudformation.ap-south-2.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"e53c057d9668ec57bc0ae3ed905fe692\"", "url": "https://schema.cloudformation.us-east-1.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"a1f848436addd536bd60599ef5b5f231\"", "url": "https://schema.cloudformation.us-east-1.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"a241dc508446188f7a36407b75def725\"", "url": "https://schema.cloudformation.il-central-1.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"5b35c384b930cca8614021755ef3156a\"", "url": "https://schema.cloudformation.il-central-1.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"6fa47e48ed076ed6b7809cb152c65472\"", "url": "https://schema.cloudformation.ap-northeast-1.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"084d94123705cb2385b2d2071cf76b1e\"", "url": "https://schema.cloudformation.ap-northeast-1.amazonaws.com/CloudformationSchema.zip"}

src/cfnlint/data/schemas/patches/providers/all/aws_cloudwatch_insightrule/__init__.py

Whitespace-only changes.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
[
2+
{
3+
"op": "test",
4+
"path": "/definitions/Tags",
5+
"value": {
6+
"additionalProperties": false,
7+
"type": "object"
8+
}
9+
},
10+
{
11+
"op": "replace",
12+
"path": "/definitions/Tags",
13+
"value": {
14+
"items": {
15+
"properties": {
16+
"Key": {
17+
"type": "string"
18+
},
19+
"Value": {
20+
"type": "string"
21+
}
22+
},
23+
"type": "object"
24+
},
25+
"type": "array"
26+
}
27+
}
28+
]

src/cfnlint/data/schemas/patches/providers/all/aws_glue_securityconfiguration/__init__.py

Whitespace-only changes.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
[
2+
{
3+
"op": "test",
4+
"path": "/definitions/S3Encryptions",
5+
"value": {
6+
"additionalProperties": false,
7+
"type": "object"
8+
}
9+
},
10+
{
11+
"op": "replace",
12+
"path": "/definitions/S3Encryptions",
13+
"value": {
14+
"items": {
15+
"properties": {
16+
"KmsKeyArn": {
17+
"type": "string"
18+
},
19+
"S3EncryptionMode": {
20+
"enum": [
21+
"DISABLED",
22+
"SSE-KMS",
23+
"SSE-S3"
24+
],
25+
"type": "string"
26+
}
27+
},
28+
"type": "object"
29+
},
30+
"type": "array"
31+
}
32+
}
33+
]

src/cfnlint/data/schemas/patches/providers/all/aws_transfer_server/__init__.py

Whitespace-only changes.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
[
2+
{
3+
"op": "test",
4+
"path": "/definitions/Protocol",
5+
"value": {
6+
"additionalProperties": false,
7+
"type": "object"
8+
}
9+
},
10+
{
11+
"op": "replace",
12+
"path": "/definitions/Protocol",
13+
"value": {
14+
"type": "string"
15+
}
16+
}
17+
]

src/cfnlint/data/schemas/patches/providers/all/aws_transfer_user/__init__.py

Whitespace-only changes.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
[
2+
{
3+
"op": "test",
4+
"path": "/definitions/SshPublicKey",
5+
"value": {
6+
"additionalProperties": false,
7+
"type": "object"
8+
}
9+
},
10+
{
11+
"op": "replace",
12+
"path": "/definitions/SshPublicKey",
13+
"value": {
14+
"type": "string"
15+
}
16+
}
17+
]

src/cfnlint/data/schemas/providers/af_south_1/__init__.py

-3
Original file line numberDiff line numberDiff line change
@@ -876,7 +876,6 @@
876876
"aws-acmpca-permission.json",
877877
"aws-neptune-dbsubnetgroup.json",
878878
"aws-transfer-server.json",
879-
"aws-apigateway-domainname.json",
880879
"aws-ecs-primarytaskset.json",
881880
"aws-fms-resourceset.json",
882881
"aws-cognito-userpooldomain.json",
@@ -1104,7 +1103,6 @@
11041103
"aws-ssm-maintenancewindowtask.json",
11051104
"aws-ec2-transitgatewaymulticastdomain.json",
11061105
"aws-verifiedpermissions-policytemplate.json",
1107-
"aws-eks-cluster.json",
11081106
"aws-codebuild-project.json",
11091107
"aws-efs-filesystem.json",
11101108
"aws-connect-quickconnect.json",
@@ -1480,7 +1478,6 @@
14801478
"aws-redshift-scheduledaction.json",
14811479
"aws-rds-dbsecuritygroup.json",
14821480
"aws-apigatewayv2-routeresponse.json",
1483-
"aws-cloudwatch-metricstream.json",
14841481
"aws-sso-applicationassignment.json",
14851482
"aws-dms-dataprovider.json",
14861483
"aws-ssm-parameter.json",

src/cfnlint/data/schemas/providers/cn_north_1/aws-apigateway-domainname.json renamed to src/cfnlint/data/schemas/providers/af_south_1/aws-apigateway-domainname.json

-7
Original file line numberDiff line numberDiff line change
@@ -119,12 +119,5 @@
119119
"/properties/DistributionHostedZoneId"
120120
],
121121
"sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git",
122-
"tagging": {
123-
"cloudFormationSystemTags": true,
124-
"tagOnCreate": true,
125-
"tagProperty": "/properties/Tags",
126-
"tagUpdatable": true,
127-
"taggable": true
128-
},
129122
"typeName": "AWS::ApiGateway::DomainName"
130123
}

0 commit comments

Comments
 (0)