@@ -716,8 +716,25 @@ Resources:
716716 S3Targets :
717717 - Path : !Sub "s3://${DestinationBucket}/aws-feeds/aws-feeds-whats-new/"
718718 - Path : !Sub "s3://${DestinationBucket}/aws-feeds/aws-cid-feeds-whats-new/"
719- Configuration : " {\" Version\" :1.0,\" CrawlerOutput\" :{\" Partitions\" :{\" AddOrUpdateBehavior\" :\" InheritFromTable\" }}}"
720-
719+ Configuration : |
720+ {
721+ "Version": 1.0,
722+ "Grouping": {
723+ "TableGroupingPolicy": "CombineCompatibleSchemas"
724+ },
725+ "CrawlerOutput": {
726+ "Partitions": {
727+ "AddOrUpdateBehavior": "InheritFromTable"
728+ },
729+ "Tables": {
730+ "TableThreshold": 2,
731+ "AddOrUpdateBehavior": "MergeNewColumns"
732+ }
733+ }
734+ }
735+ SchemaChangePolicy :
736+ UpdateBehavior : UPDATE_IN_DATABASE
737+ DeleteBehavior : LOG
721738 CrawlerBlogPost :
722739 Type : AWS::Glue::Crawler
723740 Properties :
@@ -727,8 +744,25 @@ Resources:
727744 Targets :
728745 S3Targets :
729746 - Path : !Sub "s3://${DestinationBucket}/aws-feeds/aws-feeds-blog-post/"
730- Configuration : " {\" Version\" :1.0,\" CrawlerOutput\" :{\" Partitions\" :{\" AddOrUpdateBehavior\" :\" InheritFromTable\" }}}"
731-
747+ Configuration : |
748+ {
749+ "Version": 1.0,
750+ "Grouping": {
751+ "TableGroupingPolicy": "CombineCompatibleSchemas"
752+ },
753+ "CrawlerOutput": {
754+ "Partitions": {
755+ "AddOrUpdateBehavior": "InheritFromTable"
756+ },
757+ "Tables": {
758+ "TableThreshold": 1,
759+ "AddOrUpdateBehavior": "MergeNewColumns"
760+ }
761+ }
762+ }
763+ SchemaChangePolicy :
764+ UpdateBehavior : UPDATE_IN_DATABASE
765+ DeleteBehavior : LOG
732766 CrawlerYoutTube :
733767 Type : AWS::Glue::Crawler
734768 Properties :
@@ -738,8 +772,25 @@ Resources:
738772 Targets :
739773 S3Targets :
740774 - Path : !Sub "s3://${DestinationBucket}/aws-feeds/aws-feeds-youtube/"
741- Configuration : " {\" Version\" :1.0,\" CrawlerOutput\" :{\" Partitions\" :{\" AddOrUpdateBehavior\" :\" InheritFromTable\" }}}"
742-
775+ Configuration : |
776+ {
777+ "Version": 1.0,
778+ "Grouping": {
779+ "TableGroupingPolicy": "CombineCompatibleSchemas"
780+ },
781+ "CrawlerOutput": {
782+ "Partitions": {
783+ "AddOrUpdateBehavior": "InheritFromTable"
784+ },
785+ "Tables": {
786+ "TableThreshold": 1,
787+ "AddOrUpdateBehavior": "MergeNewColumns"
788+ }
789+ }
790+ }
791+ SchemaChangePolicy :
792+ UpdateBehavior : UPDATE_IN_DATABASE
793+ DeleteBehavior : LOG
743794 CrawlerSecurityBulletin :
744795 Type : AWS::Glue::Crawler
745796 Properties :
@@ -749,8 +800,25 @@ Resources:
749800 Targets :
750801 S3Targets :
751802 - Path : !Sub "s3://${DestinationBucket}/aws-feeds/aws-feeds-security-bulletin/"
752- Configuration : " {\" Version\" :1.0,\" CrawlerOutput\" :{\" Partitions\" :{\" AddOrUpdateBehavior\" :\" InheritFromTable\" }}}"
753-
803+ Configuration : |
804+ {
805+ "Version": 1.0,
806+ "Grouping": {
807+ "TableGroupingPolicy": "CombineCompatibleSchemas"
808+ },
809+ "CrawlerOutput": {
810+ "Partitions": {
811+ "AddOrUpdateBehavior": "InheritFromTable"
812+ },
813+ "Tables": {
814+ "TableThreshold": 1,
815+ "AddOrUpdateBehavior": "MergeNewColumns"
816+ }
817+ }
818+ }
819+ SchemaChangePolicy :
820+ UpdateBehavior : UPDATE_IN_DATABASE
821+ DeleteBehavior : LOG
754822 ModuleStepFunctionWhatsNew :
755823 Type : AWS::StepFunctions::StateMachine
756824 Properties :
0 commit comments