import * as cdk from "../../core/lib"; import * as constructs from "constructs"; import * as cfn_parse from "../../core/lib/helpers-internal"; import { IPerfReportsRef, PerfReportsReference } from "../../interfaces/generated/aws-pi-interfaces.generated"; /** * Creates and manages a Performance Insights performance analysis report for a specified DB instance. * * @cloudformationResource AWS::PI::PerfReports * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pi-perfreports.html */ export declare class CfnPerfReports extends cdk.CfnResource implements cdk.IInspectable, IPerfReportsRef, cdk.ITaggableV2 { /** * The CloudFormation resource type name for this resource class. */ static readonly CFN_RESOURCE_TYPE_NAME: string; /** * Build a CfnPerfReports 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): CfnPerfReports; /** * Checks whether the given object is a CfnPerfReports */ static isCfnPerfReports(x: any): x is CfnPerfReports; static arnForPerfReports(resource: IPerfReportsRef): string; /** * Tag Manager which manages the tags for this resource */ readonly cdkTagManager: cdk.TagManager; /** * The end time defined for the analysis report in ISO 8601 format. */ private _endTime; /** * An immutable, AWS Region-unique identifier for a data source. */ private _identifier; /** * The AWS service for which Performance Insights returns metrics. */ private _serviceType; /** * The start time defined for the analysis report in ISO 8601 format. */ private _startTime; /** * An array of key-value pairs to apply to this resource. */ private _tags?; protected readonly cfnPropertyNames: Record; /** * Create a new `AWS::PI::PerfReports`. * * @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: CfnPerfReportsProps); get perfReportsRef(): PerfReportsReference; /** * The end time defined for the analysis report in ISO 8601 format. */ get endTime(): string; /** * The end time defined for the analysis report in ISO 8601 format. */ set endTime(value: string); /** * An immutable, AWS Region-unique identifier for a data source. */ get identifier(): string; /** * An immutable, AWS Region-unique identifier for a data source. */ set identifier(value: string); /** * The AWS service for which Performance Insights returns metrics. */ get serviceType(): string; /** * The AWS service for which Performance Insights returns metrics. */ set serviceType(value: string); /** * The start time defined for the analysis report in ISO 8601 format. */ get startTime(): string; /** * The start time defined for the analysis report in ISO 8601 format. */ set startTime(value: string); /** * An array of key-value pairs to apply to this resource. */ get tags(): Array | undefined; /** * An array of key-value pairs to apply to this resource. */ set tags(value: Array | undefined); /** * A unique identifier for the analysis report. * * @cloudformationAttribute AnalysisReportId */ get attrAnalysisReportId(): string; /** * The Amazon Resource Name (ARN) of the performance analysis report. * * @cloudformationAttribute Arn */ get attrArn(): string; /** * The time the analysis report was created in ISO 8601 format. * * @cloudformationAttribute CreateTime */ get attrCreateTime(): string; /** * The status of the analysis report. * * @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; } /** * Properties for defining a `CfnPerfReports` * * @struct * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pi-perfreports.html */ export interface CfnPerfReportsProps { /** * The end time defined for the analysis report in ISO 8601 format. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pi-perfreports.html#cfn-pi-perfreports-endtime */ readonly endTime: string; /** * An immutable, AWS Region-unique identifier for a data source. * * Performance Insights gathers metrics from this data source. To use an Amazon RDS instance as a data source, specify its DbiResourceId value. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pi-perfreports.html#cfn-pi-perfreports-identifier */ readonly identifier: string; /** * The AWS service for which Performance Insights returns metrics. * * Valid values are RDS and DOCDB. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pi-perfreports.html#cfn-pi-perfreports-servicetype */ readonly serviceType: string; /** * The start time defined for the analysis report in ISO 8601 format. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pi-perfreports.html#cfn-pi-perfreports-starttime */ readonly startTime: string; /** * An array of key-value pairs to apply to this resource. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pi-perfreports.html#cfn-pi-perfreports-tags */ readonly tags?: Array; } export type { IPerfReportsRef, PerfReportsReference };