Class CfnClassifier
A CloudFormation AWS::Glue::Classifier
.
Inherited Members
Namespace: Amazon.CDK.AWS.Glue
Assembly: Amazon.CDK.AWS.Glue.dll
Syntax (csharp)
public class CfnClassifier : CfnResource, IConstruct, IDependable, IInspectable
Syntax (vb)
Public Class CfnClassifier
Inherits CfnResource
Implements IConstruct, IDependable, IInspectable
Remarks
The AWS::Glue::Classifier
resource creates an AWS Glue classifier that categorizes data sources and specifies schemas. For more information, see Adding Classifiers to a Crawler and Classifier Structure in the AWS Glue Developer Guide .
CloudformationResource: AWS::Glue::Classifier
Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-classifier.html
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Glue;
var cfnClassifier = new CfnClassifier(this, "MyCfnClassifier", new CfnClassifierProps {
CsvClassifier = new CsvClassifierProperty {
AllowSingleColumn = false,
ContainsHeader = "containsHeader",
Delimiter = "delimiter",
DisableValueTrimming = false,
Header = new [] { "header" },
Name = "name",
QuoteSymbol = "quoteSymbol"
},
GrokClassifier = new GrokClassifierProperty {
Classification = "classification",
GrokPattern = "grokPattern",
// the properties below are optional
CustomPatterns = "customPatterns",
Name = "name"
},
JsonClassifier = new JsonClassifierProperty {
JsonPath = "jsonPath",
// the properties below are optional
Name = "name"
},
XmlClassifier = new XMLClassifierProperty {
Classification = "classification",
RowTag = "rowTag",
// the properties below are optional
Name = "name"
}
});
Synopsis
Constructors
CfnClassifier(Construct, String, ICfnClassifierProps) | Create a new |
CfnClassifier(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnClassifier(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Properties
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
CsvClassifier | A classifier for comma-separated values (CSV). |
GrokClassifier | A classifier that uses |
JsonClassifier | A classifier for JSON content. |
XmlClassifier | A classifier for XML content. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnClassifier(Construct, String, ICfnClassifierProps)
Create a new AWS::Glue::Classifier
.
public CfnClassifier(Construct scope, string id, ICfnClassifierProps props = null)
Parameters
- scope Construct
- scope in which this resource is defined.
- id System.String
- scoped id of the resource.
- props ICfnClassifierProps
- resource properties.
CfnClassifier(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnClassifier(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnClassifier(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnClassifier(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Properties
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
CsvClassifier
A classifier for comma-separated values (CSV).
public virtual object CsvClassifier { get; set; }
Property Value
System.Object
Remarks
GrokClassifier
A classifier that uses grok
.
public virtual object GrokClassifier { get; set; }
Property Value
System.Object
Remarks
JsonClassifier
A classifier for JSON content.
public virtual object JsonClassifier { get; set; }
Property Value
System.Object
Remarks
XmlClassifier
A classifier for XML content.
public virtual object XmlClassifier { get; set; }
Property Value
System.Object
Remarks
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
- tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>