X12DelimitersProperty Struct
In X12 EDI messages, delimiters are used to mark the end of segments or elements, and are defined in the interchange control header.
The delimiters are part of the message's syntax and divide up its different elements.
Example
ts
// 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 x12DelimitersProperty: b2bi.CfnPartnership.X12DelimitersProperty = {
componentSeparator: 'componentSeparator',
dataElementSeparator: 'dataElementSeparator',
segmentTerminator: 'segmentTerminator',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_b2bi as b2bi
x12_delimiters_property = b2bi.CfnPartnership.X12DelimitersProperty(
component_separator="componentSeparator",
data_element_separator="dataElementSeparator",
segment_terminator="segmentTerminator"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.b2bi.*;
X12DelimitersProperty x12DelimitersProperty = X12DelimitersProperty.builder()
.componentSeparator("componentSeparator")
.dataElementSeparator("dataElementSeparator")
.segmentTerminator("segmentTerminator")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// 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 x12DelimitersProperty = new X12DelimitersProperty {
ComponentSeparator = "componentSeparator",
DataElementSeparator = "dataElementSeparator",
SegmentTerminator = "segmentTerminator"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
x12DelimitersProperty := &X12DelimitersProperty{
ComponentSeparator: jsii.String("componentSeparator"),
DataElementSeparator: jsii.String("dataElementSeparator"),
SegmentTerminator: jsii.String("segmentTerminator"),
}
Properties
componentSeparatoroptionalstringcomponent_separatoroptionalstrcomponentSeparatoroptionalStringComponentSeparatoroptionalstringComponentSeparatoroptional*string#The component, or sub-element, separator.
The default value is : (colon).
dataElementSeparatoroptionalstringdata_element_separatoroptionalstrdataElementSeparatoroptionalStringDataElementSeparatoroptionalstringDataElementSeparatoroptional*string#The data element separator.
The default value is * (asterisk).
segmentTerminatoroptionalstringsegment_terminatoroptionalstrsegmentTerminatoroptionalStringSegmentTerminatoroptionalstringSegmentTerminatoroptional*string#The segment terminator.
The default value is ~ (tilde).