import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Manages an Amazon Bedrock Data Automation Project. A project defines the standard output that Amazon Bedrock Data Automation extracts from files and the blueprints it uses for custom output. * * > **NOTE:** Amazon Bedrock Data Automation fills in default values for settings in `standardOutputConfiguration` and `overrideConfiguration` that you don't set. Terraform keeps only the blocks and arguments you set in those two configurations, so the service defaults don't appear in state. Changes made outside Terraform to settings you haven't set aren't detected. * * ## Example Usage * * ### Basic Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = new aws.bedrockdataautomation.Project("example", {name: "example"}); * ``` * * ### Standard and Custom Output * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = new aws.bedrockdataautomation.Blueprint("example", {}); * const exampleProject = new aws.bedrockdataautomation.Project("example", { * standardOutputConfiguration: { * document: { * extraction: { * boundingBox: { * state: "ENABLED", * }, * granularity: { * types: [ * "PAGE", * "ELEMENT", * ], * }, * }, * generativeField: { * state: "ENABLED", * }, * outputFormat: { * additionalFileFormat: { * state: "DISABLED", * }, * textFormat: { * types: ["MARKDOWN"], * }, * }, * }, * }, * customOutputConfiguration: { * blueprints: [{ * blueprintArn: example.arn, * blueprintStage: "LIVE", * }], * }, * overrideConfiguration: { * document: { * splitter: { * state: "ENABLED", * }, * }, * }, * name: "example", * description: "Pay stub processing", * }); * ``` * * ## Import * * Import doesn't populate `standardOutputConfiguration` or `overrideConfiguration`. The next plan shows them as updates, and applying the plan sends the configured values to the service. * * ### Identity Schema * * #### Required * * * `arn` (String) ARN of the project. * * Using `pulumi import`, import Bedrock Data Automation Project using the `arn`. For example: * * ```sh * $ pulumi import aws:bedrockdataautomation/project:Project example arn:aws:bedrock:us-west-2:123456789012:data-automation-project/abcd1234efgh * ``` */ export declare class Project extends pulumi.CustomResource { /** * Get an existing Project resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: ProjectState, opts?: pulumi.CustomResourceOptions): Project; /** * Check whether an existing Project resource with the given ID exists. * * @param id The _unique_ provider ID of the resource to check. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static exists(id: pulumi.Input, state?: ProjectState, opts?: pulumi.CustomResourceOptions): pulumi.Output; /** * Returns true if the given object is an instance of Project. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Project; /** * ARN of the project. */ readonly arn: pulumi.Output; /** * Time the project was created, in RFC3339 format. */ readonly creationTime: pulumi.Output; /** * Blueprints used for custom output. See `customOutputConfiguration` Block below. */ readonly customOutputConfiguration: pulumi.Output; /** * Data automation libraries used by the project. See `dataAutomationLibraryConfiguration` Block below. */ readonly dataAutomationLibraryConfiguration: pulumi.Output; /** * Description of the project. */ readonly description: pulumi.Output; /** * Encryption settings for the project. See `encryptionConfiguration` Block below. */ readonly encryptionConfiguration: pulumi.Output; /** * Time the project was last modified, in RFC3339 format. */ readonly lastModifiedTime: pulumi.Output; /** * Name of the project. Changing this value forces a new resource. * * The following arguments are optional: */ readonly name: pulumi.Output; /** * Processing overrides for each modality. See `overrideConfiguration` Block below. */ readonly overrideConfiguration: pulumi.Output; /** * Stage of the project. */ readonly projectStage: pulumi.Output; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ readonly region: pulumi.Output; /** * Standard output to extract for each modality. See `standardOutputConfiguration` Block below. */ readonly standardOutputConfiguration: pulumi.Output; /** * Status of the project. */ readonly status: pulumi.Output; /** * Map of tags assigned to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. */ readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; /** * Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. */ readonly tagsAll: pulumi.Output<{ [key: string]: string; }>; readonly timeouts: pulumi.Output; /** * Type of API the project works with. Valid values: `ASYNC`, `SYNC`. Defaults to `ASYNC`. Changing this value forces a new resource. */ readonly type: pulumi.Output; /** * Create a Project resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args?: ProjectArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Project resources. */ export interface ProjectState { /** * ARN of the project. */ arn?: pulumi.Input; /** * Time the project was created, in RFC3339 format. */ creationTime?: pulumi.Input; /** * Blueprints used for custom output. See `customOutputConfiguration` Block below. */ customOutputConfiguration?: pulumi.Input; /** * Data automation libraries used by the project. See `dataAutomationLibraryConfiguration` Block below. */ dataAutomationLibraryConfiguration?: pulumi.Input; /** * Description of the project. */ description?: pulumi.Input; /** * Encryption settings for the project. See `encryptionConfiguration` Block below. */ encryptionConfiguration?: pulumi.Input; /** * Time the project was last modified, in RFC3339 format. */ lastModifiedTime?: pulumi.Input; /** * Name of the project. Changing this value forces a new resource. * * The following arguments are optional: */ name?: pulumi.Input; /** * Processing overrides for each modality. See `overrideConfiguration` Block below. */ overrideConfiguration?: pulumi.Input; /** * Stage of the project. */ projectStage?: pulumi.Input; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: pulumi.Input; /** * Standard output to extract for each modality. See `standardOutputConfiguration` Block below. */ standardOutputConfiguration?: pulumi.Input; /** * Status of the project. */ status?: pulumi.Input; /** * Map of tags assigned to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. */ tagsAll?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; timeouts?: pulumi.Input; /** * Type of API the project works with. Valid values: `ASYNC`, `SYNC`. Defaults to `ASYNC`. Changing this value forces a new resource. */ type?: pulumi.Input; } /** * The set of arguments for constructing a Project resource. */ export interface ProjectArgs { /** * Blueprints used for custom output. See `customOutputConfiguration` Block below. */ customOutputConfiguration?: pulumi.Input; /** * Data automation libraries used by the project. See `dataAutomationLibraryConfiguration` Block below. */ dataAutomationLibraryConfiguration?: pulumi.Input; /** * Description of the project. */ description?: pulumi.Input; /** * Encryption settings for the project. See `encryptionConfiguration` Block below. */ encryptionConfiguration?: pulumi.Input; /** * Name of the project. Changing this value forces a new resource. * * The following arguments are optional: */ name?: pulumi.Input; /** * Processing overrides for each modality. See `overrideConfiguration` Block below. */ overrideConfiguration?: pulumi.Input; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: pulumi.Input; /** * Standard output to extract for each modality. See `standardOutputConfiguration` Block below. */ standardOutputConfiguration?: pulumi.Input; /** * Map of tags assigned to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; timeouts?: pulumi.Input; /** * Type of API the project works with. Valid values: `ASYNC`, `SYNC`. Defaults to `ASYNC`. Changing this value forces a new resource. */ type?: pulumi.Input; } //# sourceMappingURL=project.d.ts.map