Amazon web services 使用Cloudformation脚本创建GlueSecurityConfiguration时出错

Amazon web services 使用Cloudformation脚本创建GlueSecurityConfiguration时出错,amazon-web-services,amazon-s3,yaml,amazon-cloudformation,aws-glue,Amazon Web Services,Amazon S3,Yaml,Amazon Cloudformation,Aws Glue,我试图使用cloudformation脚本创建glue安全配置,但出现以下错误: 属性验证失败:[属性{/EncryptionConfiguration/S3Encryptions}的值与类型{Array}不匹配] 什么是正确的加密方式 AWSTemplateFormatVersion: 2010-09-09 Description: Script creates resources for GlueSecurityConfiguration Resources: GlueSecu

我试图使用cloudformation脚本创建glue安全配置,但出现以下错误: 属性验证失败:[属性{/EncryptionConfiguration/S3Encryptions}的值与类型{Array}不匹配]

什么是正确的加密方式

AWSTemplateFormatVersion: 2010-09-09
Description: Script creates resources for GlueSecurityConfiguration
    
Resources:
  GlueSecurityConfiguration:
    Type: AWS::Glue::SecurityConfiguration
    Properties: 
      EncryptionConfiguration: 
        S3Encryptions:
            KmsKeyArn: !Ref KMSArn
            S3EncryptionMode: SSE-KMS
        JobBookmarksEncryption:
          KmsKeyArn: !Ref KMSArn
        CloudWatchEncryption:
          KmsKeyArn: !Ref KMSArn
      Name: !Sub '${SystemValue}-${SubSystemValue}'
我想应该是这样

- KmsKeyArn: !Ref KMSArn
  S3EncryptionMode: SSE-KMS
因为S3Encryptions需要一个数组