Class CfnAdapterProps
Properties for defining a CfnAdapter.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.Textract
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnAdapterProps : ICfnAdapterProps
Syntax (vb)
Public Class CfnAdapterProps Implements ICfnAdapterProps
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-textract-adapter.html
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.Textract;
var cfnAdapterProps = new CfnAdapterProps {
AdapterName = "adapterName",
FeatureTypes = new [] { "featureTypes" },
// the properties below are optional
AutoUpdate = "autoUpdate",
Description = "description",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Constructors
| CfnAdapterProps() | Properties for defining a |
Properties
| AdapterName | The name to be assigned to the adapter being created. |
| AutoUpdate | Controls whether or not the adapter should automatically update. |
| Description | The description to be assigned to the adapter being created. |
| FeatureTypes | The type of feature that the adapter is being trained on. |
| Tags | A list of tags to be added to the adapter. |
Constructors
CfnAdapterProps()
Properties for defining a CfnAdapter.
public CfnAdapterProps()
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-textract-adapter.html
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.Textract;
var cfnAdapterProps = new CfnAdapterProps {
AdapterName = "adapterName",
FeatureTypes = new [] { "featureTypes" },
// the properties below are optional
AutoUpdate = "autoUpdate",
Description = "description",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Properties
AdapterName
The name to be assigned to the adapter being created.
public string AdapterName { get; set; }
Property Value
Remarks
AutoUpdate
Controls whether or not the adapter should automatically update.
public string? AutoUpdate { get; set; }
Property Value
Remarks
Description
The description to be assigned to the adapter being created.
public string? Description { get; set; }
Property Value
Remarks
FeatureTypes
The type of feature that the adapter is being trained on.
public string[] FeatureTypes { get; set; }
Property Value
string[]
Remarks
Currently, supported feature types are: QUERIES
Tags
A list of tags to be added to the adapter.
public ICfnTag[]? Tags { get; set; }
Property Value
ICfnTag[]