import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Manages an Amazon Bedrock Data Automation Blueprint. A blueprint defines the fields to extract from a document, image, audio, or video file. * * ## Example Usage * * ### Basic Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = new aws.bedrockdataautomation.Blueprint("example", { * name: "example", * type: "DOCUMENT", * schema: JSON.stringify({ * $schema: "http://json-schema.org/draft-07/schema#", * description: "Pay stub", * "class": "Pay stub", * type: "object", * definitions: {}, * properties: { * gross_pay: { * type: "number", * inferenceType: "explicit", * instruction: "The gross pay for this pay period", * }, * net_pay: { * type: "number", * inferenceType: "explicit", * instruction: "The net pay for this pay period", * }, * }, * }), * }); * ``` * * #### Required * * * `arn` (String) ARN of the blueprint. * * Using `pulumi import`, import Bedrock Data Automation Blueprint using the `arn`. For example: * * ```sh * $ pulumi import aws:bedrockdataautomation/blueprint:Blueprint example arn:aws:bedrock:us-west-2:123456789012:blueprint/abcd1234efgh * ``` */ export declare class Blueprint extends pulumi.CustomResource { /** * Get an existing Blueprint 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?: BlueprintState, opts?: pulumi.CustomResourceOptions): Blueprint; /** * Check whether an existing Blueprint 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?: BlueprintState, opts?: pulumi.CustomResourceOptions): pulumi.Output; /** * Returns true if the given object is an instance of Blueprint. 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 Blueprint; /** * ARN of the blueprint. */ readonly arn: pulumi.Output; /** * Stage of the blueprint. */ readonly blueprintStage: pulumi.Output; /** * Time the blueprint was created, in RFC3339 format. */ readonly creationTime: pulumi.Output; /** * Encryption settings for the blueprint. See `encryptionConfiguration` below. */ readonly encryptionConfiguration: pulumi.Output; /** * Time the blueprint was last modified, in RFC3339 format. */ readonly lastModifiedTime: pulumi.Output; /** * Name of the blueprint. Changing this value forces a new resource. */ readonly name: 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; /** * JSON schema of the blueprint, defining the fields to extract. */ readonly schema: 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; }>; /** * Modality of the blueprint. Valid values: `DOCUMENT`, `IMAGE`, `AUDIO`, `VIDEO`. Changing this value forces a new resource. * * The following arguments are optional: */ readonly type: pulumi.Output; /** * Create a Blueprint 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: BlueprintArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Blueprint resources. */ export interface BlueprintState { /** * ARN of the blueprint. */ arn?: pulumi.Input; /** * Stage of the blueprint. */ blueprintStage?: pulumi.Input; /** * Time the blueprint was created, in RFC3339 format. */ creationTime?: pulumi.Input; /** * Encryption settings for the blueprint. See `encryptionConfiguration` below. */ encryptionConfiguration?: pulumi.Input; /** * Time the blueprint was last modified, in RFC3339 format. */ lastModifiedTime?: pulumi.Input; /** * Name of the blueprint. Changing this value forces a new resource. */ name?: 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; /** * JSON schema of the blueprint, defining the fields to extract. */ schema?: 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>; /** * Modality of the blueprint. Valid values: `DOCUMENT`, `IMAGE`, `AUDIO`, `VIDEO`. Changing this value forces a new resource. * * The following arguments are optional: */ type?: pulumi.Input; } /** * The set of arguments for constructing a Blueprint resource. */ export interface BlueprintArgs { /** * Encryption settings for the blueprint. See `encryptionConfiguration` below. */ encryptionConfiguration?: pulumi.Input; /** * Name of the blueprint. Changing this value forces a new resource. */ name?: 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; /** * JSON schema of the blueprint, defining the fields to extract. */ schema: 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>; /** * Modality of the blueprint. Valid values: `DOCUMENT`, `IMAGE`, `AUDIO`, `VIDEO`. Changing this value forces a new resource. * * The following arguments are optional: */ type: pulumi.Input; } //# sourceMappingURL=blueprint.d.ts.map