Class CfnTerminology
A custom terminology resource for Amazon Translate that enables customized translations.
Inherited Members
Namespace: Amazon.CDK.AWS.Translate
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnTerminology : CfnResource, IInspectable, ITerminologyRef, IConstruct, IDependable, IEnvironmentAware, ITaggableV2
Syntax (vb)
Public Class CfnTerminology Inherits CfnResource Implements IInspectable, ITerminologyRef, IConstruct, IDependable, IEnvironmentAware, ITaggableV2
Remarks
CloudformationResource: AWS::Translate::Terminology
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Translate;
var cfnTerminology = new CfnTerminology(this, "MyCfnTerminology", new CfnTerminologyProps {
Name = "name",
// the properties below are optional
Description = "description",
EncryptionKey = new EncryptionKeyProperty {
Id = "id",
Type = "type"
},
MergeStrategy = "mergeStrategy",
Tags = new [] { new TagsItemsProperty {
Key = "key",
Value = "value"
} },
TerminologyData = new TerminologyDataProperty {
File = "file",
Format = "format",
// the properties below are optional
Directionality = "directionality"
}
});
Synopsis
Constructors
| CfnTerminology(Construct, string, ICfnTerminologyProps) | Create a new |
Properties
| AttrArn | The Amazon Resource Name (ARN) of the custom terminology. |
| AttrCreatedAt | The time the terminology was created. |
| AttrDirectionality | The directionality of the terminology. |
| AttrFormat | The format of the terminology data. |
| AttrLastUpdatedAt | The time the terminology was last updated. |
| AttrSizeBytes | The size of the terminology file in bytes. |
| AttrSourceLanguageCode | The source language code for the custom terminology. |
| AttrTargetLanguageCodes | The target language codes for the custom terminology. |
| AttrTermCount | The number of terms in the custom terminology. |
| CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
| CdkTagManager | Tag Manager which manages the tags for this resource. |
| CfnProperties | A custom terminology resource for Amazon Translate that enables customized translations. |
| CfnPropertyNames | A custom terminology resource for Amazon Translate that enables customized translations. |
| Description | The description of the custom terminology. |
| EncryptionKey | The encryption key for the custom terminology. |
| MergeStrategy | The merge strategy for the custom terminology. |
| Name | The name of the custom terminology. |
| Tags | Tags associated with the terminology. |
| TerminologyData | The terminology data for the custom terminology being imported. |
| TerminologyRef | A reference to a Terminology resource. |
Methods
| ArnForTerminology(ITerminologyRef) | A custom terminology resource for Amazon Translate that enables customized translations. |
| Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
| IsCfnTerminology(object) | Checks whether the given object is a CfnTerminology. |
| RenderProperties(IDictionary<string, object>) | A custom terminology resource for Amazon Translate that enables customized translations. |
Constructors
CfnTerminology(Construct, string, ICfnTerminologyProps)
Create a new AWS::Translate::Terminology.
public CfnTerminology(Construct scope, string id, ICfnTerminologyProps props)
Parameters
- scope Construct
Scope in which this resource is defined.
- id string
Construct identifier for this resource (unique in its scope).
- props ICfnTerminologyProps
Resource properties.
Remarks
CloudformationResource: AWS::Translate::Terminology
ExampleMetadata: fixture=_generated
Properties
AttrArn
The Amazon Resource Name (ARN) of the custom terminology.
public virtual string AttrArn { get; }
Property Value
Remarks
CloudformationAttribute: Arn
AttrCreatedAt
The time the terminology was created.
public virtual string AttrCreatedAt { get; }
Property Value
Remarks
CloudformationAttribute: CreatedAt
AttrDirectionality
The directionality of the terminology.
public virtual string AttrDirectionality { get; }
Property Value
Remarks
CloudformationAttribute: Directionality
AttrFormat
The format of the terminology data.
public virtual string AttrFormat { get; }
Property Value
Remarks
CloudformationAttribute: Format
AttrLastUpdatedAt
The time the terminology was last updated.
public virtual string AttrLastUpdatedAt { get; }
Property Value
Remarks
CloudformationAttribute: LastUpdatedAt
AttrSizeBytes
The size of the terminology file in bytes.
public virtual double AttrSizeBytes { get; }
Property Value
Remarks
CloudformationAttribute: SizeBytes
AttrSourceLanguageCode
The source language code for the custom terminology.
public virtual string AttrSourceLanguageCode { get; }
Property Value
Remarks
CloudformationAttribute: SourceLanguageCode
AttrTargetLanguageCodes
The target language codes for the custom terminology.
public virtual string[] AttrTargetLanguageCodes { get; }
Property Value
string[]
Remarks
CloudformationAttribute: TargetLanguageCodes
AttrTermCount
The number of terms in the custom terminology.
public virtual double AttrTermCount { get; }
Property Value
Remarks
CloudformationAttribute: TermCount
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
Remarks
CloudformationResource: AWS::Translate::Terminology
ExampleMetadata: fixture=_generated
CdkTagManager
Tag Manager which manages the tags for this resource.
public virtual TagManager CdkTagManager { get; }
Property Value
Remarks
CloudformationResource: AWS::Translate::Terminology
ExampleMetadata: fixture=_generated
CfnProperties
A custom terminology resource for Amazon Translate that enables customized translations.
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
Overrides
Remarks
CloudformationResource: AWS::Translate::Terminology
ExampleMetadata: fixture=_generated
CfnPropertyNames
A custom terminology resource for Amazon Translate that enables customized translations.
protected override IDictionary<string, string> CfnPropertyNames { get; }
Property Value
Overrides
Remarks
CloudformationResource: AWS::Translate::Terminology
ExampleMetadata: fixture=_generated
Description
The description of the custom terminology.
public virtual string? Description { get; set; }
Property Value
Remarks
CloudformationResource: AWS::Translate::Terminology
ExampleMetadata: fixture=_generated
EncryptionKey
The encryption key for the custom terminology.
public virtual object? EncryptionKey { get; set; }
Property Value
Remarks
Type union: either IResolvable or CfnTerminology.IEncryptionKeyProperty
MergeStrategy
The merge strategy for the custom terminology.
public virtual string? MergeStrategy { get; set; }
Property Value
Remarks
CloudformationResource: AWS::Translate::Terminology
ExampleMetadata: fixture=_generated
Name
The name of the custom terminology.
public virtual string Name { get; set; }
Property Value
Remarks
CloudformationResource: AWS::Translate::Terminology
ExampleMetadata: fixture=_generated
Tags
Tags associated with the terminology.
public virtual CfnTerminology.ITagsItemsProperty[]? Tags { get; set; }
Property Value
Remarks
CloudformationResource: AWS::Translate::Terminology
ExampleMetadata: fixture=_generated
TerminologyData
The terminology data for the custom terminology being imported.
public virtual object? TerminologyData { get; set; }
Property Value
Remarks
Type union: either IResolvable or CfnTerminology.ITerminologyDataProperty
TerminologyRef
A reference to a Terminology resource.
public virtual ITerminologyReference TerminologyRef { get; }
Property Value
Remarks
CloudformationResource: AWS::Translate::Terminology
ExampleMetadata: fixture=_generated
Methods
ArnForTerminology(ITerminologyRef)
A custom terminology resource for Amazon Translate that enables customized translations.
public static string ArnForTerminology(ITerminologyRef resource)
Parameters
- resource ITerminologyRef
Returns
Remarks
CloudformationResource: AWS::Translate::Terminology
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Translate;
var cfnTerminology = new CfnTerminology(this, "MyCfnTerminology", new CfnTerminologyProps {
Name = "name",
// the properties below are optional
Description = "description",
EncryptionKey = new EncryptionKeyProperty {
Id = "id",
Type = "type"
},
MergeStrategy = "mergeStrategy",
Tags = new [] { new TagsItemsProperty {
Key = "key",
Value = "value"
} },
TerminologyData = new TerminologyDataProperty {
File = "file",
Format = "format",
// the properties below are optional
Directionality = "directionality"
}
});
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
Remarks
CloudformationResource: AWS::Translate::Terminology
ExampleMetadata: fixture=_generated
IsCfnTerminology(object)
Checks whether the given object is a CfnTerminology.
public static bool IsCfnTerminology(object x)
Parameters
- x object
Returns
Remarks
CloudformationResource: AWS::Translate::Terminology
ExampleMetadata: fixture=_generated
RenderProperties(IDictionary<string, object>)
A custom terminology resource for Amazon Translate that enables customized translations.
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props IDictionary<string, object>
Returns
Overrides
Remarks
CloudformationResource: AWS::Translate::Terminology
ExampleMetadata: fixture=_generated