Skip to content

Commit f3e0699

Browse files
authored
Increase logic of boto automation (#3818)
* Update boto automation for array items * Run an update for 11/11
1 parent 9d83f3f commit f3e0699

File tree

1,885 files changed

+213902
-89265
lines changed

Some content is hidden

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

1,885 files changed

+213902
-89265
lines changed

scripts/boto/_automated_patches.py

Lines changed: 59 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@
3535

3636
_fields = ["pattern", "enum"]
3737

38+
_visited_paths = []
39+
3840

3941
def renamer(name):
4042
manual_fixes = {
@@ -43,6 +45,9 @@ def renamer(name):
4345
"kafka": "MSK",
4446
"firehose": "KinesisFirehose",
4547
"es": "ElasticSearch",
48+
"elbv2": "ElasticLoadBalancingV2",
49+
"elb": "ElasticLoadBalancing",
50+
"ds": "DirectoryService",
4651
}
4752
if name in manual_fixes:
4853
return manual_fixes[name].lower()
@@ -92,6 +97,45 @@ def get_last_date(service_dir: Path) -> str:
9297
return last_date
9398

9499

100+
def _nested_arrays(
101+
resolver: RefResolver,
102+
schema_data: dict[str, Any],
103+
boto_data: dict[str, Any],
104+
shape_data: dict[str, Any],
105+
start_path: str,
106+
source: list[str],
107+
):
108+
109+
shape = shape_data.get("member", {}).get("shape")
110+
if not shape:
111+
return []
112+
113+
array_shap_data = boto_data.get("shapes", {}).get(shape)
114+
115+
path = f"{start_path}/items"
116+
schema_data = schema_data.get("items", {})
117+
while True:
118+
if "$ref" not in schema_data:
119+
break
120+
path = schema_data["$ref"][1:]
121+
schema_data = resolver.resolve_from_url(schema_data["$ref"])
122+
123+
if array_shap_data.get("type") == "structure":
124+
return _nested_objects(
125+
resolver, schema_data, boto_data, array_shap_data, path, source
126+
)
127+
else:
128+
# skip if we already have an enum or pattern
129+
if any([schema_data.get(field) for field in _fields]):
130+
return {}
131+
return {
132+
path: Patch(
133+
source=source,
134+
shape=shape,
135+
)
136+
}
137+
138+
95139
def _nested_objects(
96140
resolver: RefResolver,
97141
schema_data: dict[str, Any],
@@ -106,9 +150,14 @@ def _nested_objects(
106150
if p_name in skip_property_names:
107151
continue
108152
if p_name.lower() == member.lower():
109-
110153
path = f"{start_path}/properties/{p_name}"
111154

155+
global _visited_paths
156+
if path in _visited_paths:
157+
continue
158+
159+
_visited_paths.append(path)
160+
112161
while True:
113162
if "$ref" not in p_data:
114163
break
@@ -129,6 +178,13 @@ def _nested_objects(
129178
resolver, p_data, boto_data, member_shape, path, source
130179
)
131180
)
181+
elif member_shape.get("type") == "list":
182+
if p_data.get("type") == "array":
183+
results.update(
184+
_nested_arrays(
185+
resolver, p_data, boto_data, member_shape, path, source
186+
)
187+
)
132188

133189
if not any([member_shape.get(field) for field in _fields]):
134190
continue
@@ -158,6 +214,8 @@ def _per_resource_patch(
158214
.get("shape")
159215
)
160216

217+
global _visited_paths
218+
_visited_paths = []
161219
results.update(
162220
_nested_objects(
163221
resolver,
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"5357ad155752331d8c927fa32fdb28c9\"", "url": "https://schema.cloudformation.eu-south-1.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"06f2c54452239a0c3847294aada34e90\"", "url": "https://schema.cloudformation.eu-south-1.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"9c09a8e86cff20c3da1dbd5301bd0ebe\"", "url": "https://schema.cloudformation.cn-north-1.amazonaws.com.cn/CloudformationSchema.zip"}
1+
{"etag": "\"571c99dd6238c071f50aaf1bf42ccd9d\"", "url": "https://schema.cloudformation.cn-north-1.amazonaws.com.cn/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"e883cba4b52bd486689be2590182302e\"", "url": "https://schema.cloudformation.us-gov-east-1.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"4b96f860d808197aca85a75c0860f90d\"", "url": "https://schema.cloudformation.us-gov-east-1.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"dabda94e45dfc9d5c84a459da91edd2c\"", "url": "https://schema.cloudformation.me-south-1.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"1bfe0784146f65cb03510a26c85265c9\"", "url": "https://schema.cloudformation.me-south-1.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"b6a93fd4200882e33932f3977cf81d2d\"", "url": "https://schema.cloudformation.us-gov-west-1.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"4d412930f3e193d65e0d9ef55e20f4ab\"", "url": "https://schema.cloudformation.us-gov-west-1.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"1fafcf4ca44c438a68bf190ec5046b30\"", "url": "https://schema.cloudformation.me-central-1.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"bcb41574922a37d844518ce09c881715\"", "url": "https://schema.cloudformation.me-central-1.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"679ee3121552f93003a6865d0301f95f\"", "url": "https://schema.cloudformation.eu-west-2.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"44dc07de94943dc1863442f7e633234f\"", "url": "https://schema.cloudformation.eu-west-2.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"11d1b4b6102578b479d6e21c3363b07a\"", "url": "https://schema.cloudformation.cn-northwest-1.amazonaws.com.cn/CloudformationSchema.zip"}
1+
{"etag": "\"0e30ac23646d4089331909c1842afc5d\"", "url": "https://schema.cloudformation.cn-northwest-1.amazonaws.com.cn/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"fb5b87fa2d3233312282562bcd3bfbc9\"", "url": "https://schema.cloudformation.af-south-1.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"9c0307b20bdb79fdb999ecfc15aab500\"", "url": "https://schema.cloudformation.af-south-1.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"4c9cb5a4d498a6466009723774049dbe\"", "url": "https://schema.cloudformation.us-west-1.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"6dd4ce495a596673838985e198828649\"", "url": "https://schema.cloudformation.us-west-1.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"721ed22e90284fd92477dcd7becf2876\"", "url": "https://schema.cloudformation.ap-southeast-5.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"fffa224d25659985ba594d96ef13f6a6\"", "url": "https://schema.cloudformation.ap-southeast-5.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"520442db355318cdc3026536d0986cc4\"", "url": "https://schema.cloudformation.eu-central-1.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"360ed14fcaebf7e6b93fff1e01c88fe1\"", "url": "https://schema.cloudformation.eu-central-1.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"d273c61b83b327ae7062f9e0252c380e\"", "url": "https://schema.cloudformation.ap-south-1.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"a53d9259f44296bbf227cb5e0f09fa61\"", "url": "https://schema.cloudformation.ap-south-1.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"2c5ccaaac2f27b06d22c2a84f14eb02c\"", "url": "https://schema.cloudformation.ap-southeast-4.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"be2e47da051983abd207d8f7f29f17cc\"", "url": "https://schema.cloudformation.ap-southeast-4.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"57c64212488b8f143b59162adffc2be9\"", "url": "https://schema.cloudformation.us-east-2.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"af0ecea0abcd6023ad9b1f3c3647f24f\"", "url": "https://schema.cloudformation.us-east-2.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"b17b43b6c7bd34f3af6de3f406c397fe\"", "url": "https://schema.cloudformation.ap-southeast-1.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"f329158ba2f26e94fe4581d32c379fa0\"", "url": "https://schema.cloudformation.ap-southeast-1.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"895a42c168d6397357dbf1ddba3d12b9\"", "url": "https://schema.cloudformation.ap-northeast-2.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"dfe2dd7e6375dbb9d9264d71c89d4bc3\"", "url": "https://schema.cloudformation.ap-northeast-2.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"29da5b62780e15423d7c2526d453d938\"", "url": "https://schema.cloudformation.ap-southeast-3.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"64dca5234e69de998a9e8e68d03f0d07\"", "url": "https://schema.cloudformation.ap-southeast-3.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"10122da694bede181ecd4161716c4a1a\"", "url": "https://schema.cloudformation.ap-east-1.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"b20066453b5a5701f09eda8ca7d06b68\"", "url": "https://schema.cloudformation.ap-east-1.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"ee2fafec85a78e0c4e65284b8c3ed8f9\"", "url": "https://schema.cloudformation.sa-east-1.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"d10f35b073d40372a94fc10b14a96d00\"", "url": "https://schema.cloudformation.sa-east-1.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"87c18247cfa1e1cc3005309803025962\"", "url": "https://schema.cloudformation.ap-southeast-2.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"c28472dd23783a0639cb6a73ff4b90a1\"", "url": "https://schema.cloudformation.ap-southeast-2.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"617e4f25d14fa2ae621304bfeb35c742\"", "url": "https://schema.cloudformation.ca-west-1.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"36c33a027d70d16fdca8a8a3f6be2710\"", "url": "https://schema.cloudformation.ca-west-1.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"8e8aef22a73df8aac450d1c66839de7c\"", "url": "https://schema.cloudformation.eu-central-2.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"887c79022fb5071dc5cc450d7ac68759\"", "url": "https://schema.cloudformation.eu-central-2.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"abff77b737994051678f96052059e865\"", "url": "https://schema.cloudformation.eu-north-1.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"37b1cfd2da163a623317213c5a57ca4d\"", "url": "https://schema.cloudformation.eu-north-1.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"ac577518b13bc5b9460aea32b546bc9d\"", "url": "https://schema.cloudformation.eu-south-2.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"1404496addd5d32cf7f28a1e29b2f08a\"", "url": "https://schema.cloudformation.eu-south-2.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"17e8c7adc1cf749c360ecdc7aab897f4\"", "url": "https://schema.cloudformation.ca-central-1.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"b2b86e1097162ce014d5f4301c3d7042\"", "url": "https://schema.cloudformation.ca-central-1.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"7bf14c08f1c6a5630ce8d8f85059a5e0\"", "url": "https://schema.cloudformation.eu-west-3.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"dc516309342d8ecbd22396aa9e7daacf\"", "url": "https://schema.cloudformation.eu-west-3.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"dd65610a40912779b8e996dca8a6e526\"", "url": "https://schema.cloudformation.ap-northeast-3.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"ca695fc4aa5a2cb7e2fbfad3d362db38\"", "url": "https://schema.cloudformation.ap-northeast-3.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"e639191636cd225fbe9ac6488edd9fbc\"", "url": "https://schema.cloudformation.us-west-2.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"f52c69e38743b137a6fac383369f6053\"", "url": "https://schema.cloudformation.us-west-2.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"d152e80c902be01477cb4446c400c753\"", "url": "https://schema.cloudformation.ap-south-2.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"f492a5987a8ea775191545aabfa6353b\"", "url": "https://schema.cloudformation.ap-south-2.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"ebb8bf034d08a1d5fa72fbef92356773\"", "url": "https://schema.cloudformation.us-east-1.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"fe7fc848615367d3262bfa060f92bf8e\"", "url": "https://schema.cloudformation.us-east-1.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"9a85fb289ed577c7c5e49c678f0b77c3\"", "url": "https://schema.cloudformation.il-central-1.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"94f53ec7340dfd8b734cbbef7d13d22f\"", "url": "https://schema.cloudformation.il-central-1.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"c42f41acfb73c2b6701b83c459ee2009\"", "url": "https://schema.cloudformation.eu-west-1.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"e27a1b9b1c17fdc0a212b2e9c4fee982\"", "url": "https://schema.cloudformation.eu-west-1.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"5d7672eafd26eff88359b68742c5212e\"", "url": "https://schema.cloudformation.ap-northeast-1.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"1c546c6b46008aa70ff7ad3cd63d133a\"", "url": "https://schema.cloudformation.ap-northeast-1.amazonaws.com/CloudformationSchema.zip"}

src/cfnlint/data/schemas/patches/extensions/all/aws_accessanalyzer_analyzer/boto.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,10 @@
1313
"ORGANIZATION",
1414
"ORGANIZATION_UNUSED_ACCESS"
1515
]
16+
},
17+
{
18+
"op": "add",
19+
"path": "/definitions/ArchiveRule/properties/RuleName/pattern",
20+
"value": "[A-Za-z][A-Za-z0-9_.-]*"
1621
}
1722
]

src/cfnlint/data/schemas/patches/extensions/all/aws_acmpca_certificateauthority/boto.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,16 @@
3131
"FIPS_140_2_LEVEL_3_OR_HIGHER"
3232
]
3333
},
34+
{
35+
"op": "add",
36+
"path": "/definitions/Tag/properties/Key/pattern",
37+
"value": "([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)"
38+
},
39+
{
40+
"op": "add",
41+
"path": "/definitions/Tag/properties/Value/pattern",
42+
"value": "([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)"
43+
},
3444
{
3545
"op": "add",
3646
"path": "/properties/UsageMode/enum",

src/cfnlint/data/schemas/patches/extensions/all/aws_acmpca_permission/boto.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,14 @@
1313
"op": "add",
1414
"path": "/properties/SourceAccount/pattern",
1515
"value": "[0-9]+"
16+
},
17+
{
18+
"op": "add",
19+
"path": "/properties/Actions/items/enum",
20+
"value": [
21+
"GetCertificate",
22+
"IssueCertificate",
23+
"ListPermissions"
24+
]
1625
}
1726
]

src/cfnlint/data/schemas/patches/extensions/all/aws_amplify_domain/__init__.py

Whitespace-only changes.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[
2+
{
3+
"op": "add",
4+
"path": "/properties/AutoSubDomainCreationPatterns/items/pattern",
5+
"value": "(?s).+"
6+
}
7+
]

src/cfnlint/data/schemas/patches/extensions/all/aws_apigateway_apikey/__init__.py

Whitespace-only changes.

src/cfnlint/data/schemas/patches/extensions/all/aws_apigateway_basepathmapping/__init__.py

Whitespace-only changes.

src/cfnlint/data/schemas/patches/extensions/all/aws_apigateway_clientcertificate/__init__.py

Whitespace-only changes.

src/cfnlint/data/schemas/patches/extensions/all/aws_apigateway_deployment/__init__.py

Whitespace-only changes.

src/cfnlint/data/schemas/patches/extensions/all/aws_apigateway_documentationpart/__init__.py

Whitespace-only changes.

src/cfnlint/data/schemas/patches/extensions/all/aws_apigateway_documentationversion/__init__.py

Whitespace-only changes.

src/cfnlint/data/schemas/patches/extensions/all/aws_apigateway_domainname/__init__.py

Whitespace-only changes.

src/cfnlint/data/schemas/patches/extensions/all/aws_apigateway_method/__init__.py

Whitespace-only changes.

src/cfnlint/data/schemas/patches/extensions/all/aws_apigateway_model/__init__.py

Whitespace-only changes.

src/cfnlint/data/schemas/patches/extensions/all/aws_apigateway_requestvalidator/__init__.py

Whitespace-only changes.

src/cfnlint/data/schemas/patches/extensions/all/aws_apigateway_resource/__init__.py

Whitespace-only changes.

src/cfnlint/data/schemas/patches/extensions/all/aws_apigateway_usageplan/__init__.py

Whitespace-only changes.

src/cfnlint/data/schemas/patches/extensions/all/aws_apigateway_vpclink/__init__.py

Whitespace-only changes.

src/cfnlint/data/schemas/patches/extensions/all/aws_apigatewayv2_api/__init__.py

Whitespace-only changes.

src/cfnlint/data/schemas/patches/extensions/all/aws_apigatewayv2_apigatewaymanagedoverrides/__init__.py

Whitespace-only changes.

src/cfnlint/data/schemas/patches/extensions/all/aws_apigatewayv2_apimapping/__init__.py

Whitespace-only changes.

src/cfnlint/data/schemas/patches/extensions/all/aws_apigatewayv2_authorizer/__init__.py

Whitespace-only changes.

src/cfnlint/data/schemas/patches/extensions/all/aws_apigatewayv2_deployment/__init__.py

Whitespace-only changes.

src/cfnlint/data/schemas/patches/extensions/all/aws_apigatewayv2_domainname/__init__.py

Whitespace-only changes.

src/cfnlint/data/schemas/patches/extensions/all/aws_apigatewayv2_integration/__init__.py

Whitespace-only changes.

src/cfnlint/data/schemas/patches/extensions/all/aws_apigatewayv2_integrationresponse/__init__.py

Whitespace-only changes.

src/cfnlint/data/schemas/patches/extensions/all/aws_apigatewayv2_model/__init__.py

Whitespace-only changes.

src/cfnlint/data/schemas/patches/extensions/all/aws_apigatewayv2_route/__init__.py

Whitespace-only changes.

src/cfnlint/data/schemas/patches/extensions/all/aws_apigatewayv2_routeresponse/__init__.py

Whitespace-only changes.

src/cfnlint/data/schemas/patches/extensions/all/aws_apigatewayv2_stage/__init__.py

Whitespace-only changes.

src/cfnlint/data/schemas/patches/extensions/all/aws_appconfig_application/__init__.py

Whitespace-only changes.

src/cfnlint/data/schemas/patches/extensions/all/aws_appconfig_configurationprofile/__init__.py

Whitespace-only changes.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
[
2+
{
3+
"op": "add",
4+
"path": "/definitions/Validators/properties/Type/enum",
5+
"value": [
6+
"JSON_SCHEMA",
7+
"LAMBDA"
8+
]
9+
}
10+
]

src/cfnlint/data/schemas/patches/extensions/all/aws_appconfig_deployment/__init__.py

Whitespace-only changes.

src/cfnlint/data/schemas/patches/extensions/all/aws_appconfig_deploymentstrategy/__init__.py

Whitespace-only changes.

src/cfnlint/data/schemas/patches/extensions/all/aws_appconfig_environment/__init__.py

Whitespace-only changes.

src/cfnlint/data/schemas/patches/extensions/all/aws_appconfig_extensionassociation/__init__.py

Whitespace-only changes.

src/cfnlint/data/schemas/patches/extensions/all/aws_appconfig_hostedconfigurationversion/__init__.py

Whitespace-only changes.

src/cfnlint/data/schemas/patches/extensions/all/aws_appflow_connector/__init__.py

Whitespace-only changes.
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
[
2+
{
3+
"op": "add",
4+
"path": "/definitions/SalesforceDestinationProperties/properties/IdFieldNames/items/pattern",
5+
"value": "\\S+"
6+
},
7+
{
8+
"op": "add",
9+
"path": "/definitions/ZendeskDestinationProperties/properties/IdFieldNames/items/pattern",
10+
"value": "\\S+"
11+
},
12+
{
13+
"op": "add",
14+
"path": "/definitions/CustomConnectorDestinationProperties/properties/IdFieldNames/items/pattern",
15+
"value": "\\S+"
16+
},
17+
{
18+
"op": "add",
19+
"path": "/definitions/SAPODataDestinationProperties/properties/IdFieldNames/items/pattern",
20+
"value": "\\S+"
21+
}
22+
]
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
[
2+
{
3+
"op": "add",
4+
"path": "/definitions/ApprovedOrigins/pattern",
5+
"value": "^\\w+\\:\\/\\/.*$"
6+
},
7+
{
8+
"op": "add",
9+
"path": "/definitions/Permissions/pattern",
10+
"value": "^[a-zA-Z0-9\\/\\._\\-\\*]+$"
11+
}
12+
]
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[
2+
{
3+
"op": "add",
4+
"path": "/definitions/FileConfiguration/properties/Folders/items/pattern",
5+
"value": ".*\\S.*"
6+
}
7+
]

src/cfnlint/data/schemas/patches/extensions/all/aws_applicationinsights_application/__init__.py

Whitespace-only changes.
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
[
2+
{
3+
"op": "add",
4+
"path": "/definitions/Tag/properties/Key/pattern",
5+
"value": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$"
6+
},
7+
{
8+
"op": "add",
9+
"path": "/definitions/Tag/properties/Value/pattern",
10+
"value": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$"
11+
}
12+
]

src/cfnlint/data/schemas/patches/extensions/all/aws_applicationsignals_servicelevelobjective/__init__.py

Whitespace-only changes.

src/cfnlint/data/schemas/patches/extensions/all/aws_appmesh_gatewayroute/__init__.py

Whitespace-only changes.

src/cfnlint/data/schemas/patches/extensions/all/aws_appmesh_mesh/__init__.py

Whitespace-only changes.

src/cfnlint/data/schemas/patches/extensions/all/aws_appmesh_route/__init__.py

Whitespace-only changes.

src/cfnlint/data/schemas/patches/extensions/all/aws_appmesh_virtualgateway/__init__.py

Whitespace-only changes.

src/cfnlint/data/schemas/patches/extensions/all/aws_appmesh_virtualnode/__init__.py

Whitespace-only changes.

src/cfnlint/data/schemas/patches/extensions/all/aws_appmesh_virtualrouter/__init__.py

Whitespace-only changes.

src/cfnlint/data/schemas/patches/extensions/all/aws_appmesh_virtualservice/__init__.py

Whitespace-only changes.

src/cfnlint/data/schemas/patches/extensions/all/aws_apprunner_autoscalingconfiguration/__init__.py

Whitespace-only changes.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[
2+
{
3+
"op": "add",
4+
"path": "/definitions/Tag/properties/Key/pattern",
5+
"value": "^(?!aws:).+"
6+
}
7+
]

src/cfnlint/data/schemas/patches/extensions/all/aws_apprunner_observabilityconfiguration/__init__.py

Whitespace-only changes.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[
2+
{
3+
"op": "add",
4+
"path": "/definitions/Tag/properties/Key/pattern",
5+
"value": "^(?!aws:).+"
6+
}
7+
]

src/cfnlint/data/schemas/patches/extensions/all/aws_apprunner_service/__init__.py

Whitespace-only changes.

src/cfnlint/data/schemas/patches/extensions/all/aws_apprunner_service/boto.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,10 @@
1313
"op": "add",
1414
"path": "/definitions/ImageConfiguration/properties/StartCommand/pattern",
1515
"value": "[^\\x0a\\x0d]+"
16+
},
17+
{
18+
"op": "add",
19+
"path": "/definitions/Tag/properties/Key/pattern",
20+
"value": "^(?!aws:).+"
1621
}
1722
]
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[
2+
{
3+
"op": "add",
4+
"path": "/definitions/Tag/properties/Key/pattern",
5+
"value": "^(?!aws:).+"
6+
}
7+
]
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[
2+
{
3+
"op": "add",
4+
"path": "/definitions/Tag/properties/Key/pattern",
5+
"value": "^(?!aws:).+"
6+
}
7+
]

src/cfnlint/data/schemas/patches/extensions/all/aws_appstream_appblockbuilder/boto.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,12 @@
1515
"op": "add",
1616
"path": "/properties/IamRoleArn/pattern",
1717
"value": "^arn:aws(?:\\-cn|\\-iso\\-b|\\-iso|\\-us\\-gov)?:[A-Za-z0-9][A-Za-z0-9_/.-]{0,62}:[A-Za-z0-9_/.-]{0,63}:[A-Za-z0-9_/.-]{0,63}:[A-Za-z0-9][A-Za-z0-9:_/+=,@.\\\\-]{0,1023}$"
18+
},
19+
{
20+
"op": "add",
21+
"path": "/definitions/AccessEndpoint/properties/EndpointType/enum",
22+
"value": [
23+
"STREAMING"
24+
]
1825
}
1926
]

src/cfnlint/data/schemas/patches/extensions/all/aws_appstream_application/boto.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,18 @@
99
"path": "/definitions/S3Location/properties/S3Bucket/pattern",
1010
"value": "^[0-9a-z\\.\\-]*(?<!\\.)$"
1111
},
12+
{
13+
"op": "add",
14+
"path": "/definitions/PlatformType/enum",
15+
"value": [
16+
"AMAZON_LINUX2",
17+
"RHEL8",
18+
"WINDOWS",
19+
"WINDOWS_SERVER_2016",
20+
"WINDOWS_SERVER_2019",
21+
"WINDOWS_SERVER_2022"
22+
]
23+
},
1224
{
1325
"op": "add",
1426
"path": "/definitions/Arn/pattern",

src/cfnlint/data/schemas/patches/extensions/all/aws_appstream_applicationentitlementassociation/__init__.py

Whitespace-only changes.

src/cfnlint/data/schemas/patches/extensions/all/aws_appstream_applicationfleetassociation/__init__.py

Whitespace-only changes.

src/cfnlint/data/schemas/patches/extensions/all/aws_appstream_directoryconfig/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)