Show / Hide Table of Contents

Class CsvHeaders

Configuration for CSV header options for a CSV Item Reader.

Inheritance
object
CsvHeaders
Namespace: Amazon.CDK.AWS.StepFunctions
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CsvHeaders : DeputyBase
Syntax (vb)
Public Class CsvHeaders Inherits DeputyBase
Remarks

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.StepFunctions;

            var csvHeaders = CsvHeaders.Use(new [] { "headers" });

Synopsis

Properties

HeaderLocation

Location of headers in CSV file.

Headers

List of headers if headerLocation is GIVEN.

Methods

Use(string[])

Configures S3CsvItemReader to use the headers provided in the headers parameter.

UseFirstRow()

Configures S3CsvItemReader to read headers from the first row of the CSV file.

Properties

HeaderLocation

Location of headers in CSV file.

public virtual CsvHeaderLocation HeaderLocation { get; }
Property Value

CsvHeaderLocation

Remarks

ExampleMetadata: fixture=_generated

Headers

List of headers if headerLocation is GIVEN.

public virtual string[]? Headers { get; }
Property Value

string[]

Remarks

ExampleMetadata: fixture=_generated

Methods

Use(string[])

Configures S3CsvItemReader to use the headers provided in the headers parameter.

public static CsvHeaders Use(string[] headers)
Parameters
headers string[]
  • List of headers.
Returns

CsvHeaders

  • CsvHeaders
Remarks

ExampleMetadata: fixture=_generated

UseFirstRow()

Configures S3CsvItemReader to read headers from the first row of the CSV file.

public static CsvHeaders UseFirstRow()
Returns

CsvHeaders

  • CsvHeaders
Remarks

ExampleMetadata: fixture=_generated

Back to top Generated by DocFX