-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnClassifierProps.go
70 lines (67 loc) · 2.73 KB
/
CfnClassifierProps.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
package awsglue
// Properties for defining a `CfnClassifier`.
//
// Example:
// // The code below shows an example of how to instantiate this type.
// // The values are placeholders you should change.
// import "github.com/aws/aws-cdk-go/awscdk"
//
// cfnClassifierProps := &CfnClassifierProps{
// CsvClassifier: &CsvClassifierProperty{
// AllowSingleColumn: jsii.Boolean(false),
// ContainsCustomDatatype: []*string{
// jsii.String("containsCustomDatatype"),
// },
// ContainsHeader: jsii.String("containsHeader"),
// CustomDatatypeConfigured: jsii.Boolean(false),
// Delimiter: jsii.String("delimiter"),
// DisableValueTrimming: jsii.Boolean(false),
// Header: []*string{
// jsii.String("header"),
// },
// Name: jsii.String("name"),
// QuoteSymbol: jsii.String("quoteSymbol"),
// },
// GrokClassifier: &GrokClassifierProperty{
// Classification: jsii.String("classification"),
// GrokPattern: jsii.String("grokPattern"),
//
// // the properties below are optional
// CustomPatterns: jsii.String("customPatterns"),
// Name: jsii.String("name"),
// },
// JsonClassifier: &JsonClassifierProperty{
// JsonPath: jsii.String("jsonPath"),
//
// // the properties below are optional
// Name: jsii.String("name"),
// },
// XmlClassifier: &XMLClassifierProperty{
// Classification: jsii.String("classification"),
// RowTag: jsii.String("rowTag"),
//
// // the properties below are optional
// Name: jsii.String("name"),
// },
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-classifier.html
//
type CfnClassifierProps struct {
// A classifier for comma-separated values (CSV).
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-classifier.html#cfn-glue-classifier-csvclassifier
//
CsvClassifier interface{} `field:"optional" json:"csvClassifier" yaml:"csvClassifier"`
// A classifier that uses `grok` .
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-classifier.html#cfn-glue-classifier-grokclassifier
//
GrokClassifier interface{} `field:"optional" json:"grokClassifier" yaml:"grokClassifier"`
// A classifier for JSON content.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-classifier.html#cfn-glue-classifier-jsonclassifier
//
JsonClassifier interface{} `field:"optional" json:"jsonClassifier" yaml:"jsonClassifier"`
// A classifier for XML content.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-classifier.html#cfn-glue-classifier-xmlclassifier
//
XmlClassifier interface{} `field:"optional" json:"xmlClassifier" yaml:"xmlClassifier"`
}