interface WrapOptionsProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.aws_b2bi.CfnPartnership.WrapOptionsProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsb2bi#CfnPartnership_WrapOptionsProperty |
Java | software.amazon.awscdk.services.b2bi.CfnPartnership.WrapOptionsProperty |
Python | aws_cdk.aws_b2bi.CfnPartnership.WrapOptionsProperty |
TypeScript | aws-cdk-lib » aws_b2bi » CfnPartnership » WrapOptionsProperty |
Contains options for wrapping (line folding) in X12 EDI files.
Wrapping controls how long lines are handled in the EDI output.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_b2bi as b2bi } from 'aws-cdk-lib';
const wrapOptionsProperty: b2bi.CfnPartnership.WrapOptionsProperty = {
lineLength: 123,
lineTerminator: 'lineTerminator',
wrapBy: 'wrapBy',
};
Properties
| Name | Type | Description |
|---|---|---|
| line | number | Specifies the maximum length of a line before wrapping occurs. |
| line | string | Specifies the character sequence used to terminate lines when wrapping. Valid values:. |
| wrap | string | Specifies the method used for wrapping lines in the EDI output. Valid values:. |
lineLength?
Type:
number
(optional)
Specifies the maximum length of a line before wrapping occurs.
This value is used when wrapBy is set to LINE_LENGTH .
lineTerminator?
Type:
string
(optional)
Specifies the character sequence used to terminate lines when wrapping. Valid values:.
CRLF: carriage return and line feedLF: line feed)CR: carriage return
wrapBy?
Type:
string
(optional)
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.
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 bylineLengthvalue.

.NET
Go
Java
Python
TypeScript