Show / Hide Table of Contents

Interface CfnTransformer.IOutputConversionProperty

Contains the formatting options for an outbound transformer (takes JSON or XML as input and converts it to an EDI document (currently only X12 format is supported).

Namespace: Amazon.CDK.AWS.B2BI
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnTransformer.IOutputConversionProperty
Syntax (vb)
Public Interface CfnTransformer.IOutputConversionProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-outputconversion.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.B2BI;

             var outputConversionProperty = new OutputConversionProperty {
                 ToFormat = "toFormat",

                 // the properties below are optional
                 AdvancedOptions = new AdvancedOptionsProperty {
                     X12 = new X12AdvancedOptionsProperty {
                         SplitOptions = new X12SplitOptionsProperty {
                             SplitBy = "splitBy"
                         },
                         ValidationOptions = new X12ValidationOptionsProperty {
                             ValidationRules = new [] { new X12ValidationRuleProperty {
                                 CodeListValidationRule = new X12CodeListValidationRuleProperty {
                                     ElementId = "elementId",

                                     // the properties below are optional
                                     CodesToAdd = new [] { "codesToAdd" },
                                     CodesToRemove = new [] { "codesToRemove" }
                                 },
                                 ElementLengthValidationRule = new X12ElementLengthValidationRuleProperty {
                                     ElementId = "elementId",
                                     MaxLength = 123,
                                     MinLength = 123
                                 },
                                 ElementRequirementValidationRule = new X12ElementRequirementValidationRuleProperty {
                                     ElementPosition = "elementPosition",
                                     Requirement = "requirement"
                                 }
                             } }
                         }
                     }
                 },
                 FormatOptions = new FormatOptionsProperty {
                     X12 = new X12DetailsProperty {
                         TransactionSet = "transactionSet",
                         Version = "version"
                     }
                 }
             };

Synopsis

Properties

AdvancedOptions

Contains the formatting options for an outbound transformer (takes JSON or XML as input and converts it to an EDI document (currently only X12 format is supported).

FormatOptions

A structure that contains the X12 transaction set and version for the transformer output.

ToFormat

The format for the output from an outbound transformer: only X12 is currently supported.

Properties

AdvancedOptions

Contains the formatting options for an outbound transformer (takes JSON or XML as input and converts it to an EDI document (currently only X12 format is supported).

object? AdvancedOptions { get; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-outputconversion.html#cfn-b2bi-transformer-outputconversion-advancedoptions

Type union: either IResolvable or CfnTransformer.IAdvancedOptionsProperty

FormatOptions

A structure that contains the X12 transaction set and version for the transformer output.

object? FormatOptions { get; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-outputconversion.html#cfn-b2bi-transformer-outputconversion-formatoptions

Type union: either IResolvable or CfnTransformer.IFormatOptionsProperty

ToFormat

The format for the output from an outbound transformer: only X12 is currently supported.

string ToFormat { get; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-outputconversion.html#cfn-b2bi-transformer-outputconversion-toformat

Back to top Generated by DocFX