Class CfnParallelData

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IInspectable, IEnvironmentAware, IParallelDataRef, ITaggableV2, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)", date="2026-09-02T11:03:20.712Z") @Stability(Stable) public class CfnParallelData extends CfnResource implements IInspectable, IParallelDataRef, ITaggableV2
A parallel data resource in Amazon Translate used to customize machine translation output.

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.translate.*;
 CfnParallelData cfnParallelData = CfnParallelData.Builder.create(this, "MyCfnParallelData")
         .name("name")
         .parallelDataConfig(ParallelDataConfigProperty.builder()
                 .format("format")
                 .s3Uri("s3Uri")
                 .build())
         // the properties below are optional
         .description("description")
         .encryptionKey(EncryptionKeyProperty.builder()
                 .id("id")
                 .type("type")
                 .build())
         .tags(List.of(TagsItemsProperty.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build();
 

See Also:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnParallelData

      protected CfnParallelData(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnParallelData

      protected CfnParallelData(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnParallelData

      @Stability(Stable) public CfnParallelData(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnParallelDataProps props)
      Create a new AWS::Translate::ParallelData.

      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

    • arnForParallelData

      @Stability(Stable) @NotNull public static String arnForParallelData(@NotNull IParallelDataRef resource)
      Parameters:
      resource - This parameter is required.
    • isCfnParallelData

      @Stability(Stable) @NotNull public static Boolean isCfnParallelData(@NotNull Object x)
      Checks whether the given object is a CfnParallelData.

      Parameters:
      x - This parameter is required.
    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      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:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrArn

      @Stability(Stable) @NotNull public String getAttrArn()
      The Amazon Resource Name (ARN) of the parallel data resource.
    • getAttrCreatedAt

      @Stability(Stable) @NotNull public String getAttrCreatedAt()
      The time at which the parallel data resource was created.
    • getAttrFailedRecordCount

      @Stability(Stable) @NotNull public Number getAttrFailedRecordCount()
      The number of records unsuccessfully imported.
    • getAttrImportedDataSize

      @Stability(Stable) @NotNull public Number getAttrImportedDataSize()
      The number of UTF-8 characters imported from the parallel data input file.
    • getAttrImportedRecordCount

      @Stability(Stable) @NotNull public Number getAttrImportedRecordCount()
      The number of records successfully imported.
    • getAttrLastUpdatedAt

      @Stability(Stable) @NotNull public String getAttrLastUpdatedAt()
      The time at which the parallel data resource was last updated.
    • getAttrSkippedRecordCount

      @Stability(Stable) @NotNull public Number getAttrSkippedRecordCount()
      The number of items skipped during import.
    • getAttrSourceLanguageCode

      @Stability(Stable) @NotNull public String getAttrSourceLanguageCode()
      The source language of the translations in the parallel data file.
    • getAttrStatus

      @Stability(Stable) @NotNull public String getAttrStatus()
      The status of the parallel data resource.
    • getAttrTargetLanguageCodes

      @Stability(Stable) @NotNull public List<String> getAttrTargetLanguageCodes()
      The language codes for the target languages available in the parallel data file.
    • getCdkTagManager

      @Stability(Stable) @NotNull public TagManager getCdkTagManager()
      Tag Manager which manages the tags for this resource.
      Specified by:
      getCdkTagManager in interface ITaggableV2
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getCfnPropertyNames

      @Stability(Stable) @NotNull protected Map<String,String> getCfnPropertyNames()
      Overrides:
      getCfnPropertyNames in class CfnResource
    • getParallelDataRef

      @Stability(Stable) @NotNull public ParallelDataReference getParallelDataRef()
      A reference to a ParallelData resource.
      Specified by:
      getParallelDataRef in interface IParallelDataRef
    • getName

      @Stability(Stable) @NotNull public String getName()
      A custom name for the parallel data resource.
    • setName

      @Stability(Stable) public void setName(@NotNull String value)
      A custom name for the parallel data resource.
    • getParallelDataConfig

      @Stability(Stable) @NotNull public Object getParallelDataConfig()
      Specifies the format and S3 location of the parallel data input file.

      Returns union: either IResolvable or CfnParallelData.ParallelDataConfigProperty

    • setParallelDataConfig

      @Stability(Stable) public void setParallelDataConfig(@NotNull IResolvable value)
      Specifies the format and S3 location of the parallel data input file.
    • setParallelDataConfig

      @Stability(Stable) public void setParallelDataConfig(@NotNull CfnParallelData.ParallelDataConfigProperty value)
      Specifies the format and S3 location of the parallel data input file.
    • getDescription

      @Stability(Stable) @Nullable public String getDescription()
      A custom description for the parallel data resource.
    • setDescription

      @Stability(Stable) public void setDescription(@Nullable String value)
      A custom description for the parallel data resource.
    • getEncryptionKey

      @Stability(Stable) @Nullable public Object getEncryptionKey()
      The encryption key used to encrypt this object.

      Returns union: either IResolvable or CfnParallelData.EncryptionKeyProperty

    • setEncryptionKey

      @Stability(Stable) public void setEncryptionKey(@Nullable IResolvable value)
      The encryption key used to encrypt this object.
    • setEncryptionKey

      @Stability(Stable) public void setEncryptionKey(@Nullable CfnParallelData.EncryptionKeyProperty value)
      The encryption key used to encrypt this object.
    • getTags

      @Stability(Stable) @Nullable public List<CfnParallelData.TagsItemsProperty> getTags()
      Tags associated with the parallel data resource.
    • setTags

      @Stability(Stable) public void setTags(@Nullable List<CfnParallelData.TagsItemsProperty> value)
      Tags associated with the parallel data resource.