Interface CfnTransformerProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTransformerProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-20T23:37:15.213Z")
@Stability(Stable)
public interface CfnTransformerProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnTransformer.
Example:
// 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.*;
CfnTransformerProps cfnTransformerProps = CfnTransformerProps.builder()
.name("name")
.status("status")
// the properties below are optional
.ediType(EdiTypeProperty.builder()
.x12Details(X12DetailsProperty.builder()
.transactionSet("transactionSet")
.version("version")
.build())
.build())
.fileFormat("fileFormat")
.inputConversion(InputConversionProperty.builder()
.fromFormat("fromFormat")
// the properties below are optional
.advancedOptions(AdvancedOptionsProperty.builder()
.x12(X12AdvancedOptionsProperty.builder()
.splitOptions(X12SplitOptionsProperty.builder()
.splitBy("splitBy")
.build())
.validationOptions(X12ValidationOptionsProperty.builder()
.validationRules(List.of(X12ValidationRuleProperty.builder()
.codeListValidationRule(X12CodeListValidationRuleProperty.builder()
.elementId("elementId")
// the properties below are optional
.codesToAdd(List.of("codesToAdd"))
.codesToRemove(List.of("codesToRemove"))
.build())
.elementLengthValidationRule(X12ElementLengthValidationRuleProperty.builder()
.elementId("elementId")
.maxLength(123)
.minLength(123)
.build())
.elementRequirementValidationRule(X12ElementRequirementValidationRuleProperty.builder()
.elementPosition("elementPosition")
.requirement("requirement")
.build())
.build()))
.build())
.build())
.build())
.formatOptions(FormatOptionsProperty.builder()
.x12(X12DetailsProperty.builder()
.transactionSet("transactionSet")
.version("version")
.build())
.build())
.build())
.mapping(MappingProperty.builder()
.templateLanguage("templateLanguage")
// the properties below are optional
.template("template")
.build())
.mappingTemplate("mappingTemplate")
.outputConversion(OutputConversionProperty.builder()
.toFormat("toFormat")
// the properties below are optional
.advancedOptions(AdvancedOptionsProperty.builder()
.x12(X12AdvancedOptionsProperty.builder()
.splitOptions(X12SplitOptionsProperty.builder()
.splitBy("splitBy")
.build())
.validationOptions(X12ValidationOptionsProperty.builder()
.validationRules(List.of(X12ValidationRuleProperty.builder()
.codeListValidationRule(X12CodeListValidationRuleProperty.builder()
.elementId("elementId")
// the properties below are optional
.codesToAdd(List.of("codesToAdd"))
.codesToRemove(List.of("codesToRemove"))
.build())
.elementLengthValidationRule(X12ElementLengthValidationRuleProperty.builder()
.elementId("elementId")
.maxLength(123)
.minLength(123)
.build())
.elementRequirementValidationRule(X12ElementRequirementValidationRuleProperty.builder()
.elementPosition("elementPosition")
.requirement("requirement")
.build())
.build()))
.build())
.build())
.build())
.formatOptions(FormatOptionsProperty.builder()
.x12(X12DetailsProperty.builder()
.transactionSet("transactionSet")
.version("version")
.build())
.build())
.build())
.sampleDocument("sampleDocument")
.sampleDocuments(SampleDocumentsProperty.builder()
.bucketName("bucketName")
.keys(List.of(SampleDocumentKeysProperty.builder()
.input("input")
.output("output")
.build()))
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTransformerPropsstatic final classAn implementation forCfnTransformerProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnTransformerProps.Builderbuilder()default ObjectDeprecated.this property has been deprecateddefault StringDeprecated.this property has been deprecateddefault ObjectReturns a structure that contains the format options for the transformation.default ObjectReturns the structure that contains the mapping template and its language (either XSLT or JSONATA).default StringDeprecated.this property has been deprecatedgetName()Returns the descriptive name for the transformer.default ObjectReturns theOutputConversionobject, which contains the format options for the outbound transformation.default StringDeprecated.this property has been deprecateddefault ObjectReturns a structure that contains the Amazon S3 bucket and an array of the corresponding keys used to identify the location for your sample documents.Returns the state of the newly created transformer.getTags()A key-value pair for a specific transformer.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getName
Returns the descriptive name for the transformer.- See Also:
-
getStatus
Returns the state of the newly created transformer.The transformer can be either
activeorinactive. For the transformer to be used in a capability, its status mustactive.- See Also:
-
getEdiType
Deprecated.this property has been deprecatedReturns union: eitherIResolvableorCfnTransformer.EdiTypeProperty- See Also:
-
getFileFormat
Deprecated.this property has been deprecated- See Also:
-
getInputConversion
Returns a structure that contains the format options for the transformation.Returns union: either
IResolvableorCfnTransformer.InputConversionProperty- See Also:
-
getMapping
Returns the structure that contains the mapping template and its language (either XSLT or JSONATA).Returns union: either
IResolvableorCfnTransformer.MappingProperty- See Also:
-
getMappingTemplate
Deprecated.this property has been deprecated(deprecated) This shape is deprecated: This is a legacy trait.Please use input-conversion or output-conversion.
- See Also:
-
getOutputConversion
Returns theOutputConversionobject, which contains the format options for the outbound transformation.Returns union: either
IResolvableorCfnTransformer.OutputConversionProperty- See Also:
-
getSampleDocument
Deprecated.this property has been deprecated(deprecated) This shape is deprecated: This is a legacy trait.Please use input-conversion or output-conversion.
- See Also:
-
getSampleDocuments
Returns a structure that contains the Amazon S3 bucket and an array of the corresponding keys used to identify the location for your sample documents.Returns union: either
IResolvableorCfnTransformer.SampleDocumentsProperty- See Also:
-
getTags
A key-value pair for a specific transformer.Tags are metadata that you can use to search for and group capabilities for various purposes.
- See Also:
-
builder
- Returns:
- a
CfnTransformerProps.BuilderofCfnTransformerProps
-