import * as cdk from "../../core/lib"; import * as constructs from "constructs"; import * as cfn_parse from "../../core/lib/helpers-internal"; import { ISearchJobRef, SearchJobReference } from "../../interfaces/generated/aws-backupsearch-interfaces.generated"; /** * Definition of AWS::BackupSearch::SearchJob Resource Type. * * @cloudformationResource AWS::BackupSearch::SearchJob * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-backupsearch-searchjob.html */ export declare class CfnSearchJob extends cdk.CfnResource implements cdk.IInspectable, ISearchJobRef, cdk.ITaggableV2 { /** * The CloudFormation resource type name for this resource class. */ static readonly CFN_RESOURCE_TYPE_NAME: string; /** * Build a CfnSearchJob 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): CfnSearchJob; /** * Checks whether the given object is a CfnSearchJob */ static isCfnSearchJob(x: any): x is CfnSearchJob; static arnForSearchJob(resource: ISearchJobRef): string; /** * Tag Manager which manages the tags for this resource */ readonly cdkTagManager: cdk.TagManager; /** * The name of the search job. */ private _name?; /** * The search scope for the search job. */ private _searchScope; /** * Tags associated with the search job. */ private _tags?; protected readonly cfnPropertyNames: Record; /** * Create a new `AWS::BackupSearch::SearchJob`. * * @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: CfnSearchJobProps); get searchJobRef(): SearchJobReference; /** * The name of the search job. */ get name(): string | undefined; /** * The name of the search job. */ set name(value: string | undefined); /** * The search scope for the search job. */ get searchScope(): cdk.IResolvable | CfnSearchJob.SearchScopeProperty; /** * The search scope for the search job. */ set searchScope(value: cdk.IResolvable | CfnSearchJob.SearchScopeProperty); /** * Tags associated with the search job. */ get tags(): Array | undefined; /** * Tags associated with the search job. */ set tags(value: Array | undefined); /** * The date and time the search job was created. * * @cloudformationAttribute CreationTime */ get attrCreationTime(): string; /** * The Amazon Resource Name (ARN) of the search job. * * @cloudformationAttribute SearchJobArn */ get attrSearchJobArn(): string; /** * The unique identifier of the search job. * * @cloudformationAttribute SearchJobIdentifier */ get attrSearchJobIdentifier(): string; /** * The current status of the search job. * * @cloudformationAttribute Status */ get attrStatus(): 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; } export declare namespace CfnSearchJob { /** * The search scope for the search job. * * @struct * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backupsearch-searchjob-searchscope.html */ interface SearchScopeProperty { /** * The resource types included in a search. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backupsearch-searchjob-searchscope.html#cfn-backupsearch-searchjob-searchscope-backupresourcetypes */ readonly backupResourceTypes: Array; } /** * @struct * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backupsearch-searchjob-tagsitems.html */ interface TagsItemsProperty { /** * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backupsearch-searchjob-tagsitems.html#cfn-backupsearch-searchjob-tagsitems-key */ readonly key: string; /** * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backupsearch-searchjob-tagsitems.html#cfn-backupsearch-searchjob-tagsitems-value */ readonly value: string; } } /** * Properties for defining a `CfnSearchJob` * * @struct * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-backupsearch-searchjob.html */ export interface CfnSearchJobProps { /** * The name of the search job. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-backupsearch-searchjob.html#cfn-backupsearch-searchjob-name */ readonly name?: string; /** * The search scope for the search job. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-backupsearch-searchjob.html#cfn-backupsearch-searchjob-searchscope */ readonly searchScope: cdk.IResolvable | CfnSearchJob.SearchScopeProperty; /** * Tags associated with the search job. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-backupsearch-searchjob.html#cfn-backupsearch-searchjob-tags */ readonly tags?: Array; } export type { ISearchJobRef, SearchJobReference };