Skip to content

Commit 390ee7c

Browse files
feat(cfnspec): cloudformation spec v94.0.0 (#22648)
1 parent 410d2a7 commit 390ee7c

File tree

8 files changed

+224
-9
lines changed

8 files changed

+224
-9
lines changed

packages/@aws-cdk/cfnspec/CHANGELOG.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,45 @@
22

33
## New Resource Types
44

5+
* AWS::FSx::DataRepositoryAssociation
6+
7+
## Attribute Changes
8+
9+
* AWS::ApiGatewayV2::Api ApiId (__added__)
10+
11+
## Property Changes
12+
13+
* AWS::ACMPCA::CertificateAuthority UsageMode (__added__)
14+
* AWS::ApiGatewayV2::Api Tags.PrimitiveType (__deleted__)
15+
* AWS::ApiGatewayV2::Api Tags.PrimitiveItemType (__added__)
16+
* AWS::ApiGatewayV2::Api Tags.Type (__added__)
17+
* AWS::Cognito::UserPool DeletionProtection (__added__)
18+
* AWS::EC2::FlowLog TrafficType.Required (__changed__)
19+
* Old: true
20+
* New: false
21+
22+
## Property Type Changes
23+
24+
* AWS::IoT::TopicRule.LocationAction (__added__)
25+
* AWS::IoT::TopicRule.Timestamp (__added__)
26+
* AWS::ApiGatewayV2::Api.Cors AllowHeaders.DuplicatesAllowed (__added__)
27+
* AWS::ApiGatewayV2::Api.Cors AllowMethods.DuplicatesAllowed (__added__)
28+
* AWS::ApiGatewayV2::Api.Cors AllowOrigins.DuplicatesAllowed (__added__)
29+
* AWS::ApiGatewayV2::Api.Cors ExposeHeaders.DuplicatesAllowed (__added__)
30+
* AWS::ECS::TaskDefinition.ContainerDefinition Image.Required (__changed__)
31+
* Old: false
32+
* New: true
33+
* AWS::ECS::TaskDefinition.ContainerDefinition Name.Required (__changed__)
34+
* Old: false
35+
* New: true
36+
* AWS::IoT::TopicRule.Action Location (__added__)
37+
* AWS::IoT::TopicRule.TimestreamAction BatchMode (__deleted__)
38+
39+
40+
# CloudFormation Resource Specification v94.0.0
41+
42+
## New Resource Types
43+
544
* AWS::IdentityStore::Group
645
* AWS::IdentityStore::GroupMembership
746

packages/@aws-cdk/cfnspec/spec-source/specification/000_cfn/000_official/000_AWS_ACMPCA.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -915,6 +915,12 @@
915915
"PrimitiveType": "String",
916916
"Required": true,
917917
"UpdateType": "Immutable"
918+
},
919+
"UsageMode": {
920+
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-acmpca-certificateauthority.html#cfn-acmpca-certificateauthority-usagemode",
921+
"PrimitiveType": "String",
922+
"Required": false,
923+
"UpdateType": "Immutable"
918924
}
919925
}
920926
},

packages/@aws-cdk/cfnspec/spec-source/specification/000_cfn/000_official/000_AWS_ApiGatewayV2.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,27 +41,31 @@
4141
},
4242
"AllowHeaders": {
4343
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-api-cors.html#cfn-apigatewayv2-api-cors-allowheaders",
44+
"DuplicatesAllowed": true,
4445
"PrimitiveItemType": "String",
4546
"Required": false,
4647
"Type": "List",
4748
"UpdateType": "Mutable"
4849
},
4950
"AllowMethods": {
5051
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-api-cors.html#cfn-apigatewayv2-api-cors-allowmethods",
52+
"DuplicatesAllowed": true,
5153
"PrimitiveItemType": "String",
5254
"Required": false,
5355
"Type": "List",
5456
"UpdateType": "Mutable"
5557
},
5658
"AllowOrigins": {
5759
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-api-cors.html#cfn-apigatewayv2-api-cors-alloworigins",
60+
"DuplicatesAllowed": true,
5861
"PrimitiveItemType": "String",
5962
"Required": false,
6063
"Type": "List",
6164
"UpdateType": "Mutable"
6265
},
6366
"ExposeHeaders": {
6467
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-api-cors.html#cfn-apigatewayv2-api-cors-exposeheaders",
68+
"DuplicatesAllowed": true,
6569
"PrimitiveItemType": "String",
6670
"Required": false,
6771
"Type": "List",
@@ -423,6 +427,9 @@
423427
"Attributes": {
424428
"ApiEndpoint": {
425429
"PrimitiveType": "String"
430+
},
431+
"ApiId": {
432+
"PrimitiveType": "String"
426433
}
427434
},
428435
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-api.html",
@@ -513,8 +520,9 @@
513520
},
514521
"Tags": {
515522
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-api.html#cfn-apigatewayv2-api-tags",
516-
"PrimitiveType": "Json",
523+
"PrimitiveItemType": "String",
517524
"Required": false,
525+
"Type": "Map",
518526
"UpdateType": "Mutable"
519527
},
520528
"Target": {

packages/@aws-cdk/cfnspec/spec-source/specification/000_cfn/000_official/000_AWS_Cognito.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1026,6 +1026,12 @@
10261026
"Type": "List",
10271027
"UpdateType": "Mutable"
10281028
},
1029+
"DeletionProtection": {
1030+
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpool.html#cfn-cognito-userpool-deletionprotection",
1031+
"PrimitiveType": "String",
1032+
"Required": false,
1033+
"UpdateType": "Mutable"
1034+
},
10291035
"DeviceConfiguration": {
10301036
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpool.html#cfn-cognito-userpool-deviceconfiguration",
10311037
"Required": false,

packages/@aws-cdk/cfnspec/spec-source/specification/000_cfn/000_official/000_AWS_EC2.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5224,7 +5224,7 @@
52245224
"TrafficType": {
52255225
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-flowlog.html#cfn-ec2-flowlog-traffictype",
52265226
"PrimitiveType": "String",
5227-
"Required": true,
5227+
"Required": false,
52285228
"UpdateType": "Immutable"
52295229
}
52305230
}

packages/@aws-cdk/cfnspec/spec-source/specification/000_cfn/000_official/000_AWS_ECS.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@
523523
"Image": {
524524
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-image",
525525
"PrimitiveType": "String",
526-
"Required": false,
526+
"Required": true,
527527
"UpdateType": "Immutable"
528528
},
529529
"Interactive": {
@@ -575,7 +575,7 @@
575575
"Name": {
576576
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-name",
577577
"PrimitiveType": "String",
578-
"Required": false,
578+
"Required": true,
579579
"UpdateType": "Immutable"
580580
},
581581
"PortMappings": {

packages/@aws-cdk/cfnspec/spec-source/specification/000_cfn/000_official/000_AWS_FSx.json

Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,47 @@
11
{
22
"$version": "94.0.0",
33
"PropertyTypes": {
4+
"AWS::FSx::DataRepositoryAssociation.AutoExportPolicy": {
5+
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-datarepositoryassociation-autoexportpolicy.html",
6+
"Properties": {
7+
"Events": {
8+
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-datarepositoryassociation-autoexportpolicy.html#cfn-fsx-datarepositoryassociation-autoexportpolicy-events",
9+
"PrimitiveItemType": "String",
10+
"Required": true,
11+
"Type": "List",
12+
"UpdateType": "Mutable"
13+
}
14+
}
15+
},
16+
"AWS::FSx::DataRepositoryAssociation.AutoImportPolicy": {
17+
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-datarepositoryassociation-autoimportpolicy.html",
18+
"Properties": {
19+
"Events": {
20+
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-datarepositoryassociation-autoimportpolicy.html#cfn-fsx-datarepositoryassociation-autoimportpolicy-events",
21+
"PrimitiveItemType": "String",
22+
"Required": true,
23+
"Type": "List",
24+
"UpdateType": "Mutable"
25+
}
26+
}
27+
},
28+
"AWS::FSx::DataRepositoryAssociation.S3": {
29+
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-datarepositoryassociation-s3.html",
30+
"Properties": {
31+
"AutoExportPolicy": {
32+
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-datarepositoryassociation-s3.html#cfn-fsx-datarepositoryassociation-s3-autoexportpolicy",
33+
"Required": false,
34+
"Type": "AutoExportPolicy",
35+
"UpdateType": "Mutable"
36+
},
37+
"AutoImportPolicy": {
38+
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-datarepositoryassociation-s3.html#cfn-fsx-datarepositoryassociation-s3-autoimportpolicy",
39+
"Required": false,
40+
"Type": "AutoImportPolicy",
41+
"UpdateType": "Mutable"
42+
}
43+
}
44+
},
445
"AWS::FSx::FileSystem.AuditLogConfiguration": {
546
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-windowsconfiguration-auditlogconfiguration.html",
647
"Properties": {
@@ -723,6 +764,63 @@
723764
}
724765
},
725766
"ResourceTypes": {
767+
"AWS::FSx::DataRepositoryAssociation": {
768+
"Attributes": {
769+
"AssociationId": {
770+
"PrimitiveType": "String"
771+
},
772+
"ResourceARN": {
773+
"PrimitiveType": "String"
774+
}
775+
},
776+
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fsx-datarepositoryassociation.html",
777+
"Properties": {
778+
"BatchImportMetaDataOnCreate": {
779+
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fsx-datarepositoryassociation.html#cfn-fsx-datarepositoryassociation-batchimportmetadataoncreate",
780+
"PrimitiveType": "Boolean",
781+
"Required": false,
782+
"UpdateType": "Immutable"
783+
},
784+
"DataRepositoryPath": {
785+
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fsx-datarepositoryassociation.html#cfn-fsx-datarepositoryassociation-datarepositorypath",
786+
"PrimitiveType": "String",
787+
"Required": true,
788+
"UpdateType": "Immutable"
789+
},
790+
"FileSystemId": {
791+
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fsx-datarepositoryassociation.html#cfn-fsx-datarepositoryassociation-filesystemid",
792+
"PrimitiveType": "String",
793+
"Required": true,
794+
"UpdateType": "Immutable"
795+
},
796+
"FileSystemPath": {
797+
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fsx-datarepositoryassociation.html#cfn-fsx-datarepositoryassociation-filesystempath",
798+
"PrimitiveType": "String",
799+
"Required": true,
800+
"UpdateType": "Immutable"
801+
},
802+
"ImportedFileChunkSize": {
803+
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fsx-datarepositoryassociation.html#cfn-fsx-datarepositoryassociation-importedfilechunksize",
804+
"PrimitiveType": "Integer",
805+
"Required": false,
806+
"UpdateType": "Mutable"
807+
},
808+
"S3": {
809+
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fsx-datarepositoryassociation.html#cfn-fsx-datarepositoryassociation-s3",
810+
"Required": false,
811+
"Type": "S3",
812+
"UpdateType": "Mutable"
813+
},
814+
"Tags": {
815+
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fsx-datarepositoryassociation.html#cfn-fsx-datarepositoryassociation-tags",
816+
"DuplicatesAllowed": true,
817+
"ItemType": "Tag",
818+
"Required": false,
819+
"Type": "List",
820+
"UpdateType": "Mutable"
821+
}
822+
}
823+
},
726824
"AWS::FSx::FileSystem": {
727825
"Attributes": {
728826
"DNSName": {

packages/@aws-cdk/cfnspec/spec-source/specification/000_cfn/000_official/000_AWS_IoT.json

Lines changed: 63 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -658,6 +658,12 @@
658658
"Type": "LambdaAction",
659659
"UpdateType": "Mutable"
660660
},
661+
"Location": {
662+
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-action.html#cfn-iot-topicrule-action-location",
663+
"Required": false,
664+
"Type": "LocationAction",
665+
"UpdateType": "Mutable"
666+
},
661667
"OpenSearch": {
662668
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-action.html#cfn-iot-topicrule-action-opensearch",
663669
"Required": false,
@@ -1198,6 +1204,47 @@
11981204
}
11991205
}
12001206
},
1207+
"AWS::IoT::TopicRule.LocationAction": {
1208+
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-locationaction.html",
1209+
"Properties": {
1210+
"DeviceId": {
1211+
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-locationaction.html#cfn-iot-topicrule-locationaction-deviceid",
1212+
"PrimitiveType": "String",
1213+
"Required": true,
1214+
"UpdateType": "Mutable"
1215+
},
1216+
"Latitude": {
1217+
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-locationaction.html#cfn-iot-topicrule-locationaction-latitude",
1218+
"PrimitiveType": "String",
1219+
"Required": true,
1220+
"UpdateType": "Mutable"
1221+
},
1222+
"Longitude": {
1223+
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-locationaction.html#cfn-iot-topicrule-locationaction-longitude",
1224+
"PrimitiveType": "String",
1225+
"Required": true,
1226+
"UpdateType": "Mutable"
1227+
},
1228+
"RoleArn": {
1229+
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-locationaction.html#cfn-iot-topicrule-locationaction-rolearn",
1230+
"PrimitiveType": "String",
1231+
"Required": true,
1232+
"UpdateType": "Mutable"
1233+
},
1234+
"Timestamp": {
1235+
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-locationaction.html#cfn-iot-topicrule-locationaction-timestamp",
1236+
"Required": false,
1237+
"Type": "Timestamp",
1238+
"UpdateType": "Mutable"
1239+
},
1240+
"TrackerName": {
1241+
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-locationaction.html#cfn-iot-topicrule-locationaction-trackername",
1242+
"PrimitiveType": "String",
1243+
"Required": true,
1244+
"UpdateType": "Mutable"
1245+
}
1246+
}
1247+
},
12011248
"AWS::IoT::TopicRule.OpenSearchAction": {
12021249
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-opensearchaction.html",
12031250
"Properties": {
@@ -1425,15 +1472,26 @@
14251472
}
14261473
}
14271474
},
1428-
"AWS::IoT::TopicRule.TimestreamAction": {
1429-
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-timestreamaction.html",
1475+
"AWS::IoT::TopicRule.Timestamp": {
1476+
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-timestamp.html",
14301477
"Properties": {
1431-
"BatchMode": {
1432-
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-timestreamaction.html#cfn-iot-topicrule-timestreamaction-batchmode",
1433-
"PrimitiveType": "Boolean",
1478+
"Unit": {
1479+
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-timestamp.html#cfn-iot-topicrule-timestamp-unit",
1480+
"PrimitiveType": "String",
14341481
"Required": false,
14351482
"UpdateType": "Mutable"
14361483
},
1484+
"Value": {
1485+
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-timestamp.html#cfn-iot-topicrule-timestamp-value",
1486+
"PrimitiveType": "String",
1487+
"Required": true,
1488+
"UpdateType": "Mutable"
1489+
}
1490+
}
1491+
},
1492+
"AWS::IoT::TopicRule.TimestreamAction": {
1493+
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-timestreamaction.html",
1494+
"Properties": {
14371495
"DatabaseName": {
14381496
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-timestreamaction.html#cfn-iot-topicrule-timestreamaction-databasename",
14391497
"PrimitiveType": "String",

0 commit comments

Comments
 (0)