Skip to content

Commit

Permalink
Update CloudFormation schemas to 2024-07-09
Browse files Browse the repository at this point in the history
  • Loading branch information
kddejong authored and github-actions[bot] committed Jul 9, 2024
1 parent 19b13e2 commit 360679e
Show file tree
Hide file tree
Showing 96 changed files with 3,848 additions and 297 deletions.
3 changes: 2 additions & 1 deletion docs/rules.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ To include these rules, use the `-e/include-experimental` argument when running
## Rules
(_This documentation is generated by running `cfn-lint --update-documentation`, do not alter this manually_)

The following **208** rules are applied by this linter:
The following **209** rules are applied by this linter:

| Rule ID | Title | Description | Config<br />(Name:Type:Default) | Source | Tags |
| -------- | ----- | ----------- | ---------- | ------ | ---- |
Expand All @@ -57,6 +57,7 @@ The following **208** rules are applied by this linter:
| [E1002<a name="E1002"></a>](../src/cfnlint/rules/templates/LimitSize.py) | Validate if a template size is too large | Check the size of the template is less than the upper limit | | [Source](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cloudformation-limits.html) | `limits` |
| [E1003<a name="E1003"></a>](../src/cfnlint/rules/templates/LimitDescription.py) | Validate the max size of a description | Check if the size of the template description is less than the upper limit | | [Source](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cloudformation-limits.html) | `description`,`limits` |
| [E1004<a name="E1004"></a>](../src/cfnlint/rules/templates/Description.py) | Template description can only be a string | Template description can only be a string | | [Source](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-description-structure.html) | `description` |
| [E1005<a name="E1005"></a>](../src/cfnlint/rules/transforms/Configuration.py) | Validate Transform configuration | Validate that the transforms section of a template is properly configured | | [Source](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-section-structure.html) | `transform` |
| [E1010<a name="E1010"></a>](../src/cfnlint/rules/functions/GetAtt.py) | GetAtt validation of parameters | Validates that GetAtt parameters are to valid resources and properties of those resources | | [Source](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-getatt.html) | `functions`,`getatt` |
| [E1011<a name="E1011"></a>](../src/cfnlint/rules/functions/FindInMap.py) | FindInMap validation of configuration | Making sure the function is a list of appropriate config | | [Source](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-findinmap.html) | `functions`,`findinmap` |
| [E1015<a name="E1015"></a>](../src/cfnlint/rules/functions/GetAz.py) | GetAz validation of parameters | Making sure the GetAz function is properly configured | | [Source](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-getavailabilityzones.html) | `functions`,`getaz` |
Expand Down
36 changes: 35 additions & 1 deletion src/cfnlint/data/AdditionalSpecs/Policies.json
Original file line number Diff line number Diff line change
Expand Up @@ -10334,6 +10334,31 @@
"aws:TagKeys"
]
},
"AWS Systems Manager Quick Setup": {
"ARNFormat": "arn:aws:ssm-quicksetup:${Region}:${Account}:${ResourceType}/${ResourceId}",
"ARNRegex": "^arn:aws:ssm-quicksetup:.+",
"Actions": [
"CreateConfigurationManager",
"DeleteConfigurationManager",
"GetConfigurationManager",
"GetServiceSettings",
"ListConfigurationManagers",
"ListQuickSetupTypes",
"ListTagsForResource",
"TagResource",
"UntagResource",
"UpdateConfigurationDefinition",
"UpdateConfigurationManager",
"UpdateServiceSettings"
],
"HasResource": true,
"StringPrefix": "ssm-quicksetup",
"conditionKeys": [
"aws:RequestTag/${TagKey}",
"aws:ResourceTag/${TagKey}",
"aws:TagKeys"
]
},
"AWS Systems Manager for SAP": {
"ARNFormat": "arn:aws:ssm-sap:${Region}:${Account}:${ApplicationType}/${ApplicationId}",
"ARNRegex": "^arn:aws:ssm-sap:.+",
Expand Down Expand Up @@ -19215,12 +19240,14 @@
"ImportDocumentToQAppSession",
"ListLibraryItems",
"ListQApps",
"ListTagsForResource",
"PredictProblemStatementFromConversation",
"PredictQApp",
"PredictQAppFromProblemStatement",
"StartQAppSession",
"StopQAppSession",
"TagResource",
"UntagResource",
"UpdateLibraryItem",
"UpdateQApp",
"UpdateQAppSession",
Expand All @@ -19231,7 +19258,11 @@
"conditionKeys": [
"aws:RequestTag/${TagKey}",
"aws:ResourceTag/${TagKey}",
"aws:TagKeys"
"aws:TagKeys",
"qapps:AppIsPublished",
"qapps:SessionIsShared",
"qapps:UserIsAppOwner",
"qapps:UserIsSessionModerator"
]
},
"Amazon Q in Connect": {
Expand Down Expand Up @@ -21149,6 +21180,7 @@
"CreateFeatureGroup",
"CreateFlowDefinition",
"CreateHub",
"CreateHubContentReference",
"CreateHumanTaskUi",
"CreateHyperParameterTuningJob",
"CreateImage",
Expand Down Expand Up @@ -21208,6 +21240,7 @@
"DeleteFlowDefinition",
"DeleteHub",
"DeleteHubContent",
"DeleteHubContentReference",
"DeleteHumanLoop",
"DeleteHumanTaskUi",
"DeleteHyperParameterTuningJob",
Expand Down Expand Up @@ -21240,6 +21273,7 @@
"DeleteUserProfile",
"DeleteWorkforce",
"DeleteWorkteam",
"DeployHubModel",
"DeregisterDevices",
"DescribeAction",
"DescribeAlgorithm",
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"56c19db31a7e08d717de45ef6f48d694\"", "url": "https://schema.cloudformation.us-gov-east-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"de56f37453893fbba91a92058f0cc84e\"", "url": "https://schema.cloudformation.us-gov-east-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"e71a332cc2661b48d95bcf3b37f5cedf\"", "url": "https://schema.cloudformation.me-south-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"2a1519f5276ed3247971132624a8e43d\"", "url": "https://schema.cloudformation.me-south-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"0a7bfcb4c82179f8b896a35925491e09\"", "url": "https://schema.cloudformation.me-central-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"5b52e171102004663a03c52bb79ba4a9\"", "url": "https://schema.cloudformation.me-central-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"91f0978825d39a2e63edb1a4e29aed89\"", "url": "https://schema.cloudformation.af-south-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"21a6ed7a091901e69eaa115331835b90\"", "url": "https://schema.cloudformation.af-south-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"991196a2de6f8c6b5538c1a544b58979\"", "url": "https://schema.cloudformation.eu-central-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"dbab1819fc94635cfa2f56715d9374f5\"", "url": "https://schema.cloudformation.eu-central-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"395a9158b87cdc3728334073eda6165b\"", "url": "https://schema.cloudformation.ap-south-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"c706b9ffc01ac9c154ae434cda6e90f5\"", "url": "https://schema.cloudformation.ap-south-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"df91f04b90a0bf3c17a1cf6b6dfc6cf0\"", "url": "https://schema.cloudformation.ap-southeast-4.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"de2b215ac9b1676ec845c823305b691c\"", "url": "https://schema.cloudformation.ap-southeast-4.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"7fd0faefbfc8e4a02af5ff51fed6fb76\"", "url": "https://schema.cloudformation.us-east-2.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"4dab7514a7053ff58651220fcb23c6ce\"", "url": "https://schema.cloudformation.us-east-2.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"27374bda6245a69e30814683e62de6ec\"", "url": "https://schema.cloudformation.ap-southeast-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"32770881d31b4889baf0b1105f694d0b\"", "url": "https://schema.cloudformation.ap-southeast-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"98719bf3496f55719534c6360f8346a7\"", "url": "https://schema.cloudformation.ap-northeast-2.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"edf94f0ce457cd9cf8d922df85e88e26\"", "url": "https://schema.cloudformation.ap-northeast-2.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"7187774c04713c1502263442a2d6ab3f\"", "url": "https://schema.cloudformation.ap-east-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"b6d8e3218ab5eb827f0937652265540f\"", "url": "https://schema.cloudformation.ap-east-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"a64a40fa66f83f219a05b0ef7edb1bf6\"", "url": "https://schema.cloudformation.ap-southeast-2.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"bd6fe05c46532184d494ede298e47d0d\"", "url": "https://schema.cloudformation.ap-southeast-2.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"b01e9073b37eb46f5c2b281f6db771e8\"", "url": "https://schema.cloudformation.ca-west-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"25ef4c976030cb9195997ecec74c986f\"", "url": "https://schema.cloudformation.ca-west-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"3e5d616fe869d01f1741b56510072f71\"", "url": "https://schema.cloudformation.eu-north-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"3b0efd5755a7c1121c7b6898c360d84f\"", "url": "https://schema.cloudformation.eu-north-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"613b72638ddbe49611c6bc87d2e43df0\"", "url": "https://schema.cloudformation.eu-south-2.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"f94905967f73561379833bc57e0e8258\"", "url": "https://schema.cloudformation.eu-south-2.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"0fdf19c33931e5ba91c4015a3a4865a0\"", "url": "https://schema.cloudformation.eu-west-3.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"4125643c79737b6e589dd9dbff4c28c0\"", "url": "https://schema.cloudformation.eu-west-3.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"9527c9638e1c9c42e467012e1f547974\"", "url": "https://schema.cloudformation.ap-northeast-3.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"38a6ce3e846c9962a498a2ef95b81dc5\"", "url": "https://schema.cloudformation.ap-northeast-3.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"a9a849e9a12e9e0c019062316ea02406\"", "url": "https://schema.cloudformation.us-west-2.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"8c920f6472b95403f79cebbe365e0a9f\"", "url": "https://schema.cloudformation.us-west-2.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"e3846207dba9497182ae4faaad55f9e7\"", "url": "https://schema.cloudformation.ap-south-2.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"3407c45be9d672535e538a0799086e02\"", "url": "https://schema.cloudformation.ap-south-2.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"9090d15775b8e346663a0c65d21deeab\"", "url": "https://schema.cloudformation.us-east-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"17cfbb043503a1368c1b3968e79d9c3f\"", "url": "https://schema.cloudformation.us-east-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"1cf883a1462f756e4f5ada47de144441\"", "url": "https://schema.cloudformation.eu-west-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"230e534dd4887f049e94480922fdc686\"", "url": "https://schema.cloudformation.eu-west-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"1e84d5bea7764517ccbc12987e5cab4e\"", "url": "https://schema.cloudformation.ap-northeast-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"f522da73d20165c0ee94a7ce44cd8329\"", "url": "https://schema.cloudformation.ap-northeast-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
Expand Up @@ -241,11 +241,6 @@
},
"sa-east-1": {
"enum": [
"dax.r3.2xlarge",
"dax.r3.4xlarge",
"dax.r3.8xlarge",
"dax.r3.large",
"dax.r3.xlarge",
"dax.r4.16xlarge",
"dax.r4.2xlarge",
"dax.r4.4xlarge",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
"5.7.mysql_aurora.2.12.0",
"5.7.mysql_aurora.2.12.1",
"5.7.mysql_aurora.2.12.2",
"5.7.mysql_aurora.2.12.3",
"8.0.mysql_aurora.3.03.0",
"8.0.mysql_aurora.3.03.1",
"8.0.mysql_aurora.3.03.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@
"5.7.mysql_aurora.2.12.0",
"5.7.mysql_aurora.2.12.1",
"5.7.mysql_aurora.2.12.2",
"5.7.mysql_aurora.2.12.3",
"8.0.mysql_aurora.3.03.0",
"8.0.mysql_aurora.3.03.1",
"8.0.mysql_aurora.3.03.2",
Expand Down Expand Up @@ -282,7 +283,8 @@
"11.5.9.0.sb00039210.r1",
"11.5.9.0.sb00039340.r1",
"11.5.9.0.sb00040222.r1",
"11.5.9.0.sb00040226.r1"
"11.5.9.0.sb00040226.r1",
"11.5.9.0.sb00042449.r1"
]
}
}
Expand Down Expand Up @@ -314,7 +316,8 @@
"11.5.9.0.sb00039210.r1",
"11.5.9.0.sb00039340.r1",
"11.5.9.0.sb00040222.r1",
"11.5.9.0.sb00040226.r1"
"11.5.9.0.sb00040226.r1",
"11.5.9.0.sb00042449.r1"
]
}
}
Expand Down
1 change: 0 additions & 1 deletion src/cfnlint/data/schemas/providers/af_south_1/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1520,7 +1520,6 @@
"aws-sso-application.json",
"aws-sso-applicationassignment.json",
"aws-sso-assignment.json",
"aws-sso-instance.json",
"aws-sso-instanceaccesscontrolattributeconfiguration.json",
"aws-sso-permissionset.json",
"aws-stepfunctions-activity.json",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@
],
"sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-sso/aws-sso-instance",
"tagging": {
"cloudFormationSystemTags": true,
"tagOnCreate": true,
"tagProperty": "/properties/Tags",
"tagUpdatable": true,
Expand Down
2 changes: 1 addition & 1 deletion src/cfnlint/data/schemas/providers/ap_east_1/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -946,6 +946,7 @@
"aws-codedeploy-deploymentconfig.json",
"aws-codedeploy-deploymentgroup.json",
"aws-codepipeline-customactiontype.json",
"aws-codepipeline-pipeline.json",
"aws-codepipeline-webhook.json",
"aws-codestarnotifications-notificationrule.json",
"aws-cognito-identitypool.json",
Expand Down Expand Up @@ -1496,7 +1497,6 @@
"aws-sso-application.json",
"aws-sso-applicationassignment.json",
"aws-sso-assignment.json",
"aws-sso-instance.json",
"aws-sso-instanceaccesscontrolattributeconfiguration.json",
"aws-sso-permissionset.json",
"aws-stepfunctions-activity.json",
Expand Down
125 changes: 125 additions & 0 deletions src/cfnlint/data/schemas/providers/ap_east_1/aws-sso-instance.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,125 @@
{
"additionalProperties": false,
"definitions": {
"Tag": {
"additionalProperties": false,
"properties": {
"Key": {
"maxLength": 128,
"minLength": 1,
"pattern": "[\\w+=,.@-]+",
"type": "string"
},
"Value": {
"maxLength": 256,
"minLength": 0,
"pattern": "[\\w+=,.@-]+",
"type": "string"
}
},
"required": [
"Key",
"Value"
],
"type": "object"
}
},
"handlers": {
"create": {
"permissions": [
"sso:CreateInstance",
"sso:DescribeInstance",
"sso:TagResource",
"iam:CreateServiceLinkedRole",
"sso:TagInstance",
"sso:ListTagsForResource"
]
},
"delete": {
"permissions": [
"sso:DeleteInstance"
]
},
"list": {
"permissions": [
"sso:ListInstances"
]
},
"read": {
"permissions": [
"sso:DescribeInstance",
"sso:ListTagsForResource"
]
},
"update": {
"permissions": [
"sso:UpdateInstance",
"sso:TagResource",
"sso:UntagResource",
"sso:ListTagsForResource",
"sso:TagInstance",
"sso:DescribeInstance"
]
}
},
"primaryIdentifier": [
"/properties/InstanceArn"
],
"properties": {
"IdentityStoreId": {
"maxLength": 64,
"minLength": 1,
"pattern": "^[a-zA-Z0-9-]*$",
"type": "string"
},
"InstanceArn": {
"maxLength": 1224,
"minLength": 10,
"pattern": "^arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b):sso:::instance/(sso)?ins-[a-zA-Z0-9-.]{16}$",
"type": "string"
},
"Name": {
"maxLength": 32,
"minLength": 1,
"pattern": "^[\\w+=,.@-]+$",
"type": "string"
},
"OwnerAccountId": {
"maxLength": 12,
"minLength": 12,
"pattern": "^\\d{12}?$",
"type": "string"
},
"Status": {
"enum": [
"CREATE_IN_PROGRESS",
"DELETE_IN_PROGRESS",
"ACTIVE"
],
"type": "string"
},
"Tags": {
"insertionOrder": false,
"items": {
"$ref": "#/definitions/Tag"
},
"maxItems": 75,
"type": "array",
"uniqueItems": false
}
},
"readOnlyProperties": [
"/properties/InstanceArn",
"/properties/OwnerAccountId",
"/properties/IdentityStoreId",
"/properties/Status"
],
"sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-sso/aws-sso-instance",
"tagging": {
"tagOnCreate": true,
"tagProperty": "/properties/Tags",
"tagUpdatable": true,
"taggable": true
},
"typeName": "AWS::SSO::Instance"
}
Original file line number Diff line number Diff line change
Expand Up @@ -1446,6 +1446,7 @@
"aws-cognito-userpoolidentityprovider.json",
"aws-cognito-userpoolresourceserver.json",
"aws-cognito-userpoolriskconfigurationattachment.json",
"aws-cognito-userpooluicustomizationattachment.json",
"aws-cognito-userpooluser.json",
"aws-cognito-userpoolusertogroupattachment.json",
"aws-comprehend-documentclassifier.json",
Expand Down Expand Up @@ -2335,7 +2336,6 @@
"aws-sso-application.json",
"aws-sso-applicationassignment.json",
"aws-sso-assignment.json",
"aws-sso-instance.json",
"aws-sso-instanceaccesscontrolattributeconfiguration.json",
"aws-sso-permissionset.json",
"aws-stepfunctions-activity.json",
Expand Down
Loading

0 comments on commit 360679e

Please sign in to comment.