Class CfnCapability
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.b2bi.CfnCapability
- All Implemented Interfaces:
IEnvironmentAware,IInspectable,ITaggableV2,ICapabilityRef,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.118.0 (build 02eec31)",
date="2025-11-10T13:39:58.933Z")
@Stability(Stable)
public class CfnCapability
extends CfnResource
implements IInspectable, ICapabilityRef, ITaggableV2
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 software.amazon.awscdk.services.b2bi.*;
CfnCapability cfnCapability = CfnCapability.Builder.create(this, "MyCfnCapability")
.configuration(CapabilityConfigurationProperty.builder()
.edi(EdiConfigurationProperty.builder()
.inputLocation(S3LocationProperty.builder()
.bucketName("bucketName")
.key("key")
.build())
.outputLocation(S3LocationProperty.builder()
.bucketName("bucketName")
.key("key")
.build())
.transformerId("transformerId")
.type(EdiTypeProperty.builder()
.x12Details(X12DetailsProperty.builder()
.transactionSet("transactionSet")
.version("version")
.build())
.build())
// the properties below are optional
.capabilityDirection("capabilityDirection")
.build())
.build())
.name("name")
.type("type")
// the properties below are optional
.instructionsDocuments(List.of(S3LocationProperty.builder()
.bucketName("bucketName")
.key("key")
.build()))
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnCapability.static interfaceA capability object.static interfaceSpecifies the details for the EDI (electronic data interchange) transformation.static interfaceExample:static interfaceSpecifies the details for the Amazon S3 file location that is being used with AWS B2B Data Interchange.static interfaceA structure that contains the X12 transaction set and version.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.b2bi.ICapabilityRef
ICapabilityRef.Jsii$Default, ICapabilityRef.Jsii$ProxyNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnCapability(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnCapability(software.amazon.jsii.JsiiObjectRef objRef) CfnCapability(software.constructs.Construct scope, String id, CfnCapabilityProps props) -
Method Summary
Modifier and TypeMethodDescriptionReturns an Amazon Resource Name (ARN) for a specific AWS resource, such as a capability, partnership, profile, or transformer.Returns a system-assigned unique identifier for the capability.Returns a timestamp for creation date and time of the capability.Returns a timestamp that identifies the most recent date and time that the capability was modified.A reference to a Capability resource.Tag Manager which manages the tags for this resource.Specifies a structure that contains the details for a capability.Specifies one or more locations in Amazon S3, each specifying an EDI document that can be used with this capability.getName()The display name of the capability.getTags()Specifies the key-value pairs assigned to ARNs that you can use to group and search for resources by type.getType()Returns the type of the capability.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetConfiguration(IResolvable value) Specifies a structure that contains the details for a capability.voidSpecifies a structure that contains the details for a capability.voidsetInstructionsDocuments(List<Object> value) Specifies one or more locations in Amazon S3, each specifying an EDI document that can be used with this capability.voidSpecifies one or more locations in Amazon S3, each specifying an EDI document that can be used with this capability.voidThe display name of the capability.voidSpecifies the key-value pairs assigned to ARNs that you can use to group and search for resources by type.voidReturns the type of the capability.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnCapability
protected CfnCapability(software.amazon.jsii.JsiiObjectRef objRef) -
CfnCapability
protected CfnCapability(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnCapability
@Stability(Stable) public CfnCapability(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnCapabilityProps props) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrCapabilityArn
Returns an Amazon Resource Name (ARN) for a specific AWS resource, such as a capability, partnership, profile, or transformer. -
getAttrCapabilityId
Returns a system-assigned unique identifier for the capability. -
getAttrCreatedAt
Returns a timestamp for creation date and time of the capability. -
getAttrModifiedAt
Returns a timestamp that identifies the most recent date and time that the capability was modified. -
getCapabilityRef
A reference to a Capability resource.- Specified by:
getCapabilityRefin interfaceICapabilityRef
-
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getConfiguration
Specifies a structure that contains the details for a capability.Returns union: either
IResolvableorCfnCapability.CapabilityConfigurationProperty -
setConfiguration
Specifies a structure that contains the details for a capability. -
setConfiguration
@Stability(Stable) public void setConfiguration(@NotNull CfnCapability.CapabilityConfigurationProperty value) Specifies a structure that contains the details for a capability. -
getName
The display name of the capability. -
setName
The display name of the capability. -
getType
Returns the type of the capability. -
setType
Returns the type of the capability. -
getInstructionsDocuments
Specifies one or more locations in Amazon S3, each specifying an EDI document that can be used with this capability.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnCapability.S3LocationProperty> -
setInstructionsDocuments
Specifies one or more locations in Amazon S3, each specifying an EDI document that can be used with this capability. -
setInstructionsDocuments
Specifies one or more locations in Amazon S3, each specifying an EDI document that can be used with this capability. -
getTags
Specifies the key-value pairs assigned to ARNs that you can use to group and search for resources by type. -
setTags
Specifies the key-value pairs assigned to ARNs that you can use to group and search for resources by type.
-