Show / Hide Table of Contents

Class CfnTransformerPropsMixin.X12ElementRequirementValidationRuleProperty

Defines a validation rule that modifies the requirement status of a specific X12 element within a segment.

Inheritance
object
CfnTransformerPropsMixin.X12ElementRequirementValidationRuleProperty
Implements
CfnTransformerPropsMixin.IX12ElementRequirementValidationRuleProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.Mixins.Preview.AWS.B2BI.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnTransformerPropsMixin.X12ElementRequirementValidationRuleProperty : CfnTransformerPropsMixin.IX12ElementRequirementValidationRuleProperty
Syntax (vb)
Public Class CfnTransformerPropsMixin.X12ElementRequirementValidationRuleProperty Implements CfnTransformerPropsMixin.IX12ElementRequirementValidationRuleProperty
Remarks

This rule allows you to make optional elements mandatory or mandatory elements optional, providing flexibility to accommodate different trading partner requirements and business rules. The rule targets a specific element position within a segment and sets its requirement status to either OPTIONAL or MANDATORY.

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

             var x12ElementRequirementValidationRuleProperty = new X12ElementRequirementValidationRuleProperty {
                 ElementPosition = "elementPosition",
                 Requirement = "requirement"
             };

Synopsis

Constructors

X12ElementRequirementValidationRuleProperty()

Defines a validation rule that modifies the requirement status of a specific X12 element within a segment.

Properties

ElementPosition

Specifies the position of the element within an X12 segment for which the requirement status will be modified.

Requirement

Specifies the requirement status for the element at the specified position.

Constructors

X12ElementRequirementValidationRuleProperty()

Defines a validation rule that modifies the requirement status of a specific X12 element within a segment.

public X12ElementRequirementValidationRuleProperty()
Remarks

This rule allows you to make optional elements mandatory or mandatory elements optional, providing flexibility to accommodate different trading partner requirements and business rules. The rule targets a specific element position within a segment and sets its requirement status to either OPTIONAL or MANDATORY.

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

             var x12ElementRequirementValidationRuleProperty = new X12ElementRequirementValidationRuleProperty {
                 ElementPosition = "elementPosition",
                 Requirement = "requirement"
             };

Properties

ElementPosition

Specifies the position of the element within an X12 segment for which the requirement status will be modified.

public string? ElementPosition { get; set; }
Property Value

string

Remarks

The format follows the pattern of segment identifier followed by element position (e.g., "ST-01" for the first element of the ST segment).

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

Requirement

Specifies the requirement status for the element at the specified position.

public string? Requirement { get; set; }
Property Value

string

Remarks

Valid values are OPTIONAL (the element may be omitted) or MANDATORY (the element must be present).

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

Implements

CfnTransformerPropsMixin.IX12ElementRequirementValidationRuleProperty
Back to top Generated by DocFX