Class CfnClassifier
The AWS::Glue::Classifier
resource creates an AWS Glue classifier that categorizes data sources and specifies schemas.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.Glue
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnClassifier : CfnResource, IInspectable
Syntax (vb)
Public Class CfnClassifier
Inherits CfnResource
Implements IInspectable
Remarks
For more information, see Adding Classifiers to a Crawler and Classifier Structure in the AWS Glue Developer Guide .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-classifier.html
CloudformationResource: AWS::Glue::Classifier
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,
ContainsCustomDatatype = new [] { "containsCustomDatatype" },
ContainsHeader = "containsHeader",
CustomDatatypeConfigured = false,
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(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 |
CfnClassifier(Construct, String, ICfnClassifierProps) |
Properties
AttrId | |
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(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
CfnClassifier(Construct, String, ICfnClassifierProps)
public CfnClassifier(Construct scope, string id, ICfnClassifierProps props = null)
Parameters
- scope Constructs.Construct
Scope in which this resource is defined.
- id System.String
Construct identifier for this resource (unique in its scope).
- props ICfnClassifierProps
Resource properties.
Properties
AttrId
public virtual string AttrId { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Id
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
GrokClassifier
A classifier that uses grok
.
public virtual object GrokClassifier { get; set; }
Property Value
System.Object
JsonClassifier
A classifier for JSON content.
public virtual object JsonClassifier { get; set; }
Property Value
System.Object
XmlClassifier
A classifier for XML content.
public virtual object XmlClassifier { get; set; }
Property Value
System.Object
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>