Class CfnParallelData
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.translate.CfnParallelData
- 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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnParallelData.static interfaceThe encryption key used to encrypt this object.static interfaceSpecifies the format and S3 location of the parallel data input file.static interfaceExample:Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested 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.interfaces.translate.IParallelDataRef
IParallelDataRef.Jsii$Default, IParallelDataRef.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
ConstructorsModifierConstructorDescriptionprotectedCfnParallelData(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnParallelData(software.amazon.jsii.JsiiObjectRef objRef) CfnParallelData(software.constructs.Construct scope, String id, CfnParallelDataProps props) Create a newAWS::Translate::ParallelData. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringarnForParallelData(IParallelDataRef resource) The Amazon Resource Name (ARN) of the parallel data resource.The time at which the parallel data resource was created.The number of records unsuccessfully imported.The number of UTF-8 characters imported from the parallel data input file.The number of records successfully imported.The time at which the parallel data resource was last updated.The number of items skipped during import.The source language of the translations in the parallel data file.The status of the parallel data resource.The language codes for the target languages available in the parallel data file.Tag Manager which manages the tags for this resource.A custom description for the parallel data resource.The encryption key used to encrypt this object.getName()A custom name for the parallel data resource.Specifies the format and S3 location of the parallel data input file.A reference to a ParallelData resource.getTags()Tags associated with the parallel data resource.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnParallelData.renderProperties(Map<String, Object> props) voidsetDescription(String value) A custom description for the parallel data resource.voidsetEncryptionKey(IResolvable value) The encryption key used to encrypt this object.voidThe encryption key used to encrypt this object.voidA custom name for the parallel data resource.voidsetParallelDataConfig(IResolvable value) Specifies the format and S3 location of the parallel data input file.voidSpecifies the format and S3 location of the parallel data input file.voidTags associated with the parallel data resource.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, addResourceDependency, addResourceDependency, applyCrossStackReferenceStrength, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, cfnPropertyName, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, removeDependency, removeResourceDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId, withMethods 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
getNode, withMethods inherited from interface software.amazon.awscdk.interfaces.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
-
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 newAWS::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
Checks whether the given object is a CfnParallelData.- Parameters:
x- This parameter is required.
-
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.
-
getAttrArn
The Amazon Resource Name (ARN) of the parallel data resource. -
getAttrCreatedAt
The time at which the parallel data resource was created. -
getAttrFailedRecordCount
The number of records unsuccessfully imported. -
getAttrImportedDataSize
The number of UTF-8 characters imported from the parallel data input file. -
getAttrImportedRecordCount
The number of records successfully imported. -
getAttrLastUpdatedAt
The time at which the parallel data resource was last updated. -
getAttrSkippedRecordCount
The number of items skipped during import. -
getAttrSourceLanguageCode
The source language of the translations in the parallel data file. -
getAttrStatus
The status of the parallel data resource. -
getAttrTargetLanguageCodes
The language codes for the target languages available in the parallel data file. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getCfnPropertyNames
- Overrides:
getCfnPropertyNamesin classCfnResource
-
getParallelDataRef
A reference to a ParallelData resource.- Specified by:
getParallelDataRefin interfaceIParallelDataRef
-
getName
A custom name for the parallel data resource. -
setName
A custom name for the parallel data resource. -
getParallelDataConfig
Specifies the format and S3 location of the parallel data input file.Returns union: either
IResolvableorCfnParallelData.ParallelDataConfigProperty -
setParallelDataConfig
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
A custom description for the parallel data resource. -
setDescription
A custom description for the parallel data resource. -
getEncryptionKey
The encryption key used to encrypt this object.Returns union: either
IResolvableorCfnParallelData.EncryptionKeyProperty -
setEncryptionKey
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
Tags associated with the parallel data resource. -
setTags
Tags associated with the parallel data resource.
-