awsb2bi

package
v2.231.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 1, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

README

AWS::B2BI Construct Library

---

All classes with the Cfn prefix in this module (CFN Resources) are always stable and safe to use.


This module is part of the AWS Cloud Development Kit project.

import b2bi "github.com/aws/aws-cdk-go/awscdk"

There are no official hand-written (L2) constructs for this service yet. Here are some suggestions on how to proceed:

There are no hand-written (L2) constructs for this service yet. However, you can still use the automatically generated L1 constructs, and use this service exactly as you would using CloudFormation directly.

For more information on the resources and properties available for this service, see the CloudFormation documentation for AWS::B2BI.

(Read the CDK Contributing Guide and submit an RFC if you are interested in contributing to this construct library.)

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CfnCapability_ArnForCapability added in v2.227.0

func CfnCapability_ArnForCapability(resource interfacesawsb2bi.ICapabilityRef) *string

func CfnCapability_CFN_RESOURCE_TYPE_NAME

func CfnCapability_CFN_RESOURCE_TYPE_NAME() *string

func CfnCapability_IsCfnCapability added in v2.231.0

func CfnCapability_IsCfnCapability(x interface{}) *bool

Checks whether the given object is a CfnCapability.

func CfnCapability_IsCfnElement

func CfnCapability_IsCfnElement(x interface{}) *bool

Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).

Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.

Returns: The construct as a stack element or undefined if it is not a stack element.

func CfnCapability_IsCfnResource

func CfnCapability_IsCfnResource(x interface{}) *bool

Check whether the given object is a CfnResource.

func CfnCapability_IsConstruct

func CfnCapability_IsConstruct(x interface{}) *bool

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.

Returns: true if `x` is an object created from a class which extends `Construct`.

func CfnPartnership_ArnForPartnership added in v2.227.0

func CfnPartnership_ArnForPartnership(resource interfacesawsb2bi.IPartnershipRef) *string

func CfnPartnership_CFN_RESOURCE_TYPE_NAME

func CfnPartnership_CFN_RESOURCE_TYPE_NAME() *string

func CfnPartnership_IsCfnElement

func CfnPartnership_IsCfnElement(x interface{}) *bool

Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).

Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.

Returns: The construct as a stack element or undefined if it is not a stack element.

func CfnPartnership_IsCfnPartnership added in v2.231.0

func CfnPartnership_IsCfnPartnership(x interface{}) *bool

Checks whether the given object is a CfnPartnership.

func CfnPartnership_IsCfnResource

func CfnPartnership_IsCfnResource(x interface{}) *bool

Check whether the given object is a CfnResource.

func CfnPartnership_IsConstruct

func CfnPartnership_IsConstruct(x interface{}) *bool

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.

Returns: true if `x` is an object created from a class which extends `Construct`.

func CfnProfile_ArnForProfile added in v2.227.0

func CfnProfile_ArnForProfile(resource interfacesawsb2bi.IProfileRef) *string

func CfnProfile_CFN_RESOURCE_TYPE_NAME

func CfnProfile_CFN_RESOURCE_TYPE_NAME() *string

func CfnProfile_IsCfnElement

func CfnProfile_IsCfnElement(x interface{}) *bool

Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).

Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.

Returns: The construct as a stack element or undefined if it is not a stack element.

func CfnProfile_IsCfnProfile added in v2.231.0

func CfnProfile_IsCfnProfile(x interface{}) *bool

Checks whether the given object is a CfnProfile.

func CfnProfile_IsCfnResource

func CfnProfile_IsCfnResource(x interface{}) *bool

Check whether the given object is a CfnResource.

func CfnProfile_IsConstruct

func CfnProfile_IsConstruct(x interface{}) *bool

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.

Returns: true if `x` is an object created from a class which extends `Construct`.

func CfnTransformer_ArnForTransformer added in v2.227.0

func CfnTransformer_ArnForTransformer(resource interfacesawsb2bi.ITransformerRef) *string

func CfnTransformer_CFN_RESOURCE_TYPE_NAME

func CfnTransformer_CFN_RESOURCE_TYPE_NAME() *string

func CfnTransformer_IsCfnElement

func CfnTransformer_IsCfnElement(x interface{}) *bool

Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).

Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.

Returns: The construct as a stack element or undefined if it is not a stack element.

func CfnTransformer_IsCfnResource

func CfnTransformer_IsCfnResource(x interface{}) *bool

Check whether the given object is a CfnResource.

func CfnTransformer_IsCfnTransformer added in v2.231.0

func CfnTransformer_IsCfnTransformer(x interface{}) *bool

Checks whether the given object is a CfnTransformer.

func CfnTransformer_IsConstruct

func CfnTransformer_IsConstruct(x interface{}) *bool

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.

Returns: true if `x` is an object created from a class which extends `Construct`.

func NewCfnCapability_Override

func NewCfnCapability_Override(c CfnCapability, scope constructs.Construct, id *string, props *CfnCapabilityProps)

Create a new `AWS::B2BI::Capability`.

func NewCfnPartnership_Override

func NewCfnPartnership_Override(c CfnPartnership, scope constructs.Construct, id *string, props *CfnPartnershipProps)

Create a new `AWS::B2BI::Partnership`.

func NewCfnProfile_Override

func NewCfnProfile_Override(c CfnProfile, scope constructs.Construct, id *string, props *CfnProfileProps)

Create a new `AWS::B2BI::Profile`.

func NewCfnTransformer_Override

func NewCfnTransformer_Override(c CfnTransformer, scope constructs.Construct, id *string, props *CfnTransformerProps)

Create a new `AWS::B2BI::Transformer`.

Types

type CfnCapability

type CfnCapability interface {
	awscdk.CfnResource
	awscdk.IInspectable
	interfacesawsb2bi.ICapabilityRef
	awscdk.ITaggableV2
	// Returns an Amazon Resource Name (ARN) for a specific AWS resource, such as a capability, partnership, profile, or transformer.
	AttrCapabilityArn() *string
	// Returns a system-assigned unique identifier for the capability.
	AttrCapabilityId() *string
	// Returns a timestamp for creation date and time of the capability.
	AttrCreatedAt() *string
	// Returns a timestamp that identifies the most recent date and time that the capability was modified.
	AttrModifiedAt() *string
	// A reference to a Capability resource.
	CapabilityRef() *interfacesawsb2bi.CapabilityReference
	// Tag Manager which manages the tags for this resource.
	CdkTagManager() awscdk.TagManager
	// Options for this resource, such as condition, update policy etc.
	CfnOptions() awscdk.ICfnResourceOptions
	CfnProperties() *map[string]interface{}
	// AWS resource type.
	CfnResourceType() *string
	// Specifies a structure that contains the details for a capability.
	Configuration() interface{}
	SetConfiguration(val interface{})
	// Returns: the stack trace of the point where this Resource was created from, sourced
	// from the +metadata+ entry typed +aws:cdk:logicalId+, and with the bottom-most
	// node +internal+ entries filtered.
	CreationStack() *[]*string
	Env() *interfaces.ResourceEnvironment
	// Specifies one or more locations in Amazon S3, each specifying an EDI document that can be used with this capability.
	InstructionsDocuments() interface{}
	SetInstructionsDocuments(val interface{})
	// The logical ID for this CloudFormation stack element.
	//
	// The logical ID of the element
	// is calculated from the path of the resource node in the construct tree.
	//
	// To override this value, use `overrideLogicalId(newLogicalId)`.
	//
	// Returns: the logical ID as a stringified token. This value will only get
	// resolved during synthesis.
	LogicalId() *string
	// The display name of the capability.
	Name() *string
	SetName(val *string)
	// The tree node.
	Node() constructs.Node
	// Return a string that will be resolved to a CloudFormation `{ Ref }` for this element.
	//
	// If, by any chance, the intrinsic reference of a resource is not a string, you could
	// coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`.
	Ref() *string
	// The stack in which this element is defined.
	//
	// CfnElements must be defined within a stack scope (directly or indirectly).
	Stack() awscdk.Stack
	// Specifies the key-value pairs assigned to ARNs that you can use to group and search for resources by type.
	Tags() *[]*awscdk.CfnTag
	SetTags(val *[]*awscdk.CfnTag)
	// Returns the type of the capability.
	Type() *string
	SetType(val *string)
	// Deprecated.
	// Deprecated: use `updatedProperties`
	//
	// Return properties modified after initiation
	//
	// Resources that expose mutable properties should override this function to
	// collect and return the properties object for this resource.
	UpdatedProperites() *map[string]interface{}
	// Return properties modified after initiation.
	//
	// Resources that expose mutable properties should override this function to
	// collect and return the properties object for this resource.
	UpdatedProperties() *map[string]interface{}
	// Syntactic sugar for `addOverride(path, undefined)`.
	AddDeletionOverride(path *string)
	// Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
	//
	// This can be used for resources across stacks (or nested stack) boundaries
	// and the dependency will automatically be transferred to the relevant scope.
	AddDependency(target awscdk.CfnResource)
	// Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
	// Deprecated: use addDependency.
	AddDependsOn(target awscdk.CfnResource)
	// Add a value to the CloudFormation Resource Metadata.
	// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html
	//
	// Note that this is a different set of metadata from CDK node metadata; this
	// metadata ends up in the stack template under the resource, whereas CDK
	// node metadata ends up in the Cloud Assembly.
	//
	AddMetadata(key *string, value interface{})
	// Adds an override to the synthesized CloudFormation resource.
	//
	// To add a
	// property override, either use `addPropertyOverride` or prefix `path` with
	// "Properties." (i.e. `Properties.TopicName`).
	//
	// If the override is nested, separate each nested level using a dot (.) in the path parameter.
	// If there is an array as part of the nesting, specify the index in the path.
	//
	// To include a literal `.` in the property name, prefix with a `\`. In most
	// programming languages you will need to write this as `"\\."` because the
	// `\` itself will need to be escaped.
	//
	// For example,
	// “`typescript
	// cfnResource.addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']);
	// cfnResource.addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE');
	// “`
	// would add the overrides
	// “`json
	// "Properties": {
	//   "GlobalSecondaryIndexes": [
	//     {
	//       "Projection": {
	//         "NonKeyAttributes": [ "myattribute" ]
	//         ...
	//       }
	//       ...
	//     },
	//     {
	//       "ProjectionType": "INCLUDE"
	//       ...
	//     },
	//   ]
	//   ...
	// }
	// “`
	//
	// The `value` argument to `addOverride` will not be processed or translated
	// in any way. Pass raw JSON values in here with the correct capitalization
	// for CloudFormation. If you pass CDK classes or structs, they will be
	// rendered with lowercased key names, and CloudFormation will reject the
	// template.
	AddOverride(path *string, value interface{})
	// Adds an override that deletes the value of a property from the resource definition.
	AddPropertyDeletionOverride(propertyPath *string)
	// Adds an override to a resource property.
	//
	// Syntactic sugar for `addOverride("Properties.<...>", value)`.
	AddPropertyOverride(propertyPath *string, value interface{})
	// Sets the deletion policy of the resource based on the removal policy specified.
	//
	// The Removal Policy controls what happens to this resource when it stops
	// being managed by CloudFormation, either because you've removed it from the
	// CDK application or because you've made a change that requires the resource
	// to be replaced.
	//
	// The resource can be deleted (`RemovalPolicy.DESTROY`), or left in your AWS
	// account for data recovery and cleanup later (`RemovalPolicy.RETAIN`). In some
	// cases, a snapshot can be taken of the resource prior to deletion
	// (`RemovalPolicy.SNAPSHOT`). A list of resources that support this policy
	// can be found in the following link:.
	// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html#aws-attribute-deletionpolicy-options
	//
	ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions)
	// Returns a token for an runtime attribute of this resource.
	//
	// Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility
	// in case there is no generated attribute.
	GetAtt(attributeName *string, typeHint awscdk.ResolutionTypeHint) awscdk.Reference
	// Retrieve a value value from the CloudFormation Resource Metadata.
	// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html
	//
	// Note that this is a different set of metadata from CDK node metadata; this
	// metadata ends up in the stack template under the resource, whereas CDK
	// node metadata ends up in the Cloud Assembly.
	//
	GetMetadata(key *string) interface{}
	// Examines the CloudFormation resource and discloses attributes.
	Inspect(inspector awscdk.TreeInspector)
	// Retrieves an array of resources this resource depends on.
	//
	// This assembles dependencies on resources across stacks (including nested stacks)
	// automatically.
	ObtainDependencies() *[]interface{}
	// Get a shallow copy of dependencies between this resource and other resources in the same stack.
	ObtainResourceDependencies() *[]awscdk.CfnResource
	// Overrides the auto-generated logical ID with a specific ID.
	OverrideLogicalId(newLogicalId *string)
	// Indicates that this resource no longer depends on another resource.
	//
	// This can be used for resources across stacks (including nested stacks)
	// and the dependency will automatically be removed from the relevant scope.
	RemoveDependency(target awscdk.CfnResource)
	RenderProperties(props *map[string]interface{}) *map[string]interface{}
	// Replaces one dependency with another.
	ReplaceDependency(target awscdk.CfnResource, newTarget awscdk.CfnResource)
	// Can be overridden by subclasses to determine if this resource will be rendered into the cloudformation template.
	//
	// Returns: `true` if the resource should be included or `false` is the resource
	// should be omitted.
	ShouldSynthesize() *bool
	// Returns a string representation of this construct.
	//
	// Returns: a string representation of this resource.
	ToString() *string
	ValidateProperties(_properties interface{})
}

Instantiates a capability based on the specified parameters.

A trading capability contains the information required to transform incoming EDI documents into JSON or XML outputs.

Example:

// 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"

cfnCapability := awscdk.Aws_b2bi.NewCfnCapability(this, jsii.String("MyCfnCapability"), &CfnCapabilityProps{
	Configuration: &CapabilityConfigurationProperty{
		Edi: &EdiConfigurationProperty{
			InputLocation: &S3LocationProperty{
				BucketName: jsii.String("bucketName"),
				Key: jsii.String("key"),
			},
			OutputLocation: &S3LocationProperty{
				BucketName: jsii.String("bucketName"),
				Key: jsii.String("key"),
			},
			TransformerId: jsii.String("transformerId"),
			Type: &EdiTypeProperty{
				X12Details: &X12DetailsProperty{
					TransactionSet: jsii.String("transactionSet"),
					Version: jsii.String("version"),
				},
			},

			// the properties below are optional
			CapabilityDirection: jsii.String("capabilityDirection"),
		},
	},
	Name: jsii.String("name"),
	Type: jsii.String("type"),

	// the properties below are optional
	InstructionsDocuments: []interface{}{
		&S3LocationProperty{
			BucketName: jsii.String("bucketName"),
			Key: jsii.String("key"),
		},
	},
	Tags: []CfnTag{
		&CfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
})

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-b2bi-capability.html

func NewCfnCapability

func NewCfnCapability(scope constructs.Construct, id *string, props *CfnCapabilityProps) CfnCapability

Create a new `AWS::B2BI::Capability`.

type CfnCapabilityProps

type CfnCapabilityProps struct {
	// Specifies a structure that contains the details for a capability.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-b2bi-capability.html#cfn-b2bi-capability-configuration
	//
	Configuration interface{} `field:"required" json:"configuration" yaml:"configuration"`
	// The display name of the capability.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-b2bi-capability.html#cfn-b2bi-capability-name
	//
	Name *string `field:"required" json:"name" yaml:"name"`
	// Returns the type of the capability.
	//
	// Currently, only `edi` is supported.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-b2bi-capability.html#cfn-b2bi-capability-type
	//
	Type *string `field:"required" json:"type" yaml:"type"`
	// Specifies one or more locations in Amazon S3, each specifying an EDI document that can be used with this capability.
	//
	// Each item contains the name of the bucket and the key, to identify the document's location.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-b2bi-capability.html#cfn-b2bi-capability-instructionsdocuments
	//
	InstructionsDocuments interface{} `field:"optional" json:"instructionsDocuments" yaml:"instructionsDocuments"`
	// Specifies the key-value pairs assigned to ARNs that you can use to group and search for resources by type.
	//
	// You can attach this metadata to resources (capabilities, partnerships, and so on) for any purpose.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-b2bi-capability.html#cfn-b2bi-capability-tags
	//
	Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"`
}

Properties for defining a `CfnCapability`.

Example:

// 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"

cfnCapabilityProps := &CfnCapabilityProps{
	Configuration: &CapabilityConfigurationProperty{
		Edi: &EdiConfigurationProperty{
			InputLocation: &S3LocationProperty{
				BucketName: jsii.String("bucketName"),
				Key: jsii.String("key"),
			},
			OutputLocation: &S3LocationProperty{
				BucketName: jsii.String("bucketName"),
				Key: jsii.String("key"),
			},
			TransformerId: jsii.String("transformerId"),
			Type: &EdiTypeProperty{
				X12Details: &X12DetailsProperty{
					TransactionSet: jsii.String("transactionSet"),
					Version: jsii.String("version"),
				},
			},

			// the properties below are optional
			CapabilityDirection: jsii.String("capabilityDirection"),
		},
	},
	Name: jsii.String("name"),
	Type: jsii.String("type"),

	// the properties below are optional
	InstructionsDocuments: []interface{}{
		&S3LocationProperty{
			BucketName: jsii.String("bucketName"),
			Key: jsii.String("key"),
		},
	},
	Tags: []CfnTag{
		&CfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-b2bi-capability.html

type CfnCapability_CapabilityConfigurationProperty

type CfnCapability_CapabilityConfigurationProperty struct {
	// An EDI (electronic data interchange) configuration object.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-capability-capabilityconfiguration.html#cfn-b2bi-capability-capabilityconfiguration-edi
	//
	Edi interface{} `field:"required" json:"edi" yaml:"edi"`
}

A capability object.

Currently, only EDI (electronic data interchange) capabilities are supported. A trading capability contains the information required to transform incoming EDI documents into JSON or XML outputs.

Example:

// 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"

capabilityConfigurationProperty := &CapabilityConfigurationProperty{
	Edi: &EdiConfigurationProperty{
		InputLocation: &S3LocationProperty{
			BucketName: jsii.String("bucketName"),
			Key: jsii.String("key"),
		},
		OutputLocation: &S3LocationProperty{
			BucketName: jsii.String("bucketName"),
			Key: jsii.String("key"),
		},
		TransformerId: jsii.String("transformerId"),
		Type: &EdiTypeProperty{
			X12Details: &X12DetailsProperty{
				TransactionSet: jsii.String("transactionSet"),
				Version: jsii.String("version"),
			},
		},

		// the properties below are optional
		CapabilityDirection: jsii.String("capabilityDirection"),
	},
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-capability-capabilityconfiguration.html

type CfnCapability_EdiConfigurationProperty

type CfnCapability_EdiConfigurationProperty struct {
	// Contains the Amazon S3 bucket and prefix for the location of the input file, which is contained in an `S3Location` object.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-capability-ediconfiguration.html#cfn-b2bi-capability-ediconfiguration-inputlocation
	//
	InputLocation interface{} `field:"required" json:"inputLocation" yaml:"inputLocation"`
	// Contains the Amazon S3 bucket and prefix for the location of the output file, which is contained in an `S3Location` object.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-capability-ediconfiguration.html#cfn-b2bi-capability-ediconfiguration-outputlocation
	//
	OutputLocation interface{} `field:"required" json:"outputLocation" yaml:"outputLocation"`
	// Returns the system-assigned unique identifier for the transformer.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-capability-ediconfiguration.html#cfn-b2bi-capability-ediconfiguration-transformerid
	//
	TransformerId *string `field:"required" json:"transformerId" yaml:"transformerId"`
	// Returns the type of the capability.
	//
	// Currently, only `edi` is supported.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-capability-ediconfiguration.html#cfn-b2bi-capability-ediconfiguration-type
	//
	Type interface{} `field:"required" json:"type" yaml:"type"`
	// Specifies whether this is capability is for inbound or outbound transformations.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-capability-ediconfiguration.html#cfn-b2bi-capability-ediconfiguration-capabilitydirection
	//
	CapabilityDirection *string `field:"optional" json:"capabilityDirection" yaml:"capabilityDirection"`
}

Specifies the details for the EDI (electronic data interchange) transformation.

Example:

// 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"

ediConfigurationProperty := &EdiConfigurationProperty{
	InputLocation: &S3LocationProperty{
		BucketName: jsii.String("bucketName"),
		Key: jsii.String("key"),
	},
	OutputLocation: &S3LocationProperty{
		BucketName: jsii.String("bucketName"),
		Key: jsii.String("key"),
	},
	TransformerId: jsii.String("transformerId"),
	Type: &EdiTypeProperty{
		X12Details: &X12DetailsProperty{
			TransactionSet: jsii.String("transactionSet"),
			Version: jsii.String("version"),
		},
	},

	// the properties below are optional
	CapabilityDirection: jsii.String("capabilityDirection"),
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-capability-ediconfiguration.html

type CfnCapability_EdiTypeProperty

type CfnCapability_EdiTypeProperty struct {
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-capability-editype.html#cfn-b2bi-capability-editype-x12details
	//
	X12Details interface{} `field:"required" json:"x12Details" yaml:"x12Details"`
}

Example:

// 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"

ediTypeProperty := &EdiTypeProperty{
	X12Details: &X12DetailsProperty{
		TransactionSet: jsii.String("transactionSet"),
		Version: jsii.String("version"),
	},
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-capability-editype.html

type CfnCapability_S3LocationProperty

type CfnCapability_S3LocationProperty struct {
	// Specifies the name of the Amazon S3 bucket.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-capability-s3location.html#cfn-b2bi-capability-s3location-bucketname
	//
	BucketName *string `field:"optional" json:"bucketName" yaml:"bucketName"`
	// Specifies the Amazon S3 key for the file location.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-capability-s3location.html#cfn-b2bi-capability-s3location-key
	//
	Key *string `field:"optional" json:"key" yaml:"key"`
}

Specifies the details for the Amazon S3 file location that is being used with AWS B2B Data Interchange.

File locations in Amazon S3 are identified using a combination of the bucket and key.

Example:

// 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"

s3LocationProperty := &S3LocationProperty{
	BucketName: jsii.String("bucketName"),
	Key: jsii.String("key"),
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-capability-s3location.html

type CfnCapability_X12DetailsProperty

type CfnCapability_X12DetailsProperty struct {
	// Returns an enumerated type where each value identifies an X12 transaction set.
	//
	// Transaction sets are maintained by the X12 Accredited Standards Committee.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-capability-x12details.html#cfn-b2bi-capability-x12details-transactionset
	//
	TransactionSet *string `field:"optional" json:"transactionSet" yaml:"transactionSet"`
	// Returns the version to use for the specified X12 transaction set.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-capability-x12details.html#cfn-b2bi-capability-x12details-version
	//
	Version *string `field:"optional" json:"version" yaml:"version"`
}

A structure that contains the X12 transaction set and version.

The X12 structure is used when the system transforms an EDI (electronic data interchange) file.

> If an EDI input file contains more than one transaction, each transaction must have the same transaction set and version, for example 214/4010. If not, the transformer cannot parse the file.

Example:

// 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"

x12DetailsProperty := &X12DetailsProperty{
	TransactionSet: jsii.String("transactionSet"),
	Version: jsii.String("version"),
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-capability-x12details.html

type CfnPartnership

type CfnPartnership interface {
	awscdk.CfnResource
	awscdk.IInspectable
	interfacesawsb2bi.IPartnershipRef
	awscdk.ITaggableV2
	// Returns a timestamp for creation date and time of the partnership.
	AttrCreatedAt() *string
	// Returns a timestamp that identifies the most recent date and time that the partnership was modified.
	AttrModifiedAt() *string
	// Returns an Amazon Resource Name (ARN) for a specific AWS resource, such as a capability, partnership, profile, or transformer.
	AttrPartnershipArn() *string
	// Returns the unique, system-generated identifier for a partnership.
	AttrPartnershipId() *string
	// Returns the unique, system-generated identifier for a trading partner.
	AttrTradingPartnerId() *string
	// Returns one or more capabilities associated with this partnership.
	Capabilities() *[]*string
	SetCapabilities(val *[]*string)
	// Contains the details for an Outbound EDI capability.
	CapabilityOptions() interface{}
	SetCapabilityOptions(val interface{})
	// Tag Manager which manages the tags for this resource.
	CdkTagManager() awscdk.TagManager
	// Options for this resource, such as condition, update policy etc.
	CfnOptions() awscdk.ICfnResourceOptions
	CfnProperties() *map[string]interface{}
	// AWS resource type.
	CfnResourceType() *string
	// Returns: the stack trace of the point where this Resource was created from, sourced
	// from the +metadata+ entry typed +aws:cdk:logicalId+, and with the bottom-most
	// node +internal+ entries filtered.
	CreationStack() *[]*string
	// Specifies the email address associated with this trading partner.
	Email() *string
	SetEmail(val *string)
	Env() *interfaces.ResourceEnvironment
	// The logical ID for this CloudFormation stack element.
	//
	// The logical ID of the element
	// is calculated from the path of the resource node in the construct tree.
	//
	// To override this value, use `overrideLogicalId(newLogicalId)`.
	//
	// Returns: the logical ID as a stringified token. This value will only get
	// resolved during synthesis.
	LogicalId() *string
	// Returns the name of the partnership.
	Name() *string
	SetName(val *string)
	// The tree node.
	Node() constructs.Node
	// A reference to a Partnership resource.
	PartnershipRef() *interfacesawsb2bi.PartnershipReference
	// Specifies the phone number associated with the partnership.
	Phone() *string
	SetPhone(val *string)
	// Returns the unique, system-generated identifier for the profile connected to this partnership.
	ProfileId() *string
	SetProfileId(val *string)
	// Return a string that will be resolved to a CloudFormation `{ Ref }` for this element.
	//
	// If, by any chance, the intrinsic reference of a resource is not a string, you could
	// coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`.
	Ref() *string
	// The stack in which this element is defined.
	//
	// CfnElements must be defined within a stack scope (directly or indirectly).
	Stack() awscdk.Stack
	// A key-value pair for a specific partnership.
	Tags() *[]*awscdk.CfnTag
	SetTags(val *[]*awscdk.CfnTag)
	// Deprecated.
	// Deprecated: use `updatedProperties`
	//
	// Return properties modified after initiation
	//
	// Resources that expose mutable properties should override this function to
	// collect and return the properties object for this resource.
	UpdatedProperites() *map[string]interface{}
	// Return properties modified after initiation.
	//
	// Resources that expose mutable properties should override this function to
	// collect and return the properties object for this resource.
	UpdatedProperties() *map[string]interface{}
	// Syntactic sugar for `addOverride(path, undefined)`.
	AddDeletionOverride(path *string)
	// Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
	//
	// This can be used for resources across stacks (or nested stack) boundaries
	// and the dependency will automatically be transferred to the relevant scope.
	AddDependency(target awscdk.CfnResource)
	// Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
	// Deprecated: use addDependency.
	AddDependsOn(target awscdk.CfnResource)
	// Add a value to the CloudFormation Resource Metadata.
	// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html
	//
	// Note that this is a different set of metadata from CDK node metadata; this
	// metadata ends up in the stack template under the resource, whereas CDK
	// node metadata ends up in the Cloud Assembly.
	//
	AddMetadata(key *string, value interface{})
	// Adds an override to the synthesized CloudFormation resource.
	//
	// To add a
	// property override, either use `addPropertyOverride` or prefix `path` with
	// "Properties." (i.e. `Properties.TopicName`).
	//
	// If the override is nested, separate each nested level using a dot (.) in the path parameter.
	// If there is an array as part of the nesting, specify the index in the path.
	//
	// To include a literal `.` in the property name, prefix with a `\`. In most
	// programming languages you will need to write this as `"\\."` because the
	// `\` itself will need to be escaped.
	//
	// For example,
	// “`typescript
	// cfnResource.addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']);
	// cfnResource.addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE');
	// “`
	// would add the overrides
	// “`json
	// "Properties": {
	//   "GlobalSecondaryIndexes": [
	//     {
	//       "Projection": {
	//         "NonKeyAttributes": [ "myattribute" ]
	//         ...
	//       }
	//       ...
	//     },
	//     {
	//       "ProjectionType": "INCLUDE"
	//       ...
	//     },
	//   ]
	//   ...
	// }
	// “`
	//
	// The `value` argument to `addOverride` will not be processed or translated
	// in any way. Pass raw JSON values in here with the correct capitalization
	// for CloudFormation. If you pass CDK classes or structs, they will be
	// rendered with lowercased key names, and CloudFormation will reject the
	// template.
	AddOverride(path *string, value interface{})
	// Adds an override that deletes the value of a property from the resource definition.
	AddPropertyDeletionOverride(propertyPath *string)
	// Adds an override to a resource property.
	//
	// Syntactic sugar for `addOverride("Properties.<...>", value)`.
	AddPropertyOverride(propertyPath *string, value interface{})
	// Sets the deletion policy of the resource based on the removal policy specified.
	//
	// The Removal Policy controls what happens to this resource when it stops
	// being managed by CloudFormation, either because you've removed it from the
	// CDK application or because you've made a change that requires the resource
	// to be replaced.
	//
	// The resource can be deleted (`RemovalPolicy.DESTROY`), or left in your AWS
	// account for data recovery and cleanup later (`RemovalPolicy.RETAIN`). In some
	// cases, a snapshot can be taken of the resource prior to deletion
	// (`RemovalPolicy.SNAPSHOT`). A list of resources that support this policy
	// can be found in the following link:.
	// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html#aws-attribute-deletionpolicy-options
	//
	ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions)
	// Returns a token for an runtime attribute of this resource.
	//
	// Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility
	// in case there is no generated attribute.
	GetAtt(attributeName *string, typeHint awscdk.ResolutionTypeHint) awscdk.Reference
	// Retrieve a value value from the CloudFormation Resource Metadata.
	// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html
	//
	// Note that this is a different set of metadata from CDK node metadata; this
	// metadata ends up in the stack template under the resource, whereas CDK
	// node metadata ends up in the Cloud Assembly.
	//
	GetMetadata(key *string) interface{}
	// Examines the CloudFormation resource and discloses attributes.
	Inspect(inspector awscdk.TreeInspector)
	// Retrieves an array of resources this resource depends on.
	//
	// This assembles dependencies on resources across stacks (including nested stacks)
	// automatically.
	ObtainDependencies() *[]interface{}
	// Get a shallow copy of dependencies between this resource and other resources in the same stack.
	ObtainResourceDependencies() *[]awscdk.CfnResource
	// Overrides the auto-generated logical ID with a specific ID.
	OverrideLogicalId(newLogicalId *string)
	// Indicates that this resource no longer depends on another resource.
	//
	// This can be used for resources across stacks (including nested stacks)
	// and the dependency will automatically be removed from the relevant scope.
	RemoveDependency(target awscdk.CfnResource)
	RenderProperties(props *map[string]interface{}) *map[string]interface{}
	// Replaces one dependency with another.
	ReplaceDependency(target awscdk.CfnResource, newTarget awscdk.CfnResource)
	// Can be overridden by subclasses to determine if this resource will be rendered into the cloudformation template.
	//
	// Returns: `true` if the resource should be included or `false` is the resource
	// should be omitted.
	ShouldSynthesize() *bool
	// Returns a string representation of this construct.
	//
	// Returns: a string representation of this resource.
	ToString() *string
	ValidateProperties(_properties interface{})
}

Creates a partnership between a customer and a trading partner, based on the supplied parameters.

A partnership represents the connection between you and your trading partner. It ties together a profile and one or more trading capabilities.

Example:

// 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"

cfnPartnership := awscdk.Aws_b2bi.NewCfnPartnership(this, jsii.String("MyCfnPartnership"), &CfnPartnershipProps{
	Capabilities: []*string{
		jsii.String("capabilities"),
	},
	Email: jsii.String("email"),
	Name: jsii.String("name"),
	ProfileId: jsii.String("profileId"),

	// the properties below are optional
	CapabilityOptions: &CapabilityOptionsProperty{
		InboundEdi: &InboundEdiOptionsProperty{
			X12: &X12InboundEdiOptionsProperty{
				AcknowledgmentOptions: &X12AcknowledgmentOptionsProperty{
					FunctionalAcknowledgment: jsii.String("functionalAcknowledgment"),
					TechnicalAcknowledgment: jsii.String("technicalAcknowledgment"),
				},
			},
		},
		OutboundEdi: &OutboundEdiOptionsProperty{
			X12: &X12EnvelopeProperty{
				Common: &X12OutboundEdiHeadersProperty{
					ControlNumbers: &X12ControlNumbersProperty{
						StartingFunctionalGroupControlNumber: jsii.Number(123),
						StartingInterchangeControlNumber: jsii.Number(123),
						StartingTransactionSetControlNumber: jsii.Number(123),
					},
					Delimiters: &X12DelimitersProperty{
						ComponentSeparator: jsii.String("componentSeparator"),
						DataElementSeparator: jsii.String("dataElementSeparator"),
						SegmentTerminator: jsii.String("segmentTerminator"),
					},
					FunctionalGroupHeaders: &X12FunctionalGroupHeadersProperty{
						ApplicationReceiverCode: jsii.String("applicationReceiverCode"),
						ApplicationSenderCode: jsii.String("applicationSenderCode"),
						ResponsibleAgencyCode: jsii.String("responsibleAgencyCode"),
					},
					Gs05TimeFormat: jsii.String("gs05TimeFormat"),
					InterchangeControlHeaders: &X12InterchangeControlHeadersProperty{
						AcknowledgmentRequestedCode: jsii.String("acknowledgmentRequestedCode"),
						ReceiverId: jsii.String("receiverId"),
						ReceiverIdQualifier: jsii.String("receiverIdQualifier"),
						RepetitionSeparator: jsii.String("repetitionSeparator"),
						SenderId: jsii.String("senderId"),
						SenderIdQualifier: jsii.String("senderIdQualifier"),
						UsageIndicatorCode: jsii.String("usageIndicatorCode"),
					},
					ValidateEdi: jsii.Boolean(false),
				},
				WrapOptions: &WrapOptionsProperty{
					LineLength: jsii.Number(123),
					LineTerminator: jsii.String("lineTerminator"),
					WrapBy: jsii.String("wrapBy"),
				},
			},
		},
	},
	Phone: jsii.String("phone"),
	Tags: []CfnTag{
		&CfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
})

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-b2bi-partnership.html

func NewCfnPartnership

func NewCfnPartnership(scope constructs.Construct, id *string, props *CfnPartnershipProps) CfnPartnership

Create a new `AWS::B2BI::Partnership`.

type CfnPartnershipProps

type CfnPartnershipProps struct {
	// Returns one or more capabilities associated with this partnership.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-b2bi-partnership.html#cfn-b2bi-partnership-capabilities
	//
	Capabilities *[]*string `field:"required" json:"capabilities" yaml:"capabilities"`
	// Specifies the email address associated with this trading partner.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-b2bi-partnership.html#cfn-b2bi-partnership-email
	//
	Email *string `field:"required" json:"email" yaml:"email"`
	// Returns the name of the partnership.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-b2bi-partnership.html#cfn-b2bi-partnership-name
	//
	Name *string `field:"required" json:"name" yaml:"name"`
	// Returns the unique, system-generated identifier for the profile connected to this partnership.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-b2bi-partnership.html#cfn-b2bi-partnership-profileid
	//
	ProfileId *string `field:"required" json:"profileId" yaml:"profileId"`
	// Contains the details for an Outbound EDI capability.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-b2bi-partnership.html#cfn-b2bi-partnership-capabilityoptions
	//
	CapabilityOptions interface{} `field:"optional" json:"capabilityOptions" yaml:"capabilityOptions"`
	// Specifies the phone number associated with the partnership.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-b2bi-partnership.html#cfn-b2bi-partnership-phone
	//
	Phone *string `field:"optional" json:"phone" yaml:"phone"`
	// A key-value pair for a specific partnership.
	//
	// Tags are metadata that you can use to search for and group capabilities for various purposes.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-b2bi-partnership.html#cfn-b2bi-partnership-tags
	//
	Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"`
}

Properties for defining a `CfnPartnership`.

Example:

// 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"

cfnPartnershipProps := &CfnPartnershipProps{
	Capabilities: []*string{
		jsii.String("capabilities"),
	},
	Email: jsii.String("email"),
	Name: jsii.String("name"),
	ProfileId: jsii.String("profileId"),

	// the properties below are optional
	CapabilityOptions: &CapabilityOptionsProperty{
		InboundEdi: &InboundEdiOptionsProperty{
			X12: &X12InboundEdiOptionsProperty{
				AcknowledgmentOptions: &X12AcknowledgmentOptionsProperty{
					FunctionalAcknowledgment: jsii.String("functionalAcknowledgment"),
					TechnicalAcknowledgment: jsii.String("technicalAcknowledgment"),
				},
			},
		},
		OutboundEdi: &OutboundEdiOptionsProperty{
			X12: &X12EnvelopeProperty{
				Common: &X12OutboundEdiHeadersProperty{
					ControlNumbers: &X12ControlNumbersProperty{
						StartingFunctionalGroupControlNumber: jsii.Number(123),
						StartingInterchangeControlNumber: jsii.Number(123),
						StartingTransactionSetControlNumber: jsii.Number(123),
					},
					Delimiters: &X12DelimitersProperty{
						ComponentSeparator: jsii.String("componentSeparator"),
						DataElementSeparator: jsii.String("dataElementSeparator"),
						SegmentTerminator: jsii.String("segmentTerminator"),
					},
					FunctionalGroupHeaders: &X12FunctionalGroupHeadersProperty{
						ApplicationReceiverCode: jsii.String("applicationReceiverCode"),
						ApplicationSenderCode: jsii.String("applicationSenderCode"),
						ResponsibleAgencyCode: jsii.String("responsibleAgencyCode"),
					},
					Gs05TimeFormat: jsii.String("gs05TimeFormat"),
					InterchangeControlHeaders: &X12InterchangeControlHeadersProperty{
						AcknowledgmentRequestedCode: jsii.String("acknowledgmentRequestedCode"),
						ReceiverId: jsii.String("receiverId"),
						ReceiverIdQualifier: jsii.String("receiverIdQualifier"),
						RepetitionSeparator: jsii.String("repetitionSeparator"),
						SenderId: jsii.String("senderId"),
						SenderIdQualifier: jsii.String("senderIdQualifier"),
						UsageIndicatorCode: jsii.String("usageIndicatorCode"),
					},
					ValidateEdi: jsii.Boolean(false),
				},
				WrapOptions: &WrapOptionsProperty{
					LineLength: jsii.Number(123),
					LineTerminator: jsii.String("lineTerminator"),
					WrapBy: jsii.String("wrapBy"),
				},
			},
		},
	},
	Phone: jsii.String("phone"),
	Tags: []CfnTag{
		&CfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-b2bi-partnership.html

type CfnPartnership_CapabilityOptionsProperty added in v2.161.0

type CfnPartnership_CapabilityOptionsProperty struct {
	// A structure that contains the inbound EDI options for the capability.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-capabilityoptions.html#cfn-b2bi-partnership-capabilityoptions-inboundedi
	//
	InboundEdi interface{} `field:"optional" json:"inboundEdi" yaml:"inboundEdi"`
	// A structure that contains the outbound EDI options.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-capabilityoptions.html#cfn-b2bi-partnership-capabilityoptions-outboundedi
	//
	OutboundEdi interface{} `field:"optional" json:"outboundEdi" yaml:"outboundEdi"`
}

Contains the details for an Outbound EDI capability.

Example:

// 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"

capabilityOptionsProperty := &CapabilityOptionsProperty{
	InboundEdi: &InboundEdiOptionsProperty{
		X12: &X12InboundEdiOptionsProperty{
			AcknowledgmentOptions: &X12AcknowledgmentOptionsProperty{
				FunctionalAcknowledgment: jsii.String("functionalAcknowledgment"),
				TechnicalAcknowledgment: jsii.String("technicalAcknowledgment"),
			},
		},
	},
	OutboundEdi: &OutboundEdiOptionsProperty{
		X12: &X12EnvelopeProperty{
			Common: &X12OutboundEdiHeadersProperty{
				ControlNumbers: &X12ControlNumbersProperty{
					StartingFunctionalGroupControlNumber: jsii.Number(123),
					StartingInterchangeControlNumber: jsii.Number(123),
					StartingTransactionSetControlNumber: jsii.Number(123),
				},
				Delimiters: &X12DelimitersProperty{
					ComponentSeparator: jsii.String("componentSeparator"),
					DataElementSeparator: jsii.String("dataElementSeparator"),
					SegmentTerminator: jsii.String("segmentTerminator"),
				},
				FunctionalGroupHeaders: &X12FunctionalGroupHeadersProperty{
					ApplicationReceiverCode: jsii.String("applicationReceiverCode"),
					ApplicationSenderCode: jsii.String("applicationSenderCode"),
					ResponsibleAgencyCode: jsii.String("responsibleAgencyCode"),
				},
				Gs05TimeFormat: jsii.String("gs05TimeFormat"),
				InterchangeControlHeaders: &X12InterchangeControlHeadersProperty{
					AcknowledgmentRequestedCode: jsii.String("acknowledgmentRequestedCode"),
					ReceiverId: jsii.String("receiverId"),
					ReceiverIdQualifier: jsii.String("receiverIdQualifier"),
					RepetitionSeparator: jsii.String("repetitionSeparator"),
					SenderId: jsii.String("senderId"),
					SenderIdQualifier: jsii.String("senderIdQualifier"),
					UsageIndicatorCode: jsii.String("usageIndicatorCode"),
				},
				ValidateEdi: jsii.Boolean(false),
			},
			WrapOptions: &WrapOptionsProperty{
				LineLength: jsii.Number(123),
				LineTerminator: jsii.String("lineTerminator"),
				WrapBy: jsii.String("wrapBy"),
			},
		},
	},
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-capabilityoptions.html

type CfnPartnership_InboundEdiOptionsProperty added in v2.203.0

type CfnPartnership_InboundEdiOptionsProperty struct {
	// A structure that contains X12-specific options for processing inbound X12 EDI files.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-inboundedioptions.html#cfn-b2bi-partnership-inboundedioptions-x12
	//
	X12 interface{} `field:"optional" json:"x12" yaml:"x12"`
}

Contains options for processing inbound EDI files.

These options allow for customizing how incoming EDI documents are processed.

Example:

// 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"

inboundEdiOptionsProperty := &InboundEdiOptionsProperty{
	X12: &X12InboundEdiOptionsProperty{
		AcknowledgmentOptions: &X12AcknowledgmentOptionsProperty{
			FunctionalAcknowledgment: jsii.String("functionalAcknowledgment"),
			TechnicalAcknowledgment: jsii.String("technicalAcknowledgment"),
		},
	},
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-inboundedioptions.html

type CfnPartnership_OutboundEdiOptionsProperty added in v2.161.0

type CfnPartnership_OutboundEdiOptionsProperty struct {
	// A structure that contains an X12 envelope structure.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-outboundedioptions.html#cfn-b2bi-partnership-outboundedioptions-x12
	//
	X12 interface{} `field:"required" json:"x12" yaml:"x12"`
}

A container for outbound EDI options.

Example:

// 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"

outboundEdiOptionsProperty := &OutboundEdiOptionsProperty{
	X12: &X12EnvelopeProperty{
		Common: &X12OutboundEdiHeadersProperty{
			ControlNumbers: &X12ControlNumbersProperty{
				StartingFunctionalGroupControlNumber: jsii.Number(123),
				StartingInterchangeControlNumber: jsii.Number(123),
				StartingTransactionSetControlNumber: jsii.Number(123),
			},
			Delimiters: &X12DelimitersProperty{
				ComponentSeparator: jsii.String("componentSeparator"),
				DataElementSeparator: jsii.String("dataElementSeparator"),
				SegmentTerminator: jsii.String("segmentTerminator"),
			},
			FunctionalGroupHeaders: &X12FunctionalGroupHeadersProperty{
				ApplicationReceiverCode: jsii.String("applicationReceiverCode"),
				ApplicationSenderCode: jsii.String("applicationSenderCode"),
				ResponsibleAgencyCode: jsii.String("responsibleAgencyCode"),
			},
			Gs05TimeFormat: jsii.String("gs05TimeFormat"),
			InterchangeControlHeaders: &X12InterchangeControlHeadersProperty{
				AcknowledgmentRequestedCode: jsii.String("acknowledgmentRequestedCode"),
				ReceiverId: jsii.String("receiverId"),
				ReceiverIdQualifier: jsii.String("receiverIdQualifier"),
				RepetitionSeparator: jsii.String("repetitionSeparator"),
				SenderId: jsii.String("senderId"),
				SenderIdQualifier: jsii.String("senderIdQualifier"),
				UsageIndicatorCode: jsii.String("usageIndicatorCode"),
			},
			ValidateEdi: jsii.Boolean(false),
		},
		WrapOptions: &WrapOptionsProperty{
			LineLength: jsii.Number(123),
			LineTerminator: jsii.String("lineTerminator"),
			WrapBy: jsii.String("wrapBy"),
		},
	},
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-outboundedioptions.html

type CfnPartnership_WrapOptionsProperty added in v2.203.0

type CfnPartnership_WrapOptionsProperty struct {
	// Specifies the maximum length of a line before wrapping occurs.
	//
	// This value is used when `wrapBy` is set to `LINE_LENGTH` .
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-wrapoptions.html#cfn-b2bi-partnership-wrapoptions-linelength
	//
	LineLength *float64 `field:"optional" json:"lineLength" yaml:"lineLength"`
	// Specifies the character sequence used to terminate lines when wrapping. Valid values:.
	//
	// - `CRLF` : carriage return and line feed
	// - `LF` : line feed)
	// - `CR` : carriage return.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-wrapoptions.html#cfn-b2bi-partnership-wrapoptions-lineterminator
	//
	LineTerminator *string `field:"optional" json:"lineTerminator" yaml:"lineTerminator"`
	// Specifies the method used for wrapping lines in the EDI output. Valid values:.
	//
	// - `SEGMENT` : Wraps by segment.
	// - `ONE_LINE` : Indicates that the entire content is on a single line.
	//
	// > When you specify `ONE_LINE` , do not provide either the line length nor the line terminator value.
	// - `LINE_LENGTH` : Wraps by character count, as specified by `lineLength` value.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-wrapoptions.html#cfn-b2bi-partnership-wrapoptions-wrapby
	//
	WrapBy *string `field:"optional" json:"wrapBy" yaml:"wrapBy"`
}

Contains options for wrapping (line folding) in X12 EDI files.

Wrapping controls how long lines are handled in the EDI output.

Example:

// 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"

wrapOptionsProperty := &WrapOptionsProperty{
	LineLength: jsii.Number(123),
	LineTerminator: jsii.String("lineTerminator"),
	WrapBy: jsii.String("wrapBy"),
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-wrapoptions.html

type CfnPartnership_X12AcknowledgmentOptionsProperty added in v2.203.0

type CfnPartnership_X12AcknowledgmentOptionsProperty struct {
	// Specifies whether functional acknowledgments (997/999) should be generated for incoming X12 transactions.
	//
	// Valid values are `DO_NOT_GENERATE` , `GENERATE_ALL_SEGMENTS` and `GENERATE_WITHOUT_TRANSACTION_SET_RESPONSE_LOOP` .
	//
	// If you choose `GENERATE_WITHOUT_TRANSACTION_SET_RESPONSE_LOOP` , AWS B2B Data Interchange skips the AK2_Loop when generating an acknowledgment document.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12acknowledgmentoptions.html#cfn-b2bi-partnership-x12acknowledgmentoptions-functionalacknowledgment
	//
	FunctionalAcknowledgment *string `field:"required" json:"functionalAcknowledgment" yaml:"functionalAcknowledgment"`
	// Specifies whether technical acknowledgments (TA1) should be generated for incoming X12 interchanges.
	//
	// Valid values are `DO_NOT_GENERATE` and `GENERATE_ALL_SEGMENTS` and.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12acknowledgmentoptions.html#cfn-b2bi-partnership-x12acknowledgmentoptions-technicalacknowledgment
	//
	TechnicalAcknowledgment *string `field:"required" json:"technicalAcknowledgment" yaml:"technicalAcknowledgment"`
}

Contains options for configuring X12 acknowledgments.

These options control how functional and technical acknowledgments are handled.

Example:

// 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"

x12AcknowledgmentOptionsProperty := &X12AcknowledgmentOptionsProperty{
	FunctionalAcknowledgment: jsii.String("functionalAcknowledgment"),
	TechnicalAcknowledgment: jsii.String("technicalAcknowledgment"),
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12acknowledgmentoptions.html

type CfnPartnership_X12ControlNumbersProperty added in v2.203.0

type CfnPartnership_X12ControlNumbersProperty struct {
	// Specifies the starting functional group control number (GS06) to use for X12 EDI generation.
	//
	// This number is incremented for each new functional group. For the GS (functional group) envelope, AWS B2B Data Interchange generates a functional group control number that is unique to the sender ID, receiver ID, and functional identifier code combination.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12controlnumbers.html#cfn-b2bi-partnership-x12controlnumbers-startingfunctionalgroupcontrolnumber
	//
	StartingFunctionalGroupControlNumber *float64 `field:"optional" json:"startingFunctionalGroupControlNumber" yaml:"startingFunctionalGroupControlNumber"`
	// Specifies the starting interchange control number (ISA13) to use for X12 EDI generation.
	//
	// This number is incremented for each new interchange. For the ISA (interchange) envelope, AWS B2B Data Interchange generates an interchange control number that is unique for the ISA05 and ISA06 (sender) & ISA07 and ISA08 (receiver) combination.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12controlnumbers.html#cfn-b2bi-partnership-x12controlnumbers-startinginterchangecontrolnumber
	//
	StartingInterchangeControlNumber *float64 `field:"optional" json:"startingInterchangeControlNumber" yaml:"startingInterchangeControlNumber"`
	// Specifies the starting transaction set control number (ST02) to use for X12 EDI generation.
	//
	// This number is incremented for each new transaction set.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12controlnumbers.html#cfn-b2bi-partnership-x12controlnumbers-startingtransactionsetcontrolnumber
	//
	StartingTransactionSetControlNumber *float64 `field:"optional" json:"startingTransactionSetControlNumber" yaml:"startingTransactionSetControlNumber"`
}

Contains configuration for X12 control numbers used in X12 EDI generation.

Control numbers are used to uniquely identify interchanges, functional groups, and transaction sets.

Example:

// 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"

x12ControlNumbersProperty := &X12ControlNumbersProperty{
	StartingFunctionalGroupControlNumber: jsii.Number(123),
	StartingInterchangeControlNumber: jsii.Number(123),
	StartingTransactionSetControlNumber: jsii.Number(123),
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12controlnumbers.html

type CfnPartnership_X12DelimitersProperty added in v2.161.0

type CfnPartnership_X12DelimitersProperty struct {
	// The component, or sub-element, separator.
	//
	// The default value is `:` (colon).
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12delimiters.html#cfn-b2bi-partnership-x12delimiters-componentseparator
	//
	ComponentSeparator *string `field:"optional" json:"componentSeparator" yaml:"componentSeparator"`
	// The data element separator.
	//
	// The default value is `*` (asterisk).
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12delimiters.html#cfn-b2bi-partnership-x12delimiters-dataelementseparator
	//
	DataElementSeparator *string `field:"optional" json:"dataElementSeparator" yaml:"dataElementSeparator"`
	// The segment terminator.
	//
	// The default value is `~` (tilde).
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12delimiters.html#cfn-b2bi-partnership-x12delimiters-segmentterminator
	//
	SegmentTerminator *string `field:"optional" json:"segmentTerminator" yaml:"segmentTerminator"`
}

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:

// 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"),
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12delimiters.html

type CfnPartnership_X12EnvelopeProperty added in v2.161.0

type CfnPartnership_X12EnvelopeProperty struct {
	// A container for the X12 outbound EDI headers.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12envelope.html#cfn-b2bi-partnership-x12envelope-common
	//
	Common interface{} `field:"optional" json:"common" yaml:"common"`
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12envelope.html#cfn-b2bi-partnership-x12envelope-wrapoptions
	//
	WrapOptions interface{} `field:"optional" json:"wrapOptions" yaml:"wrapOptions"`
}

A wrapper structure for an X12 definition object.

the X12 envelope ensures the integrity of the data and the efficiency of the information exchange. The X12 message structure has hierarchical levels. From highest to the lowest, they are:

- Interchange Envelope - Functional Group - Transaction Set.

Example:

// 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"

x12EnvelopeProperty := &X12EnvelopeProperty{
	Common: &X12OutboundEdiHeadersProperty{
		ControlNumbers: &X12ControlNumbersProperty{
			StartingFunctionalGroupControlNumber: jsii.Number(123),
			StartingInterchangeControlNumber: jsii.Number(123),
			StartingTransactionSetControlNumber: jsii.Number(123),
		},
		Delimiters: &X12DelimitersProperty{
			ComponentSeparator: jsii.String("componentSeparator"),
			DataElementSeparator: jsii.String("dataElementSeparator"),
			SegmentTerminator: jsii.String("segmentTerminator"),
		},
		FunctionalGroupHeaders: &X12FunctionalGroupHeadersProperty{
			ApplicationReceiverCode: jsii.String("applicationReceiverCode"),
			ApplicationSenderCode: jsii.String("applicationSenderCode"),
			ResponsibleAgencyCode: jsii.String("responsibleAgencyCode"),
		},
		Gs05TimeFormat: jsii.String("gs05TimeFormat"),
		InterchangeControlHeaders: &X12InterchangeControlHeadersProperty{
			AcknowledgmentRequestedCode: jsii.String("acknowledgmentRequestedCode"),
			ReceiverId: jsii.String("receiverId"),
			ReceiverIdQualifier: jsii.String("receiverIdQualifier"),
			RepetitionSeparator: jsii.String("repetitionSeparator"),
			SenderId: jsii.String("senderId"),
			SenderIdQualifier: jsii.String("senderIdQualifier"),
			UsageIndicatorCode: jsii.String("usageIndicatorCode"),
		},
		ValidateEdi: jsii.Boolean(false),
	},
	WrapOptions: &WrapOptionsProperty{
		LineLength: jsii.Number(123),
		LineTerminator: jsii.String("lineTerminator"),
		WrapBy: jsii.String("wrapBy"),
	},
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12envelope.html

type CfnPartnership_X12FunctionalGroupHeadersProperty added in v2.161.0

type CfnPartnership_X12FunctionalGroupHeadersProperty struct {
	// A value representing the code used to identify the party receiving a message, at position GS-03.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12functionalgroupheaders.html#cfn-b2bi-partnership-x12functionalgroupheaders-applicationreceivercode
	//
	ApplicationReceiverCode *string `field:"optional" json:"applicationReceiverCode" yaml:"applicationReceiverCode"`
	// A value representing the code used to identify the party transmitting a message, at position GS-02.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12functionalgroupheaders.html#cfn-b2bi-partnership-x12functionalgroupheaders-applicationsendercode
	//
	ApplicationSenderCode *string `field:"optional" json:"applicationSenderCode" yaml:"applicationSenderCode"`
	// A code that identifies the issuer of the standard, at position GS-07.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12functionalgroupheaders.html#cfn-b2bi-partnership-x12functionalgroupheaders-responsibleagencycode
	//
	ResponsibleAgencyCode *string `field:"optional" json:"responsibleAgencyCode" yaml:"responsibleAgencyCode"`
}

Part of the X12 message structure.

These are the functional group headers for the X12 EDI object.

Example:

// 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"

x12FunctionalGroupHeadersProperty := &X12FunctionalGroupHeadersProperty{
	ApplicationReceiverCode: jsii.String("applicationReceiverCode"),
	ApplicationSenderCode: jsii.String("applicationSenderCode"),
	ResponsibleAgencyCode: jsii.String("responsibleAgencyCode"),
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12functionalgroupheaders.html

type CfnPartnership_X12InboundEdiOptionsProperty added in v2.203.0

type CfnPartnership_X12InboundEdiOptionsProperty struct {
	// Specifies acknowledgment options for inbound X12 EDI files.
	//
	// These options control how functional and technical acknowledgments are handled.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12inboundedioptions.html#cfn-b2bi-partnership-x12inboundedioptions-acknowledgmentoptions
	//
	AcknowledgmentOptions interface{} `field:"optional" json:"acknowledgmentOptions" yaml:"acknowledgmentOptions"`
}

Contains options specific to processing inbound X12 EDI files.

Example:

// 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"

x12InboundEdiOptionsProperty := &X12InboundEdiOptionsProperty{
	AcknowledgmentOptions: &X12AcknowledgmentOptionsProperty{
		FunctionalAcknowledgment: jsii.String("functionalAcknowledgment"),
		TechnicalAcknowledgment: jsii.String("technicalAcknowledgment"),
	},
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12inboundedioptions.html

type CfnPartnership_X12InterchangeControlHeadersProperty added in v2.161.0

type CfnPartnership_X12InterchangeControlHeadersProperty struct {
	// Located at position ISA-14 in the header.
	//
	// The value "1" indicates that the sender is requesting an interchange acknowledgment at receipt of the interchange. The value "0" is used otherwise.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12interchangecontrolheaders.html#cfn-b2bi-partnership-x12interchangecontrolheaders-acknowledgmentrequestedcode
	//
	AcknowledgmentRequestedCode *string `field:"optional" json:"acknowledgmentRequestedCode" yaml:"acknowledgmentRequestedCode"`
	// Located at position ISA-08 in the header.
	//
	// This value (along with the `receiverIdQualifier` ) identifies the intended recipient of the interchange.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12interchangecontrolheaders.html#cfn-b2bi-partnership-x12interchangecontrolheaders-receiverid
	//
	ReceiverId *string `field:"optional" json:"receiverId" yaml:"receiverId"`
	// Located at position ISA-07 in the header.
	//
	// Qualifier for the receiver ID. Together, the ID and qualifier uniquely identify the receiving trading partner.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12interchangecontrolheaders.html#cfn-b2bi-partnership-x12interchangecontrolheaders-receiveridqualifier
	//
	ReceiverIdQualifier *string `field:"optional" json:"receiverIdQualifier" yaml:"receiverIdQualifier"`
	// Located at position ISA-11 in the header.
	//
	// This string makes it easier when you need to group similar adjacent element values together without using extra segments.
	//
	// > This parameter is only honored for version greater than 401 ( `VERSION_4010` and higher).
	// >
	// > For versions less than 401, this field is called [StandardsId](https://docs.aws.amazon.com/https://www.stedi.com/edi/x12-004010/segment/ISA#ISA-11) , in which case our service sets the value to `U` .
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12interchangecontrolheaders.html#cfn-b2bi-partnership-x12interchangecontrolheaders-repetitionseparator
	//
	RepetitionSeparator *string `field:"optional" json:"repetitionSeparator" yaml:"repetitionSeparator"`
	// Located at position ISA-06 in the header.
	//
	// This value (along with the `senderIdQualifier` ) identifies the sender of the interchange.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12interchangecontrolheaders.html#cfn-b2bi-partnership-x12interchangecontrolheaders-senderid
	//
	SenderId *string `field:"optional" json:"senderId" yaml:"senderId"`
	// Located at position ISA-05 in the header.
	//
	// Qualifier for the sender ID. Together, the ID and qualifier uniquely identify the sending trading partner.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12interchangecontrolheaders.html#cfn-b2bi-partnership-x12interchangecontrolheaders-senderidqualifier
	//
	SenderIdQualifier *string `field:"optional" json:"senderIdQualifier" yaml:"senderIdQualifier"`
	// Located at position ISA-15 in the header. Specifies how this interchange is being used:.
	//
	// - `T` indicates this interchange is for testing.
	// - `P` indicates this interchange is for production.
	// - `I` indicates this interchange is informational.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12interchangecontrolheaders.html#cfn-b2bi-partnership-x12interchangecontrolheaders-usageindicatorcode
	//
	UsageIndicatorCode *string `field:"optional" json:"usageIndicatorCode" yaml:"usageIndicatorCode"`
}

In X12, the Interchange Control Header is the first segment of an EDI document and is part of the Interchange Envelope.

It contains information about the sender and receiver, the date and time of transmission, and the X12 version being used. It also includes delivery information, such as the sender and receiver IDs.

Example:

// 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"

x12InterchangeControlHeadersProperty := &X12InterchangeControlHeadersProperty{
	AcknowledgmentRequestedCode: jsii.String("acknowledgmentRequestedCode"),
	ReceiverId: jsii.String("receiverId"),
	ReceiverIdQualifier: jsii.String("receiverIdQualifier"),
	RepetitionSeparator: jsii.String("repetitionSeparator"),
	SenderId: jsii.String("senderId"),
	SenderIdQualifier: jsii.String("senderIdQualifier"),
	UsageIndicatorCode: jsii.String("usageIndicatorCode"),
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12interchangecontrolheaders.html

type CfnPartnership_X12OutboundEdiHeadersProperty added in v2.161.0

type CfnPartnership_X12OutboundEdiHeadersProperty struct {
	// Specifies control number configuration for outbound X12 EDI headers.
	//
	// These settings determine the starting values for interchange, functional group, and transaction set control numbers.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12outboundediheaders.html#cfn-b2bi-partnership-x12outboundediheaders-controlnumbers
	//
	ControlNumbers interface{} `field:"optional" json:"controlNumbers" yaml:"controlNumbers"`
	// The delimiters, for example semicolon ( `;` ), that separates sections of the headers for the X12 object.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12outboundediheaders.html#cfn-b2bi-partnership-x12outboundediheaders-delimiters
	//
	Delimiters interface{} `field:"optional" json:"delimiters" yaml:"delimiters"`
	// The functional group headers for the X12 object.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12outboundediheaders.html#cfn-b2bi-partnership-x12outboundediheaders-functionalgroupheaders
	//
	FunctionalGroupHeaders interface{} `field:"optional" json:"functionalGroupHeaders" yaml:"functionalGroupHeaders"`
	// Specifies the time format in the GS05 element (time) of the functional group header.
	//
	// The following formats use 24-hour clock time:
	//
	// - `HHMM` - Hours and minutes
	// - `HHMMSS` - Hours, minutes, and seconds
	// - `HHMMSSDD` - Hours, minutes, seconds, and decimal seconds
	//
	// Where:
	//
	// - `HH` - Hours (00-23)
	// - `MM` - Minutes (00-59)
	// - `SS` - Seconds (00-59)
	// - `DD` - Hundredths of seconds (00-99).
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12outboundediheaders.html#cfn-b2bi-partnership-x12outboundediheaders-gs05timeformat
	//
	Gs05TimeFormat *string `field:"optional" json:"gs05TimeFormat" yaml:"gs05TimeFormat"`
	// In X12 EDI messages, delimiters are used to mark the end of segments or elements, and are defined in the interchange control header.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12outboundediheaders.html#cfn-b2bi-partnership-x12outboundediheaders-interchangecontrolheaders
	//
	InterchangeControlHeaders interface{} `field:"optional" json:"interchangeControlHeaders" yaml:"interchangeControlHeaders"`
	// Specifies whether or not to validate the EDI for this X12 object: `TRUE` or `FALSE` .
	//
	// When enabled, this performs both standard EDI validation and applies any configured custom validation rules including element length constraints, code list validations, and element requirement checks. Validation results are returned in the response validation messages.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12outboundediheaders.html#cfn-b2bi-partnership-x12outboundediheaders-validateedi
	//
	ValidateEdi interface{} `field:"optional" json:"validateEdi" yaml:"validateEdi"`
}

A structure containing the details for an outbound EDI object.

Example:

// 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"

x12OutboundEdiHeadersProperty := &X12OutboundEdiHeadersProperty{
	ControlNumbers: &X12ControlNumbersProperty{
		StartingFunctionalGroupControlNumber: jsii.Number(123),
		StartingInterchangeControlNumber: jsii.Number(123),
		StartingTransactionSetControlNumber: jsii.Number(123),
	},
	Delimiters: &X12DelimitersProperty{
		ComponentSeparator: jsii.String("componentSeparator"),
		DataElementSeparator: jsii.String("dataElementSeparator"),
		SegmentTerminator: jsii.String("segmentTerminator"),
	},
	FunctionalGroupHeaders: &X12FunctionalGroupHeadersProperty{
		ApplicationReceiverCode: jsii.String("applicationReceiverCode"),
		ApplicationSenderCode: jsii.String("applicationSenderCode"),
		ResponsibleAgencyCode: jsii.String("responsibleAgencyCode"),
	},
	Gs05TimeFormat: jsii.String("gs05TimeFormat"),
	InterchangeControlHeaders: &X12InterchangeControlHeadersProperty{
		AcknowledgmentRequestedCode: jsii.String("acknowledgmentRequestedCode"),
		ReceiverId: jsii.String("receiverId"),
		ReceiverIdQualifier: jsii.String("receiverIdQualifier"),
		RepetitionSeparator: jsii.String("repetitionSeparator"),
		SenderId: jsii.String("senderId"),
		SenderIdQualifier: jsii.String("senderIdQualifier"),
		UsageIndicatorCode: jsii.String("usageIndicatorCode"),
	},
	ValidateEdi: jsii.Boolean(false),
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12outboundediheaders.html

type CfnProfile

type CfnProfile interface {
	awscdk.CfnResource
	awscdk.IInspectable
	interfacesawsb2bi.IProfileRef
	awscdk.ITaggableV2
	// Returns the timestamp for creation date and time of the profile.
	AttrCreatedAt() *string
	// Returns the name of the logging group.
	AttrLogGroupName() *string
	// Returns the timestamp that identifies the most recent date and time that the profile was modified.
	AttrModifiedAt() *string
	// Returns an Amazon Resource Name (ARN) for the profile.
	AttrProfileArn() *string
	AttrProfileId() *string
	// Returns the name for the business associated with this profile.
	BusinessName() *string
	SetBusinessName(val *string)
	// Tag Manager which manages the tags for this resource.
	CdkTagManager() awscdk.TagManager
	// Options for this resource, such as condition, update policy etc.
	CfnOptions() awscdk.ICfnResourceOptions
	CfnProperties() *map[string]interface{}
	// AWS resource type.
	CfnResourceType() *string
	// Returns: the stack trace of the point where this Resource was created from, sourced
	// from the +metadata+ entry typed +aws:cdk:logicalId+, and with the bottom-most
	// node +internal+ entries filtered.
	CreationStack() *[]*string
	Email() *string
	SetEmail(val *string)
	Env() *interfaces.ResourceEnvironment
	// Specifies whether or not logging is enabled for this profile.
	Logging() *string
	SetLogging(val *string)
	// The logical ID for this CloudFormation stack element.
	//
	// The logical ID of the element
	// is calculated from the path of the resource node in the construct tree.
	//
	// To override this value, use `overrideLogicalId(newLogicalId)`.
	//
	// Returns: the logical ID as a stringified token. This value will only get
	// resolved during synthesis.
	LogicalId() *string
	// Returns the display name for profile.
	Name() *string
	SetName(val *string)
	// The tree node.
	Node() constructs.Node
	// Specifies the phone number associated with the profile.
	Phone() *string
	SetPhone(val *string)
	// A reference to a Profile resource.
	ProfileRef() *interfacesawsb2bi.ProfileReference
	// Return a string that will be resolved to a CloudFormation `{ Ref }` for this element.
	//
	// If, by any chance, the intrinsic reference of a resource is not a string, you could
	// coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`.
	Ref() *string
	// The stack in which this element is defined.
	//
	// CfnElements must be defined within a stack scope (directly or indirectly).
	Stack() awscdk.Stack
	// A key-value pair for a specific profile.
	Tags() *[]*awscdk.CfnTag
	SetTags(val *[]*awscdk.CfnTag)
	// Deprecated.
	// Deprecated: use `updatedProperties`
	//
	// Return properties modified after initiation
	//
	// Resources that expose mutable properties should override this function to
	// collect and return the properties object for this resource.
	UpdatedProperites() *map[string]interface{}
	// Return properties modified after initiation.
	//
	// Resources that expose mutable properties should override this function to
	// collect and return the properties object for this resource.
	UpdatedProperties() *map[string]interface{}
	// Syntactic sugar for `addOverride(path, undefined)`.
	AddDeletionOverride(path *string)
	// Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
	//
	// This can be used for resources across stacks (or nested stack) boundaries
	// and the dependency will automatically be transferred to the relevant scope.
	AddDependency(target awscdk.CfnResource)
	// Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
	// Deprecated: use addDependency.
	AddDependsOn(target awscdk.CfnResource)
	// Add a value to the CloudFormation Resource Metadata.
	// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html
	//
	// Note that this is a different set of metadata from CDK node metadata; this
	// metadata ends up in the stack template under the resource, whereas CDK
	// node metadata ends up in the Cloud Assembly.
	//
	AddMetadata(key *string, value interface{})
	// Adds an override to the synthesized CloudFormation resource.
	//
	// To add a
	// property override, either use `addPropertyOverride` or prefix `path` with
	// "Properties." (i.e. `Properties.TopicName`).
	//
	// If the override is nested, separate each nested level using a dot (.) in the path parameter.
	// If there is an array as part of the nesting, specify the index in the path.
	//
	// To include a literal `.` in the property name, prefix with a `\`. In most
	// programming languages you will need to write this as `"\\."` because the
	// `\` itself will need to be escaped.
	//
	// For example,
	// “`typescript
	// cfnResource.addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']);
	// cfnResource.addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE');
	// “`
	// would add the overrides
	// “`json
	// "Properties": {
	//   "GlobalSecondaryIndexes": [
	//     {
	//       "Projection": {
	//         "NonKeyAttributes": [ "myattribute" ]
	//         ...
	//       }
	//       ...
	//     },
	//     {
	//       "ProjectionType": "INCLUDE"
	//       ...
	//     },
	//   ]
	//   ...
	// }
	// “`
	//
	// The `value` argument to `addOverride` will not be processed or translated
	// in any way. Pass raw JSON values in here with the correct capitalization
	// for CloudFormation. If you pass CDK classes or structs, they will be
	// rendered with lowercased key names, and CloudFormation will reject the
	// template.
	AddOverride(path *string, value interface{})
	// Adds an override that deletes the value of a property from the resource definition.
	AddPropertyDeletionOverride(propertyPath *string)
	// Adds an override to a resource property.
	//
	// Syntactic sugar for `addOverride("Properties.<...>", value)`.
	AddPropertyOverride(propertyPath *string, value interface{})
	// Sets the deletion policy of the resource based on the removal policy specified.
	//
	// The Removal Policy controls what happens to this resource when it stops
	// being managed by CloudFormation, either because you've removed it from the
	// CDK application or because you've made a change that requires the resource
	// to be replaced.
	//
	// The resource can be deleted (`RemovalPolicy.DESTROY`), or left in your AWS
	// account for data recovery and cleanup later (`RemovalPolicy.RETAIN`). In some
	// cases, a snapshot can be taken of the resource prior to deletion
	// (`RemovalPolicy.SNAPSHOT`). A list of resources that support this policy
	// can be found in the following link:.
	// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html#aws-attribute-deletionpolicy-options
	//
	ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions)
	// Returns a token for an runtime attribute of this resource.
	//
	// Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility
	// in case there is no generated attribute.
	GetAtt(attributeName *string, typeHint awscdk.ResolutionTypeHint) awscdk.Reference
	// Retrieve a value value from the CloudFormation Resource Metadata.
	// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html
	//
	// Note that this is a different set of metadata from CDK node metadata; this
	// metadata ends up in the stack template under the resource, whereas CDK
	// node metadata ends up in the Cloud Assembly.
	//
	GetMetadata(key *string) interface{}
	// Examines the CloudFormation resource and discloses attributes.
	Inspect(inspector awscdk.TreeInspector)
	// Retrieves an array of resources this resource depends on.
	//
	// This assembles dependencies on resources across stacks (including nested stacks)
	// automatically.
	ObtainDependencies() *[]interface{}
	// Get a shallow copy of dependencies between this resource and other resources in the same stack.
	ObtainResourceDependencies() *[]awscdk.CfnResource
	// Overrides the auto-generated logical ID with a specific ID.
	OverrideLogicalId(newLogicalId *string)
	// Indicates that this resource no longer depends on another resource.
	//
	// This can be used for resources across stacks (including nested stacks)
	// and the dependency will automatically be removed from the relevant scope.
	RemoveDependency(target awscdk.CfnResource)
	RenderProperties(props *map[string]interface{}) *map[string]interface{}
	// Replaces one dependency with another.
	ReplaceDependency(target awscdk.CfnResource, newTarget awscdk.CfnResource)
	// Can be overridden by subclasses to determine if this resource will be rendered into the cloudformation template.
	//
	// Returns: `true` if the resource should be included or `false` is the resource
	// should be omitted.
	ShouldSynthesize() *bool
	// Returns a string representation of this construct.
	//
	// Returns: a string representation of this resource.
	ToString() *string
	ValidateProperties(_properties interface{})
}

Creates a customer profile.

You can have up to five customer profiles, each representing a distinct private network. A profile is the mechanism used to create the concept of a private network.

Example:

// 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"

cfnProfile := awscdk.Aws_b2bi.NewCfnProfile(this, jsii.String("MyCfnProfile"), &CfnProfileProps{
	BusinessName: jsii.String("businessName"),
	Logging: jsii.String("logging"),
	Name: jsii.String("name"),
	Phone: jsii.String("phone"),

	// the properties below are optional
	Email: jsii.String("email"),
	Tags: []CfnTag{
		&CfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
})

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-b2bi-profile.html

func NewCfnProfile

func NewCfnProfile(scope constructs.Construct, id *string, props *CfnProfileProps) CfnProfile

Create a new `AWS::B2BI::Profile`.

type CfnProfileProps

type CfnProfileProps struct {
	// Returns the name for the business associated with this profile.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-b2bi-profile.html#cfn-b2bi-profile-businessname
	//
	BusinessName *string `field:"required" json:"businessName" yaml:"businessName"`
	// Specifies whether or not logging is enabled for this profile.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-b2bi-profile.html#cfn-b2bi-profile-logging
	//
	Logging *string `field:"required" json:"logging" yaml:"logging"`
	// Returns the display name for profile.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-b2bi-profile.html#cfn-b2bi-profile-name
	//
	Name *string `field:"required" json:"name" yaml:"name"`
	// Specifies the phone number associated with the profile.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-b2bi-profile.html#cfn-b2bi-profile-phone
	//
	Phone *string `field:"required" json:"phone" yaml:"phone"`
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-b2bi-profile.html#cfn-b2bi-profile-email
	//
	Email *string `field:"optional" json:"email" yaml:"email"`
	// A key-value pair for a specific profile.
	//
	// Tags are metadata that you can use to search for and group capabilities for various purposes.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-b2bi-profile.html#cfn-b2bi-profile-tags
	//
	Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"`
}

Properties for defining a `CfnProfile`.

Example:

// 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"

cfnProfileProps := &CfnProfileProps{
	BusinessName: jsii.String("businessName"),
	Logging: jsii.String("logging"),
	Name: jsii.String("name"),
	Phone: jsii.String("phone"),

	// the properties below are optional
	Email: jsii.String("email"),
	Tags: []CfnTag{
		&CfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-b2bi-profile.html

type CfnTransformer

type CfnTransformer interface {
	awscdk.CfnResource
	awscdk.IInspectable
	interfacesawsb2bi.ITransformerRef
	awscdk.ITaggableV2
	// Returns a timestamp indicating when the transformer was created.
	//
	// For example, `2023-07-20T19:58:44.624Z` .
	AttrCreatedAt() *string
	// Returns a timestamp representing the date and time for the most recent change for the transformer object.
	AttrModifiedAt() *string
	// Returns an Amazon Resource Name (ARN) for a specific transformer.
	AttrTransformerArn() *string
	// The system-assigned unique identifier for the transformer.
	AttrTransformerId() *string
	// Tag Manager which manages the tags for this resource.
	CdkTagManager() awscdk.TagManager
	// Options for this resource, such as condition, update policy etc.
	CfnOptions() awscdk.ICfnResourceOptions
	CfnProperties() *map[string]interface{}
	// AWS resource type.
	CfnResourceType() *string
	// Returns: the stack trace of the point where this Resource was created from, sourced
	// from the +metadata+ entry typed +aws:cdk:logicalId+, and with the bottom-most
	// node +internal+ entries filtered.
	CreationStack() *[]*string
	// Deprecated: this property has been deprecated.
	EdiType() interface{}
	// Deprecated: this property has been deprecated.
	SetEdiType(val interface{})
	Env() *interfaces.ResourceEnvironment
	// Deprecated: this property has been deprecated.
	FileFormat() *string
	// Deprecated: this property has been deprecated.
	SetFileFormat(val *string)
	// Returns a structure that contains the format options for the transformation.
	InputConversion() interface{}
	SetInputConversion(val interface{})
	// The logical ID for this CloudFormation stack element.
	//
	// The logical ID of the element
	// is calculated from the path of the resource node in the construct tree.
	//
	// To override this value, use `overrideLogicalId(newLogicalId)`.
	//
	// Returns: the logical ID as a stringified token. This value will only get
	// resolved during synthesis.
	LogicalId() *string
	// Returns the structure that contains the mapping template and its language (either XSLT or JSONATA).
	Mapping() interface{}
	SetMapping(val interface{})
	// This shape is deprecated: This is a legacy trait.
	// Deprecated: this property has been deprecated.
	MappingTemplate() *string
	// Deprecated: this property has been deprecated.
	SetMappingTemplate(val *string)
	// Returns the descriptive name for the transformer.
	Name() *string
	SetName(val *string)
	// The tree node.
	Node() constructs.Node
	// Returns the `OutputConversion` object, which contains the format options for the outbound transformation.
	OutputConversion() interface{}
	SetOutputConversion(val interface{})
	// Return a string that will be resolved to a CloudFormation `{ Ref }` for this element.
	//
	// If, by any chance, the intrinsic reference of a resource is not a string, you could
	// coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`.
	Ref() *string
	// This shape is deprecated: This is a legacy trait.
	// Deprecated: this property has been deprecated.
	SampleDocument() *string
	// Deprecated: this property has been deprecated.
	SetSampleDocument(val *string)
	// 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.
	SampleDocuments() interface{}
	SetSampleDocuments(val interface{})
	// The stack in which this element is defined.
	//
	// CfnElements must be defined within a stack scope (directly or indirectly).
	Stack() awscdk.Stack
	// Returns the state of the newly created transformer.
	Status() *string
	SetStatus(val *string)
	// A key-value pair for a specific transformer.
	Tags() *[]*awscdk.CfnTag
	SetTags(val *[]*awscdk.CfnTag)
	// A reference to a Transformer resource.
	TransformerRef() *interfacesawsb2bi.TransformerReference
	// Deprecated.
	// Deprecated: use `updatedProperties`
	//
	// Return properties modified after initiation
	//
	// Resources that expose mutable properties should override this function to
	// collect and return the properties object for this resource.
	UpdatedProperites() *map[string]interface{}
	// Return properties modified after initiation.
	//
	// Resources that expose mutable properties should override this function to
	// collect and return the properties object for this resource.
	UpdatedProperties() *map[string]interface{}
	// Syntactic sugar for `addOverride(path, undefined)`.
	AddDeletionOverride(path *string)
	// Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
	//
	// This can be used for resources across stacks (or nested stack) boundaries
	// and the dependency will automatically be transferred to the relevant scope.
	AddDependency(target awscdk.CfnResource)
	// Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
	// Deprecated: use addDependency.
	AddDependsOn(target awscdk.CfnResource)
	// Add a value to the CloudFormation Resource Metadata.
	// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html
	//
	// Note that this is a different set of metadata from CDK node metadata; this
	// metadata ends up in the stack template under the resource, whereas CDK
	// node metadata ends up in the Cloud Assembly.
	//
	AddMetadata(key *string, value interface{})
	// Adds an override to the synthesized CloudFormation resource.
	//
	// To add a
	// property override, either use `addPropertyOverride` or prefix `path` with
	// "Properties." (i.e. `Properties.TopicName`).
	//
	// If the override is nested, separate each nested level using a dot (.) in the path parameter.
	// If there is an array as part of the nesting, specify the index in the path.
	//
	// To include a literal `.` in the property name, prefix with a `\`. In most
	// programming languages you will need to write this as `"\\."` because the
	// `\` itself will need to be escaped.
	//
	// For example,
	// “`typescript
	// cfnResource.addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']);
	// cfnResource.addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE');
	// “`
	// would add the overrides
	// “`json
	// "Properties": {
	//   "GlobalSecondaryIndexes": [
	//     {
	//       "Projection": {
	//         "NonKeyAttributes": [ "myattribute" ]
	//         ...
	//       }
	//       ...
	//     },
	//     {
	//       "ProjectionType": "INCLUDE"
	//       ...
	//     },
	//   ]
	//   ...
	// }
	// “`
	//
	// The `value` argument to `addOverride` will not be processed or translated
	// in any way. Pass raw JSON values in here with the correct capitalization
	// for CloudFormation. If you pass CDK classes or structs, they will be
	// rendered with lowercased key names, and CloudFormation will reject the
	// template.
	AddOverride(path *string, value interface{})
	// Adds an override that deletes the value of a property from the resource definition.
	AddPropertyDeletionOverride(propertyPath *string)
	// Adds an override to a resource property.
	//
	// Syntactic sugar for `addOverride("Properties.<...>", value)`.
	AddPropertyOverride(propertyPath *string, value interface{})
	// Sets the deletion policy of the resource based on the removal policy specified.
	//
	// The Removal Policy controls what happens to this resource when it stops
	// being managed by CloudFormation, either because you've removed it from the
	// CDK application or because you've made a change that requires the resource
	// to be replaced.
	//
	// The resource can be deleted (`RemovalPolicy.DESTROY`), or left in your AWS
	// account for data recovery and cleanup later (`RemovalPolicy.RETAIN`). In some
	// cases, a snapshot can be taken of the resource prior to deletion
	// (`RemovalPolicy.SNAPSHOT`). A list of resources that support this policy
	// can be found in the following link:.
	// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html#aws-attribute-deletionpolicy-options
	//
	ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions)
	// Returns a token for an runtime attribute of this resource.
	//
	// Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility
	// in case there is no generated attribute.
	GetAtt(attributeName *string, typeHint awscdk.ResolutionTypeHint) awscdk.Reference
	// Retrieve a value value from the CloudFormation Resource Metadata.
	// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html
	//
	// Note that this is a different set of metadata from CDK node metadata; this
	// metadata ends up in the stack template under the resource, whereas CDK
	// node metadata ends up in the Cloud Assembly.
	//
	GetMetadata(key *string) interface{}
	// Examines the CloudFormation resource and discloses attributes.
	Inspect(inspector awscdk.TreeInspector)
	// Retrieves an array of resources this resource depends on.
	//
	// This assembles dependencies on resources across stacks (including nested stacks)
	// automatically.
	ObtainDependencies() *[]interface{}
	// Get a shallow copy of dependencies between this resource and other resources in the same stack.
	ObtainResourceDependencies() *[]awscdk.CfnResource
	// Overrides the auto-generated logical ID with a specific ID.
	OverrideLogicalId(newLogicalId *string)
	// Indicates that this resource no longer depends on another resource.
	//
	// This can be used for resources across stacks (including nested stacks)
	// and the dependency will automatically be removed from the relevant scope.
	RemoveDependency(target awscdk.CfnResource)
	RenderProperties(props *map[string]interface{}) *map[string]interface{}
	// Replaces one dependency with another.
	ReplaceDependency(target awscdk.CfnResource, newTarget awscdk.CfnResource)
	// Can be overridden by subclasses to determine if this resource will be rendered into the cloudformation template.
	//
	// Returns: `true` if the resource should be included or `false` is the resource
	// should be omitted.
	ShouldSynthesize() *bool
	// Returns a string representation of this construct.
	//
	// Returns: a string representation of this resource.
	ToString() *string
	ValidateProperties(_properties interface{})
}

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` , and `sampleDocument` . > > - Use the `mapping` data type in place of `mappingTemplate` and `fileFormat` > - Use the `sampleDocuments` data type in place of `sampleDocument` > - Use either the `inputConversion` or `outputConversion` in place of `ediType`.

Example:

// 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"

cfnTransformer := awscdk.Aws_b2bi.NewCfnTransformer(this, jsii.String("MyCfnTransformer"), &CfnTransformerProps{
	Name: jsii.String("name"),
	Status: jsii.String("status"),

	// the properties below are optional
	EdiType: &EdiTypeProperty{
		X12Details: &X12DetailsProperty{
			TransactionSet: jsii.String("transactionSet"),
			Version: jsii.String("version"),
		},
	},
	FileFormat: jsii.String("fileFormat"),
	InputConversion: &InputConversionProperty{
		FromFormat: jsii.String("fromFormat"),

		// the properties below are optional
		AdvancedOptions: &AdvancedOptionsProperty{
			X12: &X12AdvancedOptionsProperty{
				SplitOptions: &X12SplitOptionsProperty{
					SplitBy: jsii.String("splitBy"),
				},
				ValidationOptions: &X12ValidationOptionsProperty{
					ValidationRules: []interface{}{
						&X12ValidationRuleProperty{
							CodeListValidationRule: &X12CodeListValidationRuleProperty{
								ElementId: jsii.String("elementId"),

								// the properties below are optional
								CodesToAdd: []*string{
									jsii.String("codesToAdd"),
								},
								CodesToRemove: []*string{
									jsii.String("codesToRemove"),
								},
							},
							ElementLengthValidationRule: &X12ElementLengthValidationRuleProperty{
								ElementId: jsii.String("elementId"),
								MaxLength: jsii.Number(123),
								MinLength: jsii.Number(123),
							},
							ElementRequirementValidationRule: &X12ElementRequirementValidationRuleProperty{
								ElementPosition: jsii.String("elementPosition"),
								Requirement: jsii.String("requirement"),
							},
						},
					},
				},
			},
		},
		FormatOptions: &FormatOptionsProperty{
			X12: &X12DetailsProperty{
				TransactionSet: jsii.String("transactionSet"),
				Version: jsii.String("version"),
			},
		},
	},
	Mapping: &MappingProperty{
		TemplateLanguage: jsii.String("templateLanguage"),

		// the properties below are optional
		Template: jsii.String("template"),
	},
	MappingTemplate: jsii.String("mappingTemplate"),
	OutputConversion: &OutputConversionProperty{
		ToFormat: jsii.String("toFormat"),

		// the properties below are optional
		AdvancedOptions: &AdvancedOptionsProperty{
			X12: &X12AdvancedOptionsProperty{
				SplitOptions: &X12SplitOptionsProperty{
					SplitBy: jsii.String("splitBy"),
				},
				ValidationOptions: &X12ValidationOptionsProperty{
					ValidationRules: []interface{}{
						&X12ValidationRuleProperty{
							CodeListValidationRule: &X12CodeListValidationRuleProperty{
								ElementId: jsii.String("elementId"),

								// the properties below are optional
								CodesToAdd: []*string{
									jsii.String("codesToAdd"),
								},
								CodesToRemove: []*string{
									jsii.String("codesToRemove"),
								},
							},
							ElementLengthValidationRule: &X12ElementLengthValidationRuleProperty{
								ElementId: jsii.String("elementId"),
								MaxLength: jsii.Number(123),
								MinLength: jsii.Number(123),
							},
							ElementRequirementValidationRule: &X12ElementRequirementValidationRuleProperty{
								ElementPosition: jsii.String("elementPosition"),
								Requirement: jsii.String("requirement"),
							},
						},
					},
				},
			},
		},
		FormatOptions: &FormatOptionsProperty{
			X12: &X12DetailsProperty{
				TransactionSet: jsii.String("transactionSet"),
				Version: jsii.String("version"),
			},
		},
	},
	SampleDocument: jsii.String("sampleDocument"),
	SampleDocuments: &SampleDocumentsProperty{
		BucketName: jsii.String("bucketName"),
		Keys: []interface{}{
			&SampleDocumentKeysProperty{
				Input: jsii.String("input"),
				Output: jsii.String("output"),
			},
		},
	},
	Tags: []CfnTag{
		&CfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
})

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-b2bi-transformer.html

func NewCfnTransformer

func NewCfnTransformer(scope constructs.Construct, id *string, props *CfnTransformerProps) CfnTransformer

Create a new `AWS::B2BI::Transformer`.

type CfnTransformerProps

type CfnTransformerProps struct {
	// Returns the descriptive name for the transformer.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-b2bi-transformer.html#cfn-b2bi-transformer-name
	//
	Name *string `field:"required" json:"name" yaml:"name"`
	// Returns the state of the newly created transformer.
	//
	// The transformer can be either `active` or `inactive` . For the transformer to be used in a capability, its status must `active` .
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-b2bi-transformer.html#cfn-b2bi-transformer-status
	//
	Status *string `field:"required" json:"status" yaml:"status"`
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-b2bi-transformer.html#cfn-b2bi-transformer-editype
	//
	// Deprecated: this property has been deprecated.
	EdiType interface{} `field:"optional" json:"ediType" yaml:"ediType"`
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-b2bi-transformer.html#cfn-b2bi-transformer-fileformat
	//
	// Deprecated: this property has been deprecated.
	FileFormat *string `field:"optional" json:"fileFormat" yaml:"fileFormat"`
	// Returns a structure that contains the format options for the transformation.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-b2bi-transformer.html#cfn-b2bi-transformer-inputconversion
	//
	InputConversion interface{} `field:"optional" json:"inputConversion" yaml:"inputConversion"`
	// Returns the structure that contains the mapping template and its language (either XSLT or JSONATA).
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-b2bi-transformer.html#cfn-b2bi-transformer-mapping
	//
	Mapping interface{} `field:"optional" json:"mapping" yaml:"mapping"`
	// This shape is deprecated: This is a legacy trait.
	//
	// Please use input-conversion or output-conversion.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-b2bi-transformer.html#cfn-b2bi-transformer-mappingtemplate
	//
	// Deprecated: this property has been deprecated.
	MappingTemplate *string `field:"optional" json:"mappingTemplate" yaml:"mappingTemplate"`
	// Returns the `OutputConversion` object, which contains the format options for the outbound transformation.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-b2bi-transformer.html#cfn-b2bi-transformer-outputconversion
	//
	OutputConversion interface{} `field:"optional" json:"outputConversion" yaml:"outputConversion"`
	// This shape is deprecated: This is a legacy trait.
	//
	// Please use input-conversion or output-conversion.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-b2bi-transformer.html#cfn-b2bi-transformer-sampledocument
	//
	// Deprecated: this property has been deprecated.
	SampleDocument *string `field:"optional" json:"sampleDocument" yaml:"sampleDocument"`
	// 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.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-b2bi-transformer.html#cfn-b2bi-transformer-sampledocuments
	//
	SampleDocuments interface{} `field:"optional" json:"sampleDocuments" yaml:"sampleDocuments"`
	// 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: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-b2bi-transformer.html#cfn-b2bi-transformer-tags
	//
	Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"`
}

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 "github.com/aws/aws-cdk-go/awscdk"

cfnTransformerProps := &CfnTransformerProps{
	Name: jsii.String("name"),
	Status: jsii.String("status"),

	// the properties below are optional
	EdiType: &EdiTypeProperty{
		X12Details: &X12DetailsProperty{
			TransactionSet: jsii.String("transactionSet"),
			Version: jsii.String("version"),
		},
	},
	FileFormat: jsii.String("fileFormat"),
	InputConversion: &InputConversionProperty{
		FromFormat: jsii.String("fromFormat"),

		// the properties below are optional
		AdvancedOptions: &AdvancedOptionsProperty{
			X12: &X12AdvancedOptionsProperty{
				SplitOptions: &X12SplitOptionsProperty{
					SplitBy: jsii.String("splitBy"),
				},
				ValidationOptions: &X12ValidationOptionsProperty{
					ValidationRules: []interface{}{
						&X12ValidationRuleProperty{
							CodeListValidationRule: &X12CodeListValidationRuleProperty{
								ElementId: jsii.String("elementId"),

								// the properties below are optional
								CodesToAdd: []*string{
									jsii.String("codesToAdd"),
								},
								CodesToRemove: []*string{
									jsii.String("codesToRemove"),
								},
							},
							ElementLengthValidationRule: &X12ElementLengthValidationRuleProperty{
								ElementId: jsii.String("elementId"),
								MaxLength: jsii.Number(123),
								MinLength: jsii.Number(123),
							},
							ElementRequirementValidationRule: &X12ElementRequirementValidationRuleProperty{
								ElementPosition: jsii.String("elementPosition"),
								Requirement: jsii.String("requirement"),
							},
						},
					},
				},
			},
		},
		FormatOptions: &FormatOptionsProperty{
			X12: &X12DetailsProperty{
				TransactionSet: jsii.String("transactionSet"),
				Version: jsii.String("version"),
			},
		},
	},
	Mapping: &MappingProperty{
		TemplateLanguage: jsii.String("templateLanguage"),

		// the properties below are optional
		Template: jsii.String("template"),
	},
	MappingTemplate: jsii.String("mappingTemplate"),
	OutputConversion: &OutputConversionProperty{
		ToFormat: jsii.String("toFormat"),

		// the properties below are optional
		AdvancedOptions: &AdvancedOptionsProperty{
			X12: &X12AdvancedOptionsProperty{
				SplitOptions: &X12SplitOptionsProperty{
					SplitBy: jsii.String("splitBy"),
				},
				ValidationOptions: &X12ValidationOptionsProperty{
					ValidationRules: []interface{}{
						&X12ValidationRuleProperty{
							CodeListValidationRule: &X12CodeListValidationRuleProperty{
								ElementId: jsii.String("elementId"),

								// the properties below are optional
								CodesToAdd: []*string{
									jsii.String("codesToAdd"),
								},
								CodesToRemove: []*string{
									jsii.String("codesToRemove"),
								},
							},
							ElementLengthValidationRule: &X12ElementLengthValidationRuleProperty{
								ElementId: jsii.String("elementId"),
								MaxLength: jsii.Number(123),
								MinLength: jsii.Number(123),
							},
							ElementRequirementValidationRule: &X12ElementRequirementValidationRuleProperty{
								ElementPosition: jsii.String("elementPosition"),
								Requirement: jsii.String("requirement"),
							},
						},
					},
				},
			},
		},
		FormatOptions: &FormatOptionsProperty{
			X12: &X12DetailsProperty{
				TransactionSet: jsii.String("transactionSet"),
				Version: jsii.String("version"),
			},
		},
	},
	SampleDocument: jsii.String("sampleDocument"),
	SampleDocuments: &SampleDocumentsProperty{
		BucketName: jsii.String("bucketName"),
		Keys: []interface{}{
			&SampleDocumentKeysProperty{
				Input: jsii.String("input"),
				Output: jsii.String("output"),
			},
		},
	},
	Tags: []CfnTag{
		&CfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-b2bi-transformer.html

type CfnTransformer_AdvancedOptionsProperty added in v2.203.0

type CfnTransformer_AdvancedOptionsProperty struct {
	// A structure that contains X12-specific advanced options, such as split options for processing X12 EDI files.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-advancedoptions.html#cfn-b2bi-transformer-advancedoptions-x12
	//
	X12 interface{} `field:"optional" json:"x12" yaml:"x12"`
}

A structure that contains advanced options for EDI processing.

Currently, only X12 advanced options are supported.

Example:

// 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"

advancedOptionsProperty := &AdvancedOptionsProperty{
	X12: &X12AdvancedOptionsProperty{
		SplitOptions: &X12SplitOptionsProperty{
			SplitBy: jsii.String("splitBy"),
		},
		ValidationOptions: &X12ValidationOptionsProperty{
			ValidationRules: []interface{}{
				&X12ValidationRuleProperty{
					CodeListValidationRule: &X12CodeListValidationRuleProperty{
						ElementId: jsii.String("elementId"),

						// the properties below are optional
						CodesToAdd: []*string{
							jsii.String("codesToAdd"),
						},
						CodesToRemove: []*string{
							jsii.String("codesToRemove"),
						},
					},
					ElementLengthValidationRule: &X12ElementLengthValidationRuleProperty{
						ElementId: jsii.String("elementId"),
						MaxLength: jsii.Number(123),
						MinLength: jsii.Number(123),
					},
					ElementRequirementValidationRule: &X12ElementRequirementValidationRuleProperty{
						ElementPosition: jsii.String("elementPosition"),
						Requirement: jsii.String("requirement"),
					},
				},
			},
		},
	},
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-advancedoptions.html

type CfnTransformer_EdiTypeProperty

type CfnTransformer_EdiTypeProperty struct {
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-editype.html#cfn-b2bi-transformer-editype-x12details
	//
	X12Details interface{} `field:"required" json:"x12Details" yaml:"x12Details"`
}

Example:

// 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"

ediTypeProperty := &EdiTypeProperty{
	X12Details: &X12DetailsProperty{
		TransactionSet: jsii.String("transactionSet"),
		Version: jsii.String("version"),
	},
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-editype.html

type CfnTransformer_FormatOptionsProperty added in v2.161.0

type CfnTransformer_FormatOptionsProperty struct {
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-formatoptions.html#cfn-b2bi-transformer-formatoptions-x12
	//
	X12 interface{} `field:"required" json:"x12" yaml:"x12"`
}

A structure that contains the X12 transaction set and version.

Example:

// 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"

formatOptionsProperty := &FormatOptionsProperty{
	X12: &X12DetailsProperty{
		TransactionSet: jsii.String("transactionSet"),
		Version: jsii.String("version"),
	},
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-formatoptions.html

type CfnTransformer_InputConversionProperty added in v2.161.0

type CfnTransformer_InputConversionProperty struct {
	// The format for the transformer input: currently on `X12` is supported.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-inputconversion.html#cfn-b2bi-transformer-inputconversion-fromformat
	//
	FromFormat *string `field:"required" json:"fromFormat" yaml:"fromFormat"`
	// Specifies advanced options for the input conversion process.
	//
	// These options provide additional control over how EDI files are processed during transformation.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-inputconversion.html#cfn-b2bi-transformer-inputconversion-advancedoptions
	//
	AdvancedOptions interface{} `field:"optional" json:"advancedOptions" yaml:"advancedOptions"`
	// A structure that contains the formatting options for an inbound transformer.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-inputconversion.html#cfn-b2bi-transformer-inputconversion-formatoptions
	//
	FormatOptions interface{} `field:"optional" json:"formatOptions" yaml:"formatOptions"`
}

Contains the input formatting options for an inbound transformer (takes an X12-formatted EDI document as input and converts it to JSON or XML.

Example:

// 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"

inputConversionProperty := &InputConversionProperty{
	FromFormat: jsii.String("fromFormat"),

	// the properties below are optional
	AdvancedOptions: &AdvancedOptionsProperty{
		X12: &X12AdvancedOptionsProperty{
			SplitOptions: &X12SplitOptionsProperty{
				SplitBy: jsii.String("splitBy"),
			},
			ValidationOptions: &X12ValidationOptionsProperty{
				ValidationRules: []interface{}{
					&X12ValidationRuleProperty{
						CodeListValidationRule: &X12CodeListValidationRuleProperty{
							ElementId: jsii.String("elementId"),

							// the properties below are optional
							CodesToAdd: []*string{
								jsii.String("codesToAdd"),
							},
							CodesToRemove: []*string{
								jsii.String("codesToRemove"),
							},
						},
						ElementLengthValidationRule: &X12ElementLengthValidationRuleProperty{
							ElementId: jsii.String("elementId"),
							MaxLength: jsii.Number(123),
							MinLength: jsii.Number(123),
						},
						ElementRequirementValidationRule: &X12ElementRequirementValidationRuleProperty{
							ElementPosition: jsii.String("elementPosition"),
							Requirement: jsii.String("requirement"),
						},
					},
				},
			},
		},
	},
	FormatOptions: &FormatOptionsProperty{
		X12: &X12DetailsProperty{
			TransactionSet: jsii.String("transactionSet"),
			Version: jsii.String("version"),
		},
	},
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-inputconversion.html

type CfnTransformer_MappingProperty added in v2.161.0

type CfnTransformer_MappingProperty struct {
	// The transformation language for the template, either XSLT or JSONATA.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-mapping.html#cfn-b2bi-transformer-mapping-templatelanguage
	//
	TemplateLanguage *string `field:"required" json:"templateLanguage" yaml:"templateLanguage"`
	// A string that represents the mapping template, in the transformation language specified in `templateLanguage` .
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-mapping.html#cfn-b2bi-transformer-mapping-template
	//
	Template *string `field:"optional" json:"template" yaml:"template"`
}

Specifies the mapping template for the transformer.

This template is used to map the parsed EDI file using JSONata or XSLT.

Example:

// 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"

mappingProperty := &MappingProperty{
	TemplateLanguage: jsii.String("templateLanguage"),

	// the properties below are optional
	Template: jsii.String("template"),
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-mapping.html

type CfnTransformer_OutputConversionProperty added in v2.161.0

type CfnTransformer_OutputConversionProperty struct {
	// The format for the output from an outbound transformer: only X12 is currently supported.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-outputconversion.html#cfn-b2bi-transformer-outputconversion-toformat
	//
	ToFormat *string `field:"required" json:"toFormat" yaml:"toFormat"`
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-outputconversion.html#cfn-b2bi-transformer-outputconversion-advancedoptions
	//
	AdvancedOptions interface{} `field:"optional" json:"advancedOptions" yaml:"advancedOptions"`
	// A structure that contains the X12 transaction set and version for the transformer output.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-outputconversion.html#cfn-b2bi-transformer-outputconversion-formatoptions
	//
	FormatOptions interface{} `field:"optional" json:"formatOptions" yaml:"formatOptions"`
}

Contains the formatting options for an outbound transformer (takes JSON or XML as input and converts it to an EDI document (currently only X12 format is supported).

Example:

// 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"

outputConversionProperty := &OutputConversionProperty{
	ToFormat: jsii.String("toFormat"),

	// the properties below are optional
	AdvancedOptions: &AdvancedOptionsProperty{
		X12: &X12AdvancedOptionsProperty{
			SplitOptions: &X12SplitOptionsProperty{
				SplitBy: jsii.String("splitBy"),
			},
			ValidationOptions: &X12ValidationOptionsProperty{
				ValidationRules: []interface{}{
					&X12ValidationRuleProperty{
						CodeListValidationRule: &X12CodeListValidationRuleProperty{
							ElementId: jsii.String("elementId"),

							// the properties below are optional
							CodesToAdd: []*string{
								jsii.String("codesToAdd"),
							},
							CodesToRemove: []*string{
								jsii.String("codesToRemove"),
							},
						},
						ElementLengthValidationRule: &X12ElementLengthValidationRuleProperty{
							ElementId: jsii.String("elementId"),
							MaxLength: jsii.Number(123),
							MinLength: jsii.Number(123),
						},
						ElementRequirementValidationRule: &X12ElementRequirementValidationRuleProperty{
							ElementPosition: jsii.String("elementPosition"),
							Requirement: jsii.String("requirement"),
						},
					},
				},
			},
		},
	},
	FormatOptions: &FormatOptionsProperty{
		X12: &X12DetailsProperty{
			TransactionSet: jsii.String("transactionSet"),
			Version: jsii.String("version"),
		},
	},
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-outputconversion.html

type CfnTransformer_SampleDocumentKeysProperty added in v2.161.0

type CfnTransformer_SampleDocumentKeysProperty struct {
	// An array of keys for your input sample documents.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-sampledocumentkeys.html#cfn-b2bi-transformer-sampledocumentkeys-input
	//
	Input *string `field:"optional" json:"input" yaml:"input"`
	// An array of keys for your output sample documents.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-sampledocumentkeys.html#cfn-b2bi-transformer-sampledocumentkeys-output
	//
	Output *string `field:"optional" json:"output" yaml:"output"`
}

An array of the Amazon S3 keys used to identify the location for your sample documents.

Example:

// 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"

sampleDocumentKeysProperty := &SampleDocumentKeysProperty{
	Input: jsii.String("input"),
	Output: jsii.String("output"),
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-sampledocumentkeys.html

type CfnTransformer_SampleDocumentsProperty added in v2.161.0

type CfnTransformer_SampleDocumentsProperty struct {
	// Contains the Amazon S3 bucket that is used to hold your sample documents.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-sampledocuments.html#cfn-b2bi-transformer-sampledocuments-bucketname
	//
	BucketName *string `field:"required" json:"bucketName" yaml:"bucketName"`
	// Contains an array of the Amazon S3 keys used to identify the location for your sample documents.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-sampledocuments.html#cfn-b2bi-transformer-sampledocuments-keys
	//
	Keys interface{} `field:"required" json:"keys" yaml:"keys"`
}

Describes a structure that contains the Amazon S3 bucket and an array of the corresponding keys used to identify the location for your sample documents.

Example:

// 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"

sampleDocumentsProperty := &SampleDocumentsProperty{
	BucketName: jsii.String("bucketName"),
	Keys: []interface{}{
		&SampleDocumentKeysProperty{
			Input: jsii.String("input"),
			Output: jsii.String("output"),
		},
	},
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-sampledocuments.html

type CfnTransformer_X12AdvancedOptionsProperty added in v2.203.0

type CfnTransformer_X12AdvancedOptionsProperty struct {
	// Specifies options for splitting X12 EDI files.
	//
	// These options control how large X12 files are divided into smaller, more manageable units.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-x12advancedoptions.html#cfn-b2bi-transformer-x12advancedoptions-splitoptions
	//
	SplitOptions interface{} `field:"optional" json:"splitOptions" yaml:"splitOptions"`
	// Specifies validation options for X12 EDI processing.
	//
	// These options control how validation rules are applied during EDI document processing, including custom validation rules for element length constraints, code list validations, and element requirement checks.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-x12advancedoptions.html#cfn-b2bi-transformer-x12advancedoptions-validationoptions
	//
	ValidationOptions interface{} `field:"optional" json:"validationOptions" yaml:"validationOptions"`
}

Contains advanced options specific to X12 EDI processing, such as splitting large X12 files into smaller units.

Example:

// 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"

x12AdvancedOptionsProperty := &X12AdvancedOptionsProperty{
	SplitOptions: &X12SplitOptionsProperty{
		SplitBy: jsii.String("splitBy"),
	},
	ValidationOptions: &X12ValidationOptionsProperty{
		ValidationRules: []interface{}{
			&X12ValidationRuleProperty{
				CodeListValidationRule: &X12CodeListValidationRuleProperty{
					ElementId: jsii.String("elementId"),

					// the properties below are optional
					CodesToAdd: []*string{
						jsii.String("codesToAdd"),
					},
					CodesToRemove: []*string{
						jsii.String("codesToRemove"),
					},
				},
				ElementLengthValidationRule: &X12ElementLengthValidationRuleProperty{
					ElementId: jsii.String("elementId"),
					MaxLength: jsii.Number(123),
					MinLength: jsii.Number(123),
				},
				ElementRequirementValidationRule: &X12ElementRequirementValidationRuleProperty{
					ElementPosition: jsii.String("elementPosition"),
					Requirement: jsii.String("requirement"),
				},
			},
		},
	},
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-x12advancedoptions.html

type CfnTransformer_X12CodeListValidationRuleProperty added in v2.214.0

type CfnTransformer_X12CodeListValidationRuleProperty struct {
	// Specifies the four-digit element ID to which the code list modifications apply.
	//
	// This identifies which X12 element will have its allowed code values modified.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-x12codelistvalidationrule.html#cfn-b2bi-transformer-x12codelistvalidationrule-elementid
	//
	ElementId *string `field:"required" json:"elementId" yaml:"elementId"`
	// Specifies a list of code values to add to the element's allowed values.
	//
	// These codes will be considered valid for the specified element in addition to the standard codes defined by the X12 specification.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-x12codelistvalidationrule.html#cfn-b2bi-transformer-x12codelistvalidationrule-codestoadd
	//
	CodesToAdd *[]*string `field:"optional" json:"codesToAdd" yaml:"codesToAdd"`
	// Specifies a list of code values to remove from the element's allowed values.
	//
	// These codes will be considered invalid for the specified element, even if they are part of the standard codes defined by the X12 specification.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-x12codelistvalidationrule.html#cfn-b2bi-transformer-x12codelistvalidationrule-codestoremove
	//
	CodesToRemove *[]*string `field:"optional" json:"codesToRemove" yaml:"codesToRemove"`
}

Code list validation rule configuration.

Example:

// 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"

x12CodeListValidationRuleProperty := &X12CodeListValidationRuleProperty{
	ElementId: jsii.String("elementId"),

	// the properties below are optional
	CodesToAdd: []*string{
		jsii.String("codesToAdd"),
	},
	CodesToRemove: []*string{
		jsii.String("codesToRemove"),
	},
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-x12codelistvalidationrule.html

type CfnTransformer_X12DetailsProperty

type CfnTransformer_X12DetailsProperty struct {
	// Returns an enumerated type where each value identifies an X12 transaction set.
	//
	// Transaction sets are maintained by the X12 Accredited Standards Committee.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-x12details.html#cfn-b2bi-transformer-x12details-transactionset
	//
	TransactionSet *string `field:"optional" json:"transactionSet" yaml:"transactionSet"`
	// Returns the version to use for the specified X12 transaction set.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-x12details.html#cfn-b2bi-transformer-x12details-version
	//
	Version *string `field:"optional" json:"version" yaml:"version"`
}

A structure that contains the X12 transaction set and version.

The X12 structure is used when the system transforms an EDI (electronic data interchange) file.

> If an EDI input file contains more than one transaction, each transaction must have the same transaction set and version, for example 214/4010. If not, the transformer cannot parse the file.

Example:

// 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"

x12DetailsProperty := &X12DetailsProperty{
	TransactionSet: jsii.String("transactionSet"),
	Version: jsii.String("version"),
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-x12details.html

type CfnTransformer_X12ElementLengthValidationRuleProperty added in v2.214.0

type CfnTransformer_X12ElementLengthValidationRuleProperty struct {
	// Specifies the four-digit element ID to which the length constraints will be applied.
	//
	// This identifies which X12 element will have its length requirements modified.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-x12elementlengthvalidationrule.html#cfn-b2bi-transformer-x12elementlengthvalidationrule-elementid
	//
	ElementId *string `field:"required" json:"elementId" yaml:"elementId"`
	// Specifies the maximum allowed length for the identified element.
	//
	// This value defines the upper limit for the element's content length.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-x12elementlengthvalidationrule.html#cfn-b2bi-transformer-x12elementlengthvalidationrule-maxlength
	//
	MaxLength *float64 `field:"required" json:"maxLength" yaml:"maxLength"`
	// Specifies the minimum required length for the identified element.
	//
	// This value defines the lower limit for the element's content length.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-x12elementlengthvalidationrule.html#cfn-b2bi-transformer-x12elementlengthvalidationrule-minlength
	//
	MinLength *float64 `field:"required" json:"minLength" yaml:"minLength"`
}

Defines a validation rule that specifies custom length constraints for a specific X12 element.

This rule allows you to override the standard minimum and maximum length requirements for an element, enabling validation of trading partner-specific length requirements that may differ from the X12 specification. Both minimum and maximum length values must be specified.

Example:

// 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"

x12ElementLengthValidationRuleProperty := &X12ElementLengthValidationRuleProperty{
	ElementId: jsii.String("elementId"),
	MaxLength: jsii.Number(123),
	MinLength: jsii.Number(123),
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-x12elementlengthvalidationrule.html

type CfnTransformer_X12ElementRequirementValidationRuleProperty added in v2.214.0

type CfnTransformer_X12ElementRequirementValidationRuleProperty struct {
	// Specifies the position of the element within an X12 segment for which the requirement status will be modified.
	//
	// 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
	//
	ElementPosition *string `field:"required" json:"elementPosition" yaml:"elementPosition"`
	// Specifies the requirement status for the element at the specified position.
	//
	// 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
	//
	Requirement *string `field:"required" json:"requirement" yaml:"requirement"`
}

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

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.

Example:

// 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"

x12ElementRequirementValidationRuleProperty := &X12ElementRequirementValidationRuleProperty{
	ElementPosition: jsii.String("elementPosition"),
	Requirement: jsii.String("requirement"),
}

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

type CfnTransformer_X12SplitOptionsProperty added in v2.203.0

type CfnTransformer_X12SplitOptionsProperty struct {
	// Specifies the method used to split X12 EDI files.
	//
	// Valid values include `TRANSACTION` (split by individual transaction sets), or `NONE` (no splitting).
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-x12splitoptions.html#cfn-b2bi-transformer-x12splitoptions-splitby
	//
	SplitBy *string `field:"optional" json:"splitBy" yaml:"splitBy"`
}

Contains options for splitting X12 EDI files into smaller units.

This is useful for processing large EDI files more efficiently.

Example:

// 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"

x12SplitOptionsProperty := &X12SplitOptionsProperty{
	SplitBy: jsii.String("splitBy"),
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-x12splitoptions.html

type CfnTransformer_X12ValidationOptionsProperty added in v2.214.0

type CfnTransformer_X12ValidationOptionsProperty struct {
	// Specifies a list of validation rules to apply during EDI document processing.
	//
	// These rules can include code list modifications, element length constraints, and element requirement changes.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-x12validationoptions.html#cfn-b2bi-transformer-x12validationoptions-validationrules
	//
	ValidationRules interface{} `field:"optional" json:"validationRules" yaml:"validationRules"`
}

Contains configuration options for X12 EDI validation.

This structure allows you to specify custom validation rules that will be applied during EDI document processing, including element length constraints, code list modifications, and element requirement changes. These validation options provide flexibility to accommodate trading partner-specific requirements while maintaining EDI compliance. The validation rules are applied in addition to standard X12 validation to ensure documents meet both standard and custom requirements.

Example:

// 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"

x12ValidationOptionsProperty := &X12ValidationOptionsProperty{
	ValidationRules: []interface{}{
		&X12ValidationRuleProperty{
			CodeListValidationRule: &X12CodeListValidationRuleProperty{
				ElementId: jsii.String("elementId"),

				// the properties below are optional
				CodesToAdd: []*string{
					jsii.String("codesToAdd"),
				},
				CodesToRemove: []*string{
					jsii.String("codesToRemove"),
				},
			},
			ElementLengthValidationRule: &X12ElementLengthValidationRuleProperty{
				ElementId: jsii.String("elementId"),
				MaxLength: jsii.Number(123),
				MinLength: jsii.Number(123),
			},
			ElementRequirementValidationRule: &X12ElementRequirementValidationRuleProperty{
				ElementPosition: jsii.String("elementPosition"),
				Requirement: jsii.String("requirement"),
			},
		},
	},
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-x12validationoptions.html

type CfnTransformer_X12ValidationRuleProperty added in v2.214.0

type CfnTransformer_X12ValidationRuleProperty struct {
	// Specifies a code list validation rule that modifies the allowed code values for a specific X12 element.
	//
	// This rule enables you to customize which codes are considered valid for an element, allowing for trading partner-specific code requirements.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-x12validationrule.html#cfn-b2bi-transformer-x12validationrule-codelistvalidationrule
	//
	CodeListValidationRule interface{} `field:"optional" json:"codeListValidationRule" yaml:"codeListValidationRule"`
	// Specifies an element length validation rule that defines custom length constraints for a specific X12 element.
	//
	// This rule allows you to enforce minimum and maximum length requirements that may differ from the standard X12 specification.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-x12validationrule.html#cfn-b2bi-transformer-x12validationrule-elementlengthvalidationrule
	//
	ElementLengthValidationRule interface{} `field:"optional" json:"elementLengthValidationRule" yaml:"elementLengthValidationRule"`
	// Specifies an element requirement validation rule that modifies whether a specific X12 element is required or optional within a segment.
	//
	// This rule provides flexibility to accommodate different trading partner requirements for element presence.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-x12validationrule.html#cfn-b2bi-transformer-x12validationrule-elementrequirementvalidationrule
	//
	ElementRequirementValidationRule interface{} `field:"optional" json:"elementRequirementValidationRule" yaml:"elementRequirementValidationRule"`
}

Represents a single validation rule that can be applied during X12 EDI processing.

This is a union type that can contain one of several specific validation rule types: code list validation rules for modifying allowed element codes, element length validation rules for enforcing custom length constraints, or element requirement validation rules for changing mandatory/optional status. Each validation rule targets specific aspects of EDI document validation to ensure compliance with trading partner requirements and business rules.

Example:

// 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"

x12ValidationRuleProperty := &X12ValidationRuleProperty{
	CodeListValidationRule: &X12CodeListValidationRuleProperty{
		ElementId: jsii.String("elementId"),

		// the properties below are optional
		CodesToAdd: []*string{
			jsii.String("codesToAdd"),
		},
		CodesToRemove: []*string{
			jsii.String("codesToRemove"),
		},
	},
	ElementLengthValidationRule: &X12ElementLengthValidationRuleProperty{
		ElementId: jsii.String("elementId"),
		MaxLength: jsii.Number(123),
		MinLength: jsii.Number(123),
	},
	ElementRequirementValidationRule: &X12ElementRequirementValidationRuleProperty{
		ElementPosition: jsii.String("elementPosition"),
		Requirement: jsii.String("requirement"),
	},
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-x12validationrule.html

Source Files

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL