diff --git a/packages/@aws-cdk/cfnspec/CHANGELOG.md b/packages/@aws-cdk/cfnspec/CHANGELOG.md index e6d5cfd7abe2e..6ef142cd6ce2b 100644 --- a/packages/@aws-cdk/cfnspec/CHANGELOG.md +++ b/packages/@aws-cdk/cfnspec/CHANGELOG.md @@ -1,3 +1,48 @@ +# CloudFormation Resource Specification v18.5.0 + +## New Resource Types + + +## Attribute Changes + + +## Property Changes + +* AWS::Amplify::Branch EnablePerformanceMode (__added__) +* AWS::AppStream::Fleet IamRoleArn (__added__) +* AWS::AppStream::Fleet StreamView (__added__) +* AWS::AppStream::ImageBuilder IamRoleArn (__added__) +* AWS::EKS::Cluster KubernetesNetworkConfig (__added__) +* AWS::StepFunctions::Activity Name (__deleted__) +* AWS::StepFunctions::Activity Arn (__added__) +* AWS::StepFunctions::Activity Tags.DuplicatesAllowed (__added__) + +## Property Type Changes + +* AWS::Batch::JobDefinition.LogConfiguration (__added__) +* AWS::Batch::JobDefinition.Secret (__added__) +* AWS::Batch::JobDefinition.Tmpfs (__added__) +* AWS::EKS::Cluster.KubernetesNetworkConfig (__added__) +* AWS::Amplify::App.AutoBranchCreationConfig EnablePerformanceMode (__added__) +* AWS::Batch::JobDefinition.ContainerProperties ExecutionRoleArn (__added__) +* AWS::Batch::JobDefinition.ContainerProperties LogConfiguration (__added__) +* AWS::Batch::JobDefinition.ContainerProperties Secrets (__added__) +* AWS::Batch::JobDefinition.LinuxParameters InitProcessEnabled (__added__) +* AWS::Batch::JobDefinition.LinuxParameters MaxSwap (__added__) +* AWS::Batch::JobDefinition.LinuxParameters SharedMemorySize (__added__) +* AWS::Batch::JobDefinition.LinuxParameters Swappiness (__added__) +* AWS::Batch::JobDefinition.LinuxParameters Tmpfs (__added__) +* AWS::CloudFront::CachePolicy.CachePolicyConfig DefaultTTL.Required (__changed__) + * Old: false + * New: true +* AWS::CloudFront::CachePolicy.CachePolicyConfig MaxTTL.Required (__changed__) + * Old: false + * New: true +* AWS::CloudFront::CachePolicy.CachePolicyConfig ParametersInCacheKeyAndForwardedToOrigin.Required (__changed__) + * Old: false + * New: true + + # CloudFormation Resource Specification v18.4.0 ## New Resource Types diff --git a/packages/@aws-cdk/cfnspec/cfn.version b/packages/@aws-cdk/cfnspec/cfn.version index 5b9720f0a0a13..9020bd13e71ad 100644 --- a/packages/@aws-cdk/cfnspec/cfn.version +++ b/packages/@aws-cdk/cfnspec/cfn.version @@ -1 +1 @@ -18.4.0 +18.5.0 diff --git a/packages/@aws-cdk/cfnspec/spec-source/000_CloudFormationResourceSpecification.json b/packages/@aws-cdk/cfnspec/spec-source/000_CloudFormationResourceSpecification.json index 7f8ebc7764427..c62ff373855fd 100644 --- a/packages/@aws-cdk/cfnspec/spec-source/000_CloudFormationResourceSpecification.json +++ b/packages/@aws-cdk/cfnspec/spec-source/000_CloudFormationResourceSpecification.json @@ -570,6 +570,12 @@ "Required": false, "UpdateType": "Mutable" }, + "EnablePerformanceMode": { + "Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplify-app-autobranchcreationconfig.html#cfn-amplify-app-autobranchcreationconfig-enableperformancemode", + "PrimitiveType": "Boolean", + "Required": false, + "UpdateType": "Mutable" + }, "EnablePullRequestPreview": { "Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplify-app-autobranchcreationconfig.html#cfn-amplify-app-autobranchcreationconfig-enablepullrequestpreview", "PrimitiveType": "Boolean", @@ -7216,6 +7222,12 @@ "Type": "List", "UpdateType": "Mutable" }, + "ExecutionRoleArn": { + "Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-containerproperties.html#cfn-batch-jobdefinition-containerproperties-executionrolearn", + "PrimitiveType": "String", + "Required": false, + "UpdateType": "Mutable" + }, "Image": { "Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-containerproperties.html#cfn-batch-jobdefinition-containerproperties-image", "PrimitiveType": "String", @@ -7240,6 +7252,12 @@ "Type": "LinuxParameters", "UpdateType": "Mutable" }, + "LogConfiguration": { + "Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-containerproperties.html#cfn-batch-jobdefinition-containerproperties-logconfiguration", + "Required": false, + "Type": "LogConfiguration", + "UpdateType": "Mutable" + }, "Memory": { "Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-containerproperties.html#cfn-batch-jobdefinition-containerproperties-memory", "PrimitiveType": "Integer", @@ -7272,6 +7290,13 @@ "Type": "List", "UpdateType": "Mutable" }, + "Secrets": { + "Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-containerproperties.html#cfn-batch-jobdefinition-containerproperties-secrets", + "ItemType": "Secret", + "Required": false, + "Type": "List", + "UpdateType": "Mutable" + }, "Ulimits": { "Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-containerproperties.html#cfn-batch-jobdefinition-containerproperties-ulimits", "ItemType": "Ulimit", @@ -7350,6 +7375,61 @@ "Required": false, "Type": "List", "UpdateType": "Mutable" + }, + "InitProcessEnabled": { + "Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-containerproperties-linuxparameters.html#cfn-batch-jobdefinition-containerproperties-linuxparameters-initprocessenabled", + "PrimitiveType": "Boolean", + "Required": false, + "UpdateType": "Mutable" + }, + "MaxSwap": { + "Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-containerproperties-linuxparameters.html#cfn-batch-jobdefinition-containerproperties-linuxparameters-maxswap", + "PrimitiveType": "Integer", + "Required": false, + "UpdateType": "Mutable" + }, + "SharedMemorySize": { + "Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-containerproperties-linuxparameters.html#cfn-batch-jobdefinition-containerproperties-linuxparameters-sharedmemorysize", + "PrimitiveType": "Integer", + "Required": false, + "UpdateType": "Mutable" + }, + "Swappiness": { + "Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-containerproperties-linuxparameters.html#cfn-batch-jobdefinition-containerproperties-linuxparameters-swappiness", + "PrimitiveType": "Integer", + "Required": false, + "UpdateType": "Mutable" + }, + "Tmpfs": { + "Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-containerproperties-linuxparameters.html#cfn-batch-jobdefinition-containerproperties-linuxparameters-tmpfs", + "ItemType": "Tmpfs", + "Required": false, + "Type": "List", + "UpdateType": "Mutable" + } + } + }, + "AWS::Batch::JobDefinition.LogConfiguration": { + "Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-containerproperties-logconfiguration.html", + "Properties": { + "LogDriver": { + "Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-containerproperties-logconfiguration.html#cfn-batch-jobdefinition-containerproperties-logconfiguration-logdriver", + "PrimitiveType": "String", + "Required": true, + "UpdateType": "Mutable" + }, + "Options": { + "Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-containerproperties-logconfiguration.html#cfn-batch-jobdefinition-containerproperties-logconfiguration-options", + "PrimitiveType": "Json", + "Required": false, + "UpdateType": "Mutable" + }, + "SecretOptions": { + "Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-containerproperties-logconfiguration.html#cfn-batch-jobdefinition-containerproperties-logconfiguration-secretoptions", + "ItemType": "Secret", + "Required": false, + "Type": "List", + "UpdateType": "Mutable" } } }, @@ -7445,6 +7525,23 @@ } } }, + "AWS::Batch::JobDefinition.Secret": { + "Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-secret.html", + "Properties": { + "Name": { + "Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-secret.html#cfn-batch-jobdefinition-secret-name", + "PrimitiveType": "String", + "Required": true, + "UpdateType": "Mutable" + }, + "ValueFrom": { + "Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-secret.html#cfn-batch-jobdefinition-secret-valuefrom", + "PrimitiveType": "String", + "Required": true, + "UpdateType": "Mutable" + } + } + }, "AWS::Batch::JobDefinition.Timeout": { "Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-timeout.html", "Properties": { @@ -7456,6 +7553,30 @@ } } }, + "AWS::Batch::JobDefinition.Tmpfs": { + "Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-tmpfs.html", + "Properties": { + "ContainerPath": { + "Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-tmpfs.html#cfn-batch-jobdefinition-tmpfs-containerpath", + "PrimitiveType": "String", + "Required": true, + "UpdateType": "Mutable" + }, + "MountOptions": { + "Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-tmpfs.html#cfn-batch-jobdefinition-tmpfs-mountoptions", + "PrimitiveItemType": "String", + "Required": false, + "Type": "List", + "UpdateType": "Mutable" + }, + "Size": { + "Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-tmpfs.html#cfn-batch-jobdefinition-tmpfs-size", + "PrimitiveType": "Integer", + "Required": true, + "UpdateType": "Mutable" + } + } + }, "AWS::Batch::JobDefinition.Ulimit": { "Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ulimit.html", "Properties": { @@ -7984,13 +8105,13 @@ "DefaultTTL": { "Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-cachepolicy-cachepolicyconfig.html#cfn-cloudfront-cachepolicy-cachepolicyconfig-defaultttl", "PrimitiveType": "Double", - "Required": false, + "Required": true, "UpdateType": "Mutable" }, "MaxTTL": { "Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-cachepolicy-cachepolicyconfig.html#cfn-cloudfront-cachepolicy-cachepolicyconfig-maxttl", "PrimitiveType": "Double", - "Required": false, + "Required": true, "UpdateType": "Mutable" }, "MinTTL": { @@ -8007,7 +8128,7 @@ }, "ParametersInCacheKeyAndForwardedToOrigin": { "Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-cachepolicy-cachepolicyconfig.html#cfn-cloudfront-cachepolicy-cachepolicyconfig-parametersincachekeyandforwardedtoorigin", - "Required": false, + "Required": true, "Type": "ParametersInCacheKeyAndForwardedToOrigin", "UpdateType": "Mutable" } @@ -16397,6 +16518,17 @@ } } }, + "AWS::EKS::Cluster.KubernetesNetworkConfig": { + "Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-cluster-kubernetesnetworkconfig.html", + "Properties": { + "ServiceIpv4Cidr": { + "Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-cluster-kubernetesnetworkconfig.html#cfn-eks-cluster-kubernetesnetworkconfig-serviceipv4cidr", + "PrimitiveType": "String", + "Required": false, + "UpdateType": "Mutable" + } + } + }, "AWS::EKS::Cluster.Provider": { "Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-cluster-provider.html", "Properties": { @@ -41495,7 +41627,7 @@ } } }, - "ResourceSpecificationVersion": "18.4.0", + "ResourceSpecificationVersion": "18.5.0", "ResourceTypes": { "AWS::ACMPCA::Certificate": { "Attributes": { @@ -42036,6 +42168,12 @@ "Required": false, "UpdateType": "Mutable" }, + "EnablePerformanceMode": { + "Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplify-branch.html#cfn-amplify-branch-enableperformancemode", + "PrimitiveType": "Boolean", + "Required": false, + "UpdateType": "Mutable" + }, "EnablePullRequestPreview": { "Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplify-branch.html#cfn-amplify-branch-enablepullrequestpreview", "PrimitiveType": "Boolean", @@ -44498,6 +44636,12 @@ "Required": false, "UpdateType": "Immutable" }, + "IamRoleArn": { + "Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-fleet.html#cfn-appstream-fleet-iamrolearn", + "PrimitiveType": "String", + "Required": false, + "UpdateType": "Mutable" + }, "IdleDisconnectTimeoutInSeconds": { "Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-fleet.html#cfn-appstream-fleet-idledisconnecttimeoutinseconds", "PrimitiveType": "Integer", @@ -44534,6 +44678,12 @@ "Required": true, "UpdateType": "Immutable" }, + "StreamView": { + "Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-fleet.html#cfn-appstream-fleet-streamview", + "PrimitiveType": "String", + "Required": false, + "UpdateType": "Mutable" + }, "Tags": { "Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-fleet.html#cfn-appstream-fleet-tags", "ItemType": "Tag", @@ -44594,6 +44744,12 @@ "Required": false, "UpdateType": "Mutable" }, + "IamRoleArn": { + "Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-imagebuilder.html#cfn-appstream-imagebuilder-iamrolearn", + "PrimitiveType": "String", + "Required": false, + "UpdateType": "Mutable" + }, "ImageArn": { "Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-imagebuilder.html#cfn-appstream-imagebuilder-imagearn", "PrimitiveType": "String", @@ -53368,6 +53524,12 @@ "Type": "List", "UpdateType": "Immutable" }, + "KubernetesNetworkConfig": { + "Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eks-cluster.html#cfn-eks-cluster-kubernetesnetworkconfig", + "Required": false, + "Type": "KubernetesNetworkConfig", + "UpdateType": "Immutable" + }, "Name": { "Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eks-cluster.html#cfn-eks-cluster-name", "PrimitiveType": "String", @@ -67376,14 +67538,15 @@ }, "Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-stepfunctions-activity.html", "Properties": { - "Name": { - "Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-stepfunctions-activity.html#cfn-stepfunctions-activity-name", + "Arn": { + "Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-stepfunctions-activity.html#cfn-stepfunctions-activity-arn", "PrimitiveType": "String", - "Required": true, - "UpdateType": "Immutable" + "Required": false, + "UpdateType": "Mutable" }, "Tags": { "Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-stepfunctions-activity.html#cfn-stepfunctions-activity-tags", + "DuplicatesAllowed": true, "ItemType": "TagsEntry", "Required": false, "Type": "List", diff --git a/packages/@aws-cdk/cfnspec/spec-source/660_StepFunctions_Activity_patch.json b/packages/@aws-cdk/cfnspec/spec-source/660_StepFunctions_Activity_patch.json new file mode 100644 index 0000000000000..260d79e4398d6 --- /dev/null +++ b/packages/@aws-cdk/cfnspec/spec-source/660_StepFunctions_Activity_patch.json @@ -0,0 +1,25 @@ +{ + "ResourceTypes": { + "AWS::StepFunctions::Activity": { + "patch": { + "description": "The StepFunctions resource is using the CloudFormation Registry and this was an errant entry. It will be restored in the next versions of the spec but is incorrect in v18.5", + "operations": [ + { + "op": "remove", + "path": "/Properties/Arn" + }, + { + "op": "add", + "path": "/Properties/Name", + "value": { + "Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-stepfunctions-activity.html#cfn-stepfunctions-activity-name", + "PrimitiveType": "String", + "Required": true, + "UpdateType": "Immutable" + } + } + ] + } + } + } +} \ No newline at end of file