Skip to content

Commit 80d7c02

Browse files
authored
Update maintenance job to get data from boto (#3361)
* Update schemas from boto * update mainteniance job to get data from boto
1 parent 592a28f commit 80d7c02

File tree

336 files changed

+1456
-1424
lines changed

Some content is hidden

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

336 files changed

+1456
-1424
lines changed

.github/workflows/maintenance-v1.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ jobs:
2525
cfn-lint --update-documentation
2626
scripts/update_specs_from_pricing.py
2727
scripts/update_serverless_aws_policies.py
28+
scripts/update_schemas_from_boto.py
2829
scripts/update_schemas_from_aws_api.py
2930
cfn-lint --update-specs
3031
echo "date=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
"op": "add",
44
"path": "/properties/DeploymentMode/enum",
55
"value": [
6-
"SINGLE_INSTANCE",
76
"ACTIVE_STANDBY_MULTI_AZ",
8-
"CLUSTER_MULTI_AZ"
7+
"CLUSTER_MULTI_AZ",
8+
"SINGLE_INSTANCE"
99
]
1010
},
1111
{

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
"op": "add",
44
"path": "/properties/Type/enum",
55
"value": [
6-
"TOKEN",
6+
"COGNITO_USER_POOLS",
77
"REQUEST",
8-
"COGNITO_USER_POOLS"
8+
"TOKEN"
99
]
1010
}
1111
]

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

+13-13
Original file line numberDiff line numberDiff line change
@@ -3,26 +3,26 @@
33
"op": "add",
44
"path": "/properties/ResponseType/enum",
55
"value": [
6-
"DEFAULT_4XX",
7-
"DEFAULT_5XX",
8-
"RESOURCE_NOT_FOUND",
9-
"UNAUTHORIZED",
10-
"INVALID_API_KEY",
116
"ACCESS_DENIED",
12-
"AUTHORIZER_FAILURE",
7+
"API_CONFIGURATION_ERROR",
138
"AUTHORIZER_CONFIGURATION_ERROR",
14-
"INVALID_SIGNATURE",
9+
"AUTHORIZER_FAILURE",
10+
"BAD_REQUEST_BODY",
11+
"BAD_REQUEST_PARAMETERS",
12+
"DEFAULT_4XX",
13+
"DEFAULT_5XX",
1514
"EXPIRED_TOKEN",
16-
"MISSING_AUTHENTICATION_TOKEN",
1715
"INTEGRATION_FAILURE",
1816
"INTEGRATION_TIMEOUT",
19-
"API_CONFIGURATION_ERROR",
20-
"UNSUPPORTED_MEDIA_TYPE",
21-
"BAD_REQUEST_PARAMETERS",
22-
"BAD_REQUEST_BODY",
17+
"INVALID_API_KEY",
18+
"INVALID_SIGNATURE",
19+
"MISSING_AUTHENTICATION_TOKEN",
20+
"QUOTA_EXCEEDED",
2321
"REQUEST_TOO_LARGE",
22+
"RESOURCE_NOT_FOUND",
2423
"THROTTLED",
25-
"QUOTA_EXCEEDED",
24+
"UNAUTHORIZED",
25+
"UNSUPPORTED_MEDIA_TYPE",
2626
"WAF_FILTERED"
2727
]
2828
}

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
"op": "add",
44
"path": "/properties/ApiKeySourceType/enum",
55
"value": [
6-
"HEADER",
7-
"AUTHORIZER"
6+
"AUTHORIZER",
7+
"HEADER"
88
]
99
}
1010
]

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

+14-14
Original file line numberDiff line numberDiff line change
@@ -11,30 +11,30 @@
1111
"op": "add",
1212
"path": "/definitions/PredefinedMetricSpecification/properties/PredefinedMetricType/enum",
1313
"value": [
14+
"ALBRequestCountPerTarget",
15+
"AppStreamAverageCapacityUtilization",
16+
"CassandraReadCapacityUtilization",
17+
"CassandraWriteCapacityUtilization",
18+
"ComprehendInferenceUtilization",
1419
"DynamoDBReadCapacityUtilization",
1520
"DynamoDBWriteCapacityUtilization",
16-
"ALBRequestCountPerTarget",
17-
"RDSReaderAverageCPUUtilization",
18-
"RDSReaderAverageDatabaseConnections",
1921
"EC2SpotFleetRequestAverageCPUUtilization",
2022
"EC2SpotFleetRequestAverageNetworkIn",
2123
"EC2SpotFleetRequestAverageNetworkOut",
22-
"SageMakerVariantInvocationsPerInstance",
2324
"ECSServiceAverageCPUUtilization",
2425
"ECSServiceAverageMemoryUtilization",
25-
"AppStreamAverageCapacityUtilization",
26-
"ComprehendInferenceUtilization",
27-
"LambdaProvisionedConcurrencyUtilization",
28-
"CassandraReadCapacityUtilization",
29-
"CassandraWriteCapacityUtilization",
30-
"KafkaBrokerStorageUtilization",
26+
"ElastiCacheDatabaseCapacityUsageCountedForEvictPercentage",
27+
"ElastiCacheDatabaseMemoryUsageCountedForEvictPercentage",
3128
"ElastiCachePrimaryEngineCPUUtilization",
3229
"ElastiCacheReplicaEngineCPUUtilization",
33-
"ElastiCacheDatabaseMemoryUsageCountedForEvictPercentage",
30+
"KafkaBrokerStorageUtilization",
31+
"LambdaProvisionedConcurrencyUtilization",
3432
"NeptuneReaderAverageCPUUtilization",
35-
"SageMakerVariantProvisionedConcurrencyUtilization",
36-
"ElastiCacheDatabaseCapacityUsageCountedForEvictPercentage",
37-
"SageMakerInferenceComponentInvocationsPerCopy"
33+
"RDSReaderAverageCPUUtilization",
34+
"RDSReaderAverageDatabaseConnections",
35+
"SageMakerInferenceComponentInvocationsPerCopy",
36+
"SageMakerVariantInvocationsPerInstance",
37+
"SageMakerVariantProvisionedConcurrencyUtilization"
3838
]
3939
}
4040
]

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

+5-5
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
"op": "add",
44
"path": "/properties/Type/enum",
55
"value": [
6-
"AWS_LAMBDA",
76
"AMAZON_DYNAMODB",
87
"AMAZON_ELASTICSEARCH",
9-
"NONE",
10-
"HTTP",
11-
"RELATIONAL_DATABASE",
8+
"AMAZON_EVENTBRIDGE",
129
"AMAZON_OPENSEARCH_SERVICE",
13-
"AMAZON_EVENTBRIDGE"
10+
"AWS_LAMBDA",
11+
"HTTP",
12+
"NONE",
13+
"RELATIONAL_DATABASE"
1414
]
1515
}
1616
]

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

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
"op": "add",
44
"path": "/properties/AuthenticationType/enum",
55
"value": [
6+
"AMAZON_COGNITO_USER_POOLS",
67
"API_KEY",
78
"AWS_IAM",
8-
"AMAZON_COGNITO_USER_POOLS",
9-
"OPENID_CONNECT",
10-
"AWS_LAMBDA"
9+
"AWS_LAMBDA",
10+
"OPENID_CONNECT"
1111
]
1212
}
1313
]

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
"op": "add",
44
"path": "/properties/Kind/enum",
55
"value": [
6-
"UNIT",
7-
"PIPELINE"
6+
"PIPELINE",
7+
"UNIT"
88
]
99
}
1010
]

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

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
"op": "add",
44
"path": "/definitions/BlockDevice/properties/VolumeType/enum",
55
"value": [
6-
"standard",
6+
"gp2",
7+
"gp3",
78
"io1",
89
"io2",
9-
"gp2",
1010
"sc1",
1111
"st1",
12-
"gp3"
12+
"standard"
1313
]
1414
}
1515
]

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

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
"path": "/definitions/CustomizedMetricSpecification/properties/Statistic/enum",
55
"value": [
66
"Average",
7-
"Minimum",
87
"Maximum",
8+
"Minimum",
99
"SampleCount",
1010
"Sum"
1111
]
@@ -14,10 +14,10 @@
1414
"op": "add",
1515
"path": "/definitions/PredefinedMetricSpecification/properties/PredefinedMetricType/enum",
1616
"value": [
17+
"ALBRequestCountPerTarget",
1718
"ASGAverageCPUUtilization",
1819
"ASGAverageNetworkIn",
19-
"ASGAverageNetworkOut",
20-
"ALBRequestCountPerTarget"
20+
"ASGAverageNetworkOut"
2121
]
2222
}
2323
]

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

+10-10
Original file line numberDiff line numberDiff line change
@@ -4,33 +4,33 @@
44
"path": "/definitions/ScalingInstruction/properties/ScalableDimension/enum",
55
"value": [
66
"autoscaling:autoScalingGroup:DesiredCapacity",
7-
"ecs:service:DesiredCount",
8-
"ec2:spot-fleet-request:TargetCapacity",
9-
"rds:cluster:ReadReplicaCount",
7+
"dynamodb:index:ReadCapacityUnits",
8+
"dynamodb:index:WriteCapacityUnits",
109
"dynamodb:table:ReadCapacityUnits",
1110
"dynamodb:table:WriteCapacityUnits",
12-
"dynamodb:index:ReadCapacityUnits",
13-
"dynamodb:index:WriteCapacityUnits"
11+
"ec2:spot-fleet-request:TargetCapacity",
12+
"ecs:service:DesiredCount",
13+
"rds:cluster:ReadReplicaCount"
1414
]
1515
},
1616
{
1717
"op": "add",
1818
"path": "/definitions/ScalingInstruction/properties/ServiceNamespace/enum",
1919
"value": [
2020
"autoscaling",
21-
"ecs",
21+
"dynamodb",
2222
"ec2",
23-
"rds",
24-
"dynamodb"
23+
"ecs",
24+
"rds"
2525
]
2626
},
2727
{
2828
"op": "add",
2929
"path": "/definitions/ScalingInstruction/properties/PredictiveScalingMaxCapacityBehavior/enum",
3030
"value": [
3131
"SetForecastCapacityToMaxCapacity",
32-
"SetMaxCapacityToForecastCapacity",
33-
"SetMaxCapacityAboveForecastCapacity"
32+
"SetMaxCapacityAboveForecastCapacity",
33+
"SetMaxCapacityToForecastCapacity"
3434
]
3535
},
3636
{

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

+11-11
Original file line numberDiff line numberDiff line change
@@ -3,31 +3,31 @@
33
"op": "add",
44
"path": "/definitions/BudgetData/properties/BudgetType/enum",
55
"value": [
6-
"USAGE",
76
"COST",
8-
"RI_UTILIZATION",
97
"RI_COVERAGE",
8+
"RI_UTILIZATION",
9+
"SAVINGS_PLANS_COVERAGE",
1010
"SAVINGS_PLANS_UTILIZATION",
11-
"SAVINGS_PLANS_COVERAGE"
11+
"USAGE"
1212
]
1313
},
1414
{
1515
"op": "add",
1616
"path": "/definitions/BudgetData/properties/TimeUnit/enum",
1717
"value": [
18+
"ANNUALLY",
1819
"DAILY",
1920
"MONTHLY",
20-
"QUARTERLY",
21-
"ANNUALLY"
21+
"QUARTERLY"
2222
]
2323
},
2424
{
2525
"op": "add",
2626
"path": "/definitions/Notification/properties/ComparisonOperator/enum",
2727
"value": [
28+
"EQUAL_TO",
2829
"GREATER_THAN",
29-
"LESS_THAN",
30-
"EQUAL_TO"
30+
"LESS_THAN"
3131
]
3232
},
3333
{
@@ -42,16 +42,16 @@
4242
"op": "add",
4343
"path": "/definitions/Notification/properties/ThresholdType/enum",
4444
"value": [
45-
"PERCENTAGE",
46-
"ABSOLUTE_VALUE"
45+
"ABSOLUTE_VALUE",
46+
"PERCENTAGE"
4747
]
4848
},
4949
{
5050
"op": "add",
5151
"path": "/definitions/Subscriber/properties/SubscriptionType/enum",
5252
"value": [
53-
"SNS",
54-
"EMAIL"
53+
"EMAIL",
54+
"SNS"
5555
]
5656
}
5757
]

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
"op": "add",
44
"path": "/properties/ValidationMethod/enum",
55
"value": [
6-
"EMAIL",
7-
"DNS"
6+
"DNS",
7+
"EMAIL"
88
]
99
}
1010
]

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
"op": "add",
44
"path": "/properties/PermissionModel/enum",
55
"value": [
6-
"SERVICE_MANAGED",
7-
"SELF_MANAGED"
6+
"SELF_MANAGED",
7+
"SERVICE_MANAGED"
88
]
99
}
1010
]

0 commit comments

Comments
 (0)