AWS::B2BI::Partnership WrapOptions - AWS CloudFormation

This is the new AWS CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.

AWS::B2BI::Partnership WrapOptions

Contains options for wrapping (line folding) in X12 EDI files. Wrapping controls how long lines are handled in the EDI output.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "LineLength" : Number, "LineTerminator" : String, "WrapBy" : String }

YAML

LineLength: Number LineTerminator: String WrapBy: String

Properties

LineLength

Specifies the maximum length of a line before wrapping occurs. This value is used when wrapBy is set to LINE_LENGTH.

Required: No

Type: Number

Minimum: 1

Update requires: No interruption

LineTerminator

Specifies the character sequence used to terminate lines when wrapping. Valid values:

  • CRLF: carriage return and line feed

  • LF: line feed)

  • CR: carriage return

Required: No

Type: String

Allowed values: CRLF | LF | CR

Update requires: No interruption

WrapBy

Specifies the method used for wrapping lines in the EDI output. Valid values:

  • SEGMENT: Wraps by segment.

  • ONE_LINE: Indicates that the entire content is on a single line.

    Note

    When you specify ONE_LINE, do not provide either the line length nor the line terminator value.

  • LINE_LENGTH: Wraps by character count, as specified by lineLength value.

Required: No

Type: String

Allowed values: SEGMENT | ONE_LINE | LINE_LENGTH

Update requires: No interruption