Class CfnTransformerPropsMixin.X12CodeListValidationRuleProperty
Code list validation rule configuration.
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.B2BI
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnTransformerPropsMixin.X12CodeListValidationRuleProperty : CfnTransformerPropsMixin.IX12CodeListValidationRuleProperty
Syntax (vb)
Public Class CfnTransformerPropsMixin.X12CodeListValidationRuleProperty Implements CfnTransformerPropsMixin.IX12CodeListValidationRuleProperty
Remarks
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.CfnPropertyMixins.AWS.B2BI;
var x12CodeListValidationRuleProperty = new X12CodeListValidationRuleProperty {
CodesToAdd = new [] { "codesToAdd" },
CodesToRemove = new [] { "codesToRemove" },
ElementId = "elementId"
};
Synopsis
Constructors
| X12CodeListValidationRuleProperty() | Code list validation rule configuration. |
Properties
| CodesToAdd | Specifies a list of code values to add to the element's allowed values. |
| CodesToRemove | Specifies a list of code values to remove from the element's allowed values. |
| ElementId | Specifies the four-digit element ID to which the code list modifications apply. |
Constructors
X12CodeListValidationRuleProperty()
Code list validation rule configuration.
public X12CodeListValidationRuleProperty()
Remarks
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.CfnPropertyMixins.AWS.B2BI;
var x12CodeListValidationRuleProperty = new X12CodeListValidationRuleProperty {
CodesToAdd = new [] { "codesToAdd" },
CodesToRemove = new [] { "codesToRemove" },
ElementId = "elementId"
};
Properties
CodesToAdd
Specifies a list of code values to add to the element's allowed values.
public string[]? CodesToAdd { get; set; }
Property Value
string[]
Remarks
These codes will be considered valid for the specified element in addition to the standard codes defined by the X12 specification.
CodesToRemove
Specifies a list of code values to remove from the element's allowed values.
public string[]? CodesToRemove { get; set; }
Property Value
string[]
Remarks
These codes will be considered invalid for the specified element, even if they are part of the standard codes defined by the X12 specification.
ElementId
Specifies the four-digit element ID to which the code list modifications apply.
public string? ElementId { get; set; }
Property Value
Remarks
This identifies which X12 element will have its allowed code values modified.