import * as cdk from "../../core/lib"; import * as constructs from "constructs"; import * as cfn_parse from "../../core/lib/helpers-internal"; import { AdapterReference, IAdapterRef } from "../../interfaces/generated/aws-textract-interfaces.generated"; /** * The AWS::Textract::Adapter resource creates an Amazon Textract adapter, which can be fine-tuned for enhanced performance on user-provided documents. * * @cloudformationResource AWS::Textract::Adapter * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-textract-adapter.html */ export declare class CfnAdapter extends cdk.CfnResource implements cdk.IInspectable, IAdapterRef, cdk.ITaggableV2 { /** * The CloudFormation resource type name for this resource class. */ static readonly CFN_RESOURCE_TYPE_NAME: string; /** * Build a CfnAdapter from CloudFormation properties * * A factory method that creates a new instance of this class from an object * containing the CloudFormation properties of this resource. * Used in the @aws-cdk/cloudformation-include module. * * @internal */ static _fromCloudFormation(scope: constructs.Construct, id: string, resourceAttributes: any, options: cfn_parse.FromCloudFormationOptions): CfnAdapter; /** * Checks whether the given object is a CfnAdapter */ static isCfnAdapter(x: any): x is CfnAdapter; static arnForAdapter(resource: IAdapterRef): string; /** * The name to be assigned to the adapter being created. */ private _adapterName; /** * Controls whether or not the adapter should automatically update. */ private _autoUpdate?; /** * Tag Manager which manages the tags for this resource */ readonly cdkTagManager: cdk.TagManager; /** * The description to be assigned to the adapter being created. */ private _description?; /** * The type of feature that the adapter is being trained on. */ private _featureTypes; /** * A list of tags to be added to the adapter. */ private _tags?; protected readonly cfnPropertyNames: Record; /** * Create a new `AWS::Textract::Adapter`. * * @param scope Scope in which this resource is defined * @param id Construct identifier for this resource (unique in its scope) * @param props Resource properties */ constructor(scope: constructs.Construct, id: string, props: CfnAdapterProps); get adapterRef(): AdapterReference; /** * The name to be assigned to the adapter being created. */ get adapterName(): string; /** * The name to be assigned to the adapter being created. */ set adapterName(value: string); /** * Controls whether or not the adapter should automatically update. */ get autoUpdate(): string | undefined; /** * Controls whether or not the adapter should automatically update. */ set autoUpdate(value: string | undefined); /** * The description to be assigned to the adapter being created. */ get description(): string | undefined; /** * The description to be assigned to the adapter being created. */ set description(value: string | undefined); /** * The type of feature that the adapter is being trained on. */ get featureTypes(): Array; /** * The type of feature that the adapter is being trained on. */ set featureTypes(value: Array); /** * A list of tags to be added to the adapter. */ get tags(): Array | undefined; /** * A list of tags to be added to the adapter. */ set tags(value: Array | undefined); /** * A unique identifier for the adapter resource. * * @cloudformationAttribute AdapterId */ get attrAdapterId(): string; /** * The Amazon Resource Name (ARN) of the adapter. * * @cloudformationAttribute Arn */ get attrArn(): string; /** * The date and time that the adapter was created. * * @cloudformationAttribute CreationTime */ get attrCreationTime(): string; protected get cfnProperties(): Record; /** * Examines the CloudFormation resource and discloses attributes * * @param inspector tree inspector to collect and process attributes */ inspect(inspector: cdk.TreeInspector): void; protected renderProperties(props: Record): Record; } /** * Properties for defining a `CfnAdapter` * * @struct * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-textract-adapter.html */ export interface CfnAdapterProps { /** * The name to be assigned to the adapter being created. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-textract-adapter.html#cfn-textract-adapter-adaptername */ readonly adapterName: string; /** * Controls whether or not the adapter should automatically update. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-textract-adapter.html#cfn-textract-adapter-autoupdate */ readonly autoUpdate?: string; /** * The description to be assigned to the adapter being created. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-textract-adapter.html#cfn-textract-adapter-description */ readonly description?: string; /** * The type of feature that the adapter is being trained on. * * Currently, supported feature types are: QUERIES * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-textract-adapter.html#cfn-textract-adapter-featuretypes */ readonly featureTypes: Array; /** * A list of tags to be added to the adapter. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-textract-adapter.html#cfn-textract-adapter-tags */ readonly tags?: Array; } export type { IAdapterRef, AdapterReference };