class CfnTransformerLogsMixin
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.B2BI.Mixins.CfnTransformerLogsMixin |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsb2bi/mixins#CfnTransformerLogsMixin |
Java | software.amazon.awscdk.mixins.preview.services.b2bi.mixins.CfnTransformerLogsMixin |
Python | aws_cdk.mixins_preview.aws_b2bi.mixins.CfnTransformerLogsMixin |
TypeScript | @aws-cdk/mixins-preview » aws_b2bi » mixins » CfnTransformerLogsMixin |
Implements
IMixin
Extends
Mixin
Creates a transformer. AWS B2B Data Interchange currently supports two scenarios:.
- Inbound EDI : the AWS customer receives an EDI file from their trading partner. AWS B2B Data Interchange converts this EDI file into a JSON or XML file with a service-defined structure. A mapping template provided by the customer, in JSONata or XSLT format, is optionally applied to this file to produce a JSON or XML file with the structure the customer requires.
- Outbound EDI : the AWS customer has a JSON or XML file containing data that they wish to use in an EDI file. A mapping template, provided by the customer (in either JSONata or XSLT format) is applied to this file to generate a JSON or XML file in the service-defined structure. This file is then converted to an EDI file.
The following fields are provided for backwards compatibility only:
fileFormat,mappingTemplate,ediType, andsampleDocument.
- Use the
mappingdata type in place ofmappingTemplateandfileFormat- Use the
sampleDocumentsdata type in place ofsampleDocument- Use either the
inputConversionoroutputConversionin place ofediType
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-b2bi-transformer.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_logs as logs } from '@aws-cdk/mixins-preview';
import { mixins as b2bi_mixins } from '@aws-cdk/mixins-preview/aws-b2bi';
declare const logsDelivery: logs.ILogsDelivery;
const cfnTransformerLogsMixin = new b2bi_mixins.CfnTransformerLogsMixin('logType', logsDelivery);
Initializer
new CfnTransformerLogsMixin(logType: string, logDelivery: ILogsDelivery)
Parameters
- logType
string— Type of logs that are getting vended. - logDelivery
ILogs— Object in charge of setting up the delivery source, delivery destination, and delivery connection.Delivery
Create a mixin to enable vended logs for AWS::B2BI::Transformer.
Properties
| Name | Type | Description |
|---|---|---|
| log | ILogs | |
| log | string | |
| static B2 | Cfn |
logDelivery
Type:
ILogs
logType
Type:
string
static B2BI_EXECUTION_LOGS
Type:
Cfn
Methods
| Name | Description |
|---|---|
| apply | Apply vended logs configuration to the construct. |
| supports(construct) | Check if this mixin supports the given construct (has vendedLogs property). |
applyTo(resource)
public applyTo(resource: IConstruct): IConstruct
Parameters
- resource
IConstruct
Returns
Apply vended logs configuration to the construct.
supports(construct)
public supports(construct: IConstruct): boolean
Parameters
- construct
IConstruct
Returns
boolean
Check if this mixin supports the given construct (has vendedLogs property).

.NET
Go
Java
Python
TypeScript