Skip to content

Commit

Permalink
Update CloudFormation schemas to 2024-08-05 (#3539)
Browse files Browse the repository at this point in the history
Co-authored-by: kddejong <[email protected]>
  • Loading branch information
github-actions[bot] and kddejong authored Aug 5, 2024
1 parent 40cbaf8 commit 7f4cad2
Show file tree
Hide file tree
Showing 65 changed files with 3,297 additions and 165 deletions.
2 changes: 1 addition & 1 deletion docs/rules.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ The following **225** rules are applied by this linter:
| [E3512<a name="E3512"></a>](../src/cfnlint/rules/resources/iam/ResourcePolicy.py) | Validate resource based IAM polices | IAM resources polices are embedded JSON in CloudFormation. This rule validates those embedded policies. | | [Source](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_identity-vs-resource.html) | `resources`,`iam` |
| [E3513<a name="E3513"></a>](../src/cfnlint/rules/resources/iam/ResourceEcrPolicy.py) | Validate ECR repository policy | Private ECR repositories have a policy. This rule validates those policies. | | [Source](https://docs.aws.amazon.com/AmazonECR/latest/userguide/repository-policies.html) | `resources`,`iam`,`ecr` |
| [E3601<a name="E3601"></a>](../src/cfnlint/rules/resources/stepfunctions/StateMachineDefinition.py) | Validate the structure of a StateMachine definition | Validate the Definition or DefinitionString inside a AWS::StepFunctions::StateMachine resource | | [Source](https://docs.aws.amazon.com/step-functions/latest/dg/amazon-states-language-state-machine-structure.html) | `resources`,`statemachine` |
| [E3615<a name="E3615"></a>](../src/cfnlint/rules/resources/cloudwatch/AlarmAwsNamespacePeriod.py) | Validate CloudWatch Alarm using AWS metrics has a correct period | Period < 60 not supported for namespaces with the following prefix: AWS/ | | [Source]() | `resources` |
| [E3615<a name="E3615"></a>](../src/cfnlint/rules/resources/cloudwatch/AlarmPeriod.py) | Validate the period is a valid value | Valid values are 10, 30, 60, and any multiple of 60. | | [Source]() | `resources`,`cloudwatch` |
| [E3617<a name="E3617"></a>](../src/cfnlint/rules/resources/managedblockchain/NodeNodeConfigurationInstanceTypeEnum.py) | Validate ManagedBlockchain instance type | Validates the ManagedBlockchain instance types based on region and data gathered from the pricing APIs | | [Source]() | `resources` |
| [E3620<a name="E3620"></a>](../src/cfnlint/rules/resources/docdb/DBInstanceClassEnum.py) | Validate a DocDB DB Instance class | Validates the DocDB instance types based on region and data gathered from the pricing APIs | | [Source]() | `resources` |
| [E3621<a name="E3621"></a>](../src/cfnlint/rules/resources/appstream/FleetInstanceTypeEnum.py) | Validate the instance types for AppStream Fleet | Validates the AppStream Fleet instance types based on region and data gathered from the pricing APIs | | [Source]() | `resources` |
Expand Down
47 changes: 29 additions & 18 deletions src/cfnlint/data/AdditionalSpecs/Policies.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
"aws:TokenIssueTime",
"aws:UserAgent",
"aws:ViaAWSService",
"aws:VpcSourceIp",
"aws:userid",
"aws:username"
],
Expand Down Expand Up @@ -1880,39 +1881,21 @@
"ARNFormat": "arn:aws:cloudhsm:${Region}:${Account}:${ResourceName}",
"ARNRegex": "^arn:aws:cloudhsm:.+",
"Actions": [
"AddTagsToResource",
"CopyBackupToRegion",
"CreateCluster",
"CreateHapg",
"CreateHsm",
"CreateLunaClient",
"DeleteBackup",
"DeleteCluster",
"DeleteHapg",
"DeleteHsm",
"DeleteLunaClient",
"DeleteResourcePolicy",
"DescribeBackups",
"DescribeClusters",
"DescribeHapg",
"DescribeHsm",
"DescribeLunaClient",
"GetConfig",
"GetResourcePolicy",
"InitializeCluster",
"ListAvailableZones",
"ListHapgs",
"ListHsms",
"ListLunaClients",
"ListTags",
"ListTagsForResource",
"ModifyBackupAttributes",
"ModifyCluster",
"ModifyHapg",
"ModifyHsm",
"ModifyLunaClient",
"PutResourcePolicy",
"RemoveTagsFromResource",
"RestoreBackup",
"TagResource",
"UntagResource"
Expand Down Expand Up @@ -2456,8 +2439,11 @@
"ListActionTypes",
"ListPipelineExecutions",
"ListPipelines",
"ListRuleExecutions",
"ListRuleTypes",
"ListTagsForResource",
"ListWebhooks",
"OverrideStageCondition",
"PollForJobs",
"PollForThirdPartyJobs",
"PutActionRevision",
Expand Down Expand Up @@ -2785,7 +2771,9 @@
"ARNFormat": "arn:aws:controlcatalog:::${ResourceType}/${ResourcePath}",
"ARNRegex": "^arn:aws:controlcatalog:::.+",
"Actions": [
"GetControl",
"ListCommonControls",
"ListControls",
"ListDomains",
"ListObjectives"
],
Expand Down Expand Up @@ -8854,6 +8842,7 @@
"ARNFormat": "arn:aws:resiliencehub:${Region}:${Account}:${ResourceType}/${ResourceId}",
"ARNRegex": "^arn:aws:resiliencehub:.+",
"Actions": [
"AcceptResourceGroupingRecommendations",
"AddDraftAppVersionResourceMappings",
"BatchUpdateRecommendationStatus",
"CreateApp",
Expand All @@ -8877,6 +8866,7 @@
"DescribeAppVersionTemplate",
"DescribeDraftAppVersionResourcesImportStatus",
"DescribeResiliencyPolicy",
"DescribeResourceGroupingRecommendationTask",
"ImportResourcesToDraftAppVersion",
"ListAlarmRecommendations",
"ListAppAssessmentComplianceDrifts",
Expand All @@ -8892,16 +8882,19 @@
"ListApps",
"ListRecommendationTemplates",
"ListResiliencyPolicies",
"ListResourceGroupingRecommendations",
"ListSopRecommendations",
"ListSuggestedResiliencyPolicies",
"ListTagsForResource",
"ListTestRecommendations",
"ListUnsupportedAppVersionResources",
"PublishAppVersion",
"PutDraftAppVersionTemplate",
"RejectResourceGroupingRecommendations",
"RemoveDraftAppVersionResourceMappings",
"ResolveAppVersionResources",
"StartAppAssessment",
"StartResourceGroupingRecommendationTask",
"TagResource",
"UntagResource",
"UpdateApp",
Expand Down Expand Up @@ -11710,6 +11703,7 @@
"CreateGuardrail",
"CreateGuardrailVersion",
"CreateKnowledgeBase",
"CreateModelCopyJob",
"CreateModelCustomizationJob",
"CreateModelEvaluationJob",
"CreateModelInvocationJob",
Expand Down Expand Up @@ -11751,6 +11745,7 @@
"GetGuardrail",
"GetIngestionJob",
"GetKnowledgeBase",
"GetModelCopyJob",
"GetModelCustomizationJob",
"GetModelEvaluationJob",
"GetModelInvocationJob",
Expand Down Expand Up @@ -11778,6 +11773,7 @@
"ListGuardrails",
"ListIngestionJobs",
"ListKnowledgeBases",
"ListModelCopyJobs",
"ListModelCustomizationJobs",
"ListModelEvaluationJobs",
"ListModelInvocationJobs",
Expand Down Expand Up @@ -13809,6 +13805,7 @@
"Actions": [
"AcceptPredictions",
"AcceptSubscriptionRequest",
"AddEntityOwner",
"AddPolicyGrant",
"AssociateEnvironmentRole",
"CancelMetadataGenerationRun",
Expand All @@ -13817,8 +13814,11 @@
"CreateAssetFilter",
"CreateAssetRevision",
"CreateAssetType",
"CreateDataProduct",
"CreateDataProductRevision",
"CreateDataSource",
"CreateDomain",
"CreateDomainUnit",
"CreateEnvironment",
"CreateEnvironmentAction",
"CreateEnvironmentBlueprint",
Expand All @@ -13837,9 +13837,11 @@
"DeleteAsset",
"DeleteAssetFilter",
"DeleteAssetType",
"DeleteDataProduct",
"DeleteDataSource",
"DeleteDomain",
"DeleteDomainSharingPolicy",
"DeleteDomainUnit",
"DeleteEnvironment",
"DeleteEnvironmentAction",
"DeleteEnvironmentBlueprint",
Expand All @@ -13859,10 +13861,12 @@
"GetAsset",
"GetAssetFilter",
"GetAssetType",
"GetDataProduct",
"GetDataSource",
"GetDataSourceRun",
"GetDomain",
"GetDomainSharingPolicy",
"GetDomainUnit",
"GetEnvironment",
"GetEnvironmentAction",
"GetEnvironmentActionLink",
Expand All @@ -13889,10 +13893,13 @@
"ListAccountEnvironments",
"ListAssetFilters",
"ListAssetRevisions",
"ListDataProductRevisions",
"ListDataSourceRunActivities",
"ListDataSourceRuns",
"ListDataSources",
"ListDomainUnitsForParent",
"ListDomains",
"ListEntityOwners",
"ListEnvironmentActions",
"ListEnvironmentBlueprintConfigurationSummaries",
"ListEnvironmentBlueprintConfigurations",
Expand Down Expand Up @@ -13921,6 +13928,7 @@
"RefreshToken",
"RejectPredictions",
"RejectSubscriptionRequest",
"RemoveEntityOwner",
"RemovePolicyGrant",
"RevokeSubscription",
"Search",
Expand All @@ -13939,6 +13947,7 @@
"UpdateDataSource",
"UpdateDataSourceRunActivities",
"UpdateDomain",
"UpdateDomainUnit",
"UpdateEnvironment",
"UpdateEnvironmentAction",
"UpdateEnvironmentBlueprint",
Expand Down Expand Up @@ -20392,11 +20401,13 @@
"CancelZonalShift",
"CreatePracticeRunConfiguration",
"DeletePracticeRunConfiguration",
"GetAutoshiftObserverNotificationStatus",
"GetManagedResource",
"ListAutoshifts",
"ListManagedResources",
"ListZonalShifts",
"StartZonalShift",
"UpdateAutoshiftObserverNotificationStatus",
"UpdatePracticeRunConfiguration",
"UpdateZonalAutoshiftConfiguration",
"UpdateZonalShift"
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"13e2ba2de2278576e21963023dc47eb9\"", "url": "https://schema.cloudformation.eu-south-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"e45c54c3a5c71778a502ab083126b1fa\"", "url": "https://schema.cloudformation.eu-south-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"b3496749571dd1d88c79b5d7f65e01d4\"", "url": "https://schema.cloudformation.me-south-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"8aad0081fc5aa178830b85318675d35a\"", "url": "https://schema.cloudformation.me-south-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"babf77f32064122868adcaacd6e6cf2a\"", "url": "https://schema.cloudformation.us-gov-west-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"2ea262252de69675e96d642565768882\"", "url": "https://schema.cloudformation.us-gov-west-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"7b36451bce4de8d4adbb079e44906d70\"", "url": "https://schema.cloudformation.me-central-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"ce9d915909dfbf40b4b70d41faac8eb5\"", "url": "https://schema.cloudformation.me-central-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"31f53d67c72c89b3a0a7d42ae4011bd2\"", "url": "https://schema.cloudformation.eu-west-2.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"16cf790a1063e4ff2ceb494a84ef5106\"", "url": "https://schema.cloudformation.eu-west-2.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"1072d0485f7b5d06f887e1a9595db65e\"", "url": "https://schema.cloudformation.af-south-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"4eec9daa1781dcb148c850bc451672b9\"", "url": "https://schema.cloudformation.af-south-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"ebfe2d60e21a0621519f4bbcb09f73aa\"", "url": "https://schema.cloudformation.us-west-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"18998b0ae923fffebacca8ef1b921860\"", "url": "https://schema.cloudformation.us-west-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"a1f5c3420a76e24c4e6ab98c2450b976\"", "url": "https://schema.cloudformation.eu-central-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"5f81eab795885987d59d1723064991c0\"", "url": "https://schema.cloudformation.eu-central-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"3ddf68c043d9e9b54a99406435f73fa5\"", "url": "https://schema.cloudformation.ap-south-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"055992d589da8f7d83d860a833bbf9c8\"", "url": "https://schema.cloudformation.ap-south-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"967e93658732751c98a6359c52b76221\"", "url": "https://schema.cloudformation.ap-southeast-4.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"26da827da26466c0e4e9e66416263b70\"", "url": "https://schema.cloudformation.ap-southeast-4.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"e7ba3b3b1f564a05f8ef6fbf467edbce\"", "url": "https://schema.cloudformation.us-east-2.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"ab8051be145f827b2026c8ac2dc7e711\"", "url": "https://schema.cloudformation.us-east-2.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"8e514a8ec045575ff059aeb81ed0779b\"", "url": "https://schema.cloudformation.ap-southeast-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"4ea9140666e056175d560ddf4db3f32c\"", "url": "https://schema.cloudformation.ap-southeast-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"a9e556527d5bb7c0ec81e40b976523c7\"", "url": "https://schema.cloudformation.ap-northeast-2.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"e8433152cfddd2425b7cb5b351f30aa3\"", "url": "https://schema.cloudformation.ap-northeast-2.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"19efa72570c84eab9dff600f4d48b7a1\"", "url": "https://schema.cloudformation.sa-east-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"3eabcf49b17463f84d79bdd4cfed5ba2\"", "url": "https://schema.cloudformation.sa-east-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"9cad48037f601bb883e0ec7d728b60ff\"", "url": "https://schema.cloudformation.ap-southeast-2.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"ea086e9fd6c340ad68cfda6171979f11\"", "url": "https://schema.cloudformation.ap-southeast-2.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"b95720cc20f70d38bf665d07c6c1a949\"", "url": "https://schema.cloudformation.ca-west-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"beab4a210da56c904872b7172287ab72\"", "url": "https://schema.cloudformation.ca-west-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"95603a27f963cea737b1972f8d079417\"", "url": "https://schema.cloudformation.eu-central-2.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"0d71cdf3774c6d17aa0137c143d4a599\"", "url": "https://schema.cloudformation.eu-central-2.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"5f291ba3d1e67c93c345ffdcaf36bef0\"", "url": "https://schema.cloudformation.eu-north-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"8d3c0ca36bef826c791d9332b3294b45\"", "url": "https://schema.cloudformation.eu-north-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"ae845f8beef7716442b39f23fe122132\"", "url": "https://schema.cloudformation.eu-south-2.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"d96cbf63de582f3a84eca64210e18ab3\"", "url": "https://schema.cloudformation.eu-south-2.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"090821fcf2cfb2c2421d9507871c725f\"", "url": "https://schema.cloudformation.ca-central-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"bf496693cdeec53441391670ebb9137d\"", "url": "https://schema.cloudformation.ca-central-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"dcb6f2b1f562542607d4f4a3ca4d2dfa\"", "url": "https://schema.cloudformation.eu-west-3.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"798c2d3e9f1910dff0637434fc4bc5a7\"", "url": "https://schema.cloudformation.eu-west-3.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"429b619a92b755518f883c1bfafde202\"", "url": "https://schema.cloudformation.ap-northeast-3.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"fa531a88fd97a35e6d560759c5339aea\"", "url": "https://schema.cloudformation.ap-northeast-3.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"2612ab90cebe491a5d06f0a8d21c983e\"", "url": "https://schema.cloudformation.us-west-2.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"e88ca4cbdccde6f2a47c2a9be820cc16\"", "url": "https://schema.cloudformation.us-west-2.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"a098f8aab8e96142bf8528eb90e0c25e\"", "url": "https://schema.cloudformation.ap-south-2.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"620982705a95dba5258daa8fc0703ff3\"", "url": "https://schema.cloudformation.ap-south-2.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"e985314b846cbb7fc5d7896d2f41b98e\"", "url": "https://schema.cloudformation.us-east-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"06da2b21928da255943e68f7199dd148\"", "url": "https://schema.cloudformation.us-east-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"0bb56400b046eef97c15dc41d85b6d77\"", "url": "https://schema.cloudformation.eu-west-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"e85eee307215b9ad6e6499fadeaa48b8\"", "url": "https://schema.cloudformation.eu-west-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"0c26a280b66fbb26f9e98da5ed6de5cd\"", "url": "https://schema.cloudformation.ap-northeast-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"88115ccc33a8cff2306deb520e3b747f\"", "url": "https://schema.cloudformation.ap-northeast-1.amazonaws.com/CloudformationSchema.zip"}
1 change: 1 addition & 0 deletions src/cfnlint/data/Serverless/ManagedPolicies.json
Original file line number Diff line number Diff line change
Expand Up @@ -605,6 +605,7 @@
"AmazonAugmentedAIIntegratedAPIAccess": "arn:aws:iam::aws:policy/AmazonAugmentedAIIntegratedAPIAccess",
"AmazonBedrockFullAccess": "arn:aws:iam::aws:policy/AmazonBedrockFullAccess",
"AmazonBedrockReadOnly": "arn:aws:iam::aws:policy/AmazonBedrockReadOnly",
"AmazonBedrockStudioPermissionsBoundary": "arn:aws:iam::aws:policy/AmazonBedrockStudioPermissionsBoundary",
"AmazonBraketFullAccess": "arn:aws:iam::aws:policy/AmazonBraketFullAccess",
"AmazonBraketJobsExecutionPolicy": "arn:aws:iam::aws:policy/AmazonBraketJobsExecutionPolicy",
"AmazonBraketServiceRolePolicy": "arn:aws:iam::aws:policy/aws-service-role/AmazonBraketServiceRolePolicy",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,34 @@
"dax.t3.small"
]
},
"eu-north-1": {
"enum": [
"dax.r5.12xlarge",
"dax.r5.16xlarge",
"dax.r5.24xlarge",
"dax.r5.2xlarge",
"dax.r5.4xlarge",
"dax.r5.8xlarge",
"dax.r5.large",
"dax.r5.xlarge",
"dax.t3.medium",
"dax.t3.small"
]
},
"eu-south-2": {
"enum": [
"dax.r5.12xlarge",
"dax.r5.16xlarge",
"dax.r5.24xlarge",
"dax.r5.2xlarge",
"dax.r5.4xlarge",
"dax.r5.8xlarge",
"dax.r5.large",
"dax.r5.xlarge",
"dax.t3.medium",
"dax.t3.small"
]
},
"eu-west-1": {
"enum": [
"dax.r3.2xlarge",
Expand Down
Loading

0 comments on commit 7f4cad2

Please sign in to comment.