Skip to content

Commit

Permalink
Add Glue allowed values (aws-cloudformation#763)
Browse files Browse the repository at this point in the history
  • Loading branch information
fatbasstard authored and cmmeyer committed Mar 27, 2019
1 parent 90fb375 commit 5938096
Show file tree
Hide file tree
Showing 24 changed files with 1,206 additions and 71 deletions.
76 changes: 69 additions & 7 deletions src/cfnlint/data/CloudSpecs/ap-northeast-1.json
Original file line number Diff line number Diff line change
Expand Up @@ -11796,13 +11796,19 @@
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-crawler-schemachangepolicy.html#cfn-glue-crawler-schemachangepolicy-deletebehavior",
"PrimitiveType": "String",
"Required": false,
"UpdateType": "Mutable"
"UpdateType": "Mutable",
"Value": {
"ValueType": "GlueCrawlerDeleteBehavior"
}
},
"UpdateBehavior": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-crawler-schemachangepolicy.html#cfn-glue-crawler-schemachangepolicy-updatebehavior",
"PrimitiveType": "String",
"Required": false,
"UpdateType": "Mutable"
"UpdateType": "Mutable",
"Value": {
"ValueType": "GlueCrawlerUpdateBehavior"
}
}
}
},
Expand Down Expand Up @@ -12304,7 +12310,10 @@
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-table-tableinput.html#cfn-glue-table-tableinput-tabletype",
"PrimitiveType": "String",
"Required": false,
"UpdateType": "Mutable"
"UpdateType": "Mutable",
"Value": {
"ValueType": "GlueTableType"
}
},
"ViewExpandedText": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-table-tableinput.html#cfn-glue-table-tableinput-viewexpandedtext",
Expand Down Expand Up @@ -12350,13 +12359,19 @@
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-trigger-condition.html#cfn-glue-trigger-condition-logicaloperator",
"PrimitiveType": "String",
"Required": false,
"UpdateType": "Mutable"
"UpdateType": "Mutable",
"Value": {
"ValueType": "GlueTriggerPredicateLogicalOperator"
}
},
"State": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-trigger-condition.html#cfn-glue-trigger-condition-state",
"PrimitiveType": "String",
"Required": false,
"UpdateType": "Mutable"
"UpdateType": "Mutable",
"Value": {
"ValueType": "GlueTriggerPredicateState"
}
}
}
},
Expand All @@ -12374,7 +12389,10 @@
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-trigger-predicate.html#cfn-glue-trigger-predicate-logical",
"PrimitiveType": "String",
"Required": false,
"UpdateType": "Mutable"
"UpdateType": "Mutable",
"Value": {
"ValueType": "GlueTriggerPredicateLogical"
}
}
}
},
Expand Down Expand Up @@ -28162,7 +28180,10 @@
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-trigger.html#cfn-glue-trigger-type",
"PrimitiveType": "String",
"Required": true,
"UpdateType": "Mutable"
"UpdateType": "Mutable",
"Value": {
"ValueType": "GlueTriggerType"
}
}
}
},
Expand Down Expand Up @@ -35753,6 +35774,47 @@
"SFTP"
]
},
"GlueCrawlerDeleteBehavior": {
"AllowedValues": [
"DELETE_FROM_DATABASE",
"DEPRECATE_IN_DATABASE",
"LOG"
]
},
"GlueCrawlerUpdateBehavior": {
"AllowedValues": [
"LOG",
"UPDATE_IN_DATABASE"
]
},
"GlueTableType": {
"AllowedValues": [
"EXTERNAL_TABLE",
"VIRTUAL_VIEW"
]
},
"GlueTriggerPredicateLogical": {
"AllowedValues": [
"AND"
]
},
"GlueTriggerPredicateLogicalOperator": {
"AllowedValues": [
"EQUALS"
]
},
"GlueTriggerPredicateState": {
"AllowedValues": [
"SUCCEEDED"
]
},
"GlueTriggerType": {
"AllowedValues": [
"CONDITIONAL",
"ON_DEMAND",
"SCHEDULED"
]
},
"HttpProtocol": {
"AllowedValues": [
"http",
Expand Down
76 changes: 69 additions & 7 deletions src/cfnlint/data/CloudSpecs/ap-northeast-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -11644,13 +11644,19 @@
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-crawler-schemachangepolicy.html#cfn-glue-crawler-schemachangepolicy-deletebehavior",
"PrimitiveType": "String",
"Required": false,
"UpdateType": "Mutable"
"UpdateType": "Mutable",
"Value": {
"ValueType": "GlueCrawlerDeleteBehavior"
}
},
"UpdateBehavior": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-crawler-schemachangepolicy.html#cfn-glue-crawler-schemachangepolicy-updatebehavior",
"PrimitiveType": "String",
"Required": false,
"UpdateType": "Mutable"
"UpdateType": "Mutable",
"Value": {
"ValueType": "GlueCrawlerUpdateBehavior"
}
}
}
},
Expand Down Expand Up @@ -12152,7 +12158,10 @@
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-table-tableinput.html#cfn-glue-table-tableinput-tabletype",
"PrimitiveType": "String",
"Required": false,
"UpdateType": "Mutable"
"UpdateType": "Mutable",
"Value": {
"ValueType": "GlueTableType"
}
},
"ViewExpandedText": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-table-tableinput.html#cfn-glue-table-tableinput-viewexpandedtext",
Expand Down Expand Up @@ -12198,13 +12207,19 @@
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-trigger-condition.html#cfn-glue-trigger-condition-logicaloperator",
"PrimitiveType": "String",
"Required": false,
"UpdateType": "Mutable"
"UpdateType": "Mutable",
"Value": {
"ValueType": "GlueTriggerPredicateLogicalOperator"
}
},
"State": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-trigger-condition.html#cfn-glue-trigger-condition-state",
"PrimitiveType": "String",
"Required": false,
"UpdateType": "Mutable"
"UpdateType": "Mutable",
"Value": {
"ValueType": "GlueTriggerPredicateState"
}
}
}
},
Expand All @@ -12222,7 +12237,10 @@
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-trigger-predicate.html#cfn-glue-trigger-predicate-logical",
"PrimitiveType": "String",
"Required": false,
"UpdateType": "Mutable"
"UpdateType": "Mutable",
"Value": {
"ValueType": "GlueTriggerPredicateLogical"
}
}
}
},
Expand Down Expand Up @@ -25838,7 +25856,10 @@
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-trigger.html#cfn-glue-trigger-type",
"PrimitiveType": "String",
"Required": true,
"UpdateType": "Mutable"
"UpdateType": "Mutable",
"Value": {
"ValueType": "GlueTriggerType"
}
}
}
},
Expand Down Expand Up @@ -32235,6 +32256,47 @@
"SFTP"
]
},
"GlueCrawlerDeleteBehavior": {
"AllowedValues": [
"DELETE_FROM_DATABASE",
"DEPRECATE_IN_DATABASE",
"LOG"
]
},
"GlueCrawlerUpdateBehavior": {
"AllowedValues": [
"LOG",
"UPDATE_IN_DATABASE"
]
},
"GlueTableType": {
"AllowedValues": [
"EXTERNAL_TABLE",
"VIRTUAL_VIEW"
]
},
"GlueTriggerPredicateLogical": {
"AllowedValues": [
"AND"
]
},
"GlueTriggerPredicateLogicalOperator": {
"AllowedValues": [
"EQUALS"
]
},
"GlueTriggerPredicateState": {
"AllowedValues": [
"SUCCEEDED"
]
},
"GlueTriggerType": {
"AllowedValues": [
"CONDITIONAL",
"ON_DEMAND",
"SCHEDULED"
]
},
"HttpProtocol": {
"AllowedValues": [
"http",
Expand Down
41 changes: 41 additions & 0 deletions src/cfnlint/data/CloudSpecs/ap-northeast-3.json
Original file line number Diff line number Diff line change
Expand Up @@ -22020,6 +22020,47 @@
"SFTP"
]
},
"GlueCrawlerDeleteBehavior": {
"AllowedValues": [
"DELETE_FROM_DATABASE",
"DEPRECATE_IN_DATABASE",
"LOG"
]
},
"GlueCrawlerUpdateBehavior": {
"AllowedValues": [
"LOG",
"UPDATE_IN_DATABASE"
]
},
"GlueTableType": {
"AllowedValues": [
"EXTERNAL_TABLE",
"VIRTUAL_VIEW"
]
},
"GlueTriggerPredicateLogical": {
"AllowedValues": [
"AND"
]
},
"GlueTriggerPredicateLogicalOperator": {
"AllowedValues": [
"EQUALS"
]
},
"GlueTriggerPredicateState": {
"AllowedValues": [
"SUCCEEDED"
]
},
"GlueTriggerType": {
"AllowedValues": [
"CONDITIONAL",
"ON_DEMAND",
"SCHEDULED"
]
},
"HttpProtocol": {
"AllowedValues": [
"http",
Expand Down
Loading

0 comments on commit 5938096

Please sign in to comment.