import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Manages an Amazon Bedrock Data Automation Library. A library holds entities, such as custom vocabulary, that a project uses when it processes files. * * ## Example Usage * * ### Basic Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = new aws.bedrockdataautomation.Library("example", { * name: "example", * description: "Medical vocabulary", * }); * ``` * * ### Use With a Project * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = new aws.bedrockdataautomation.Library("example", {name: "example"}); * const exampleProject = new aws.bedrockdataautomation.Project("example", { * dataAutomationLibraryConfiguration: { * library: { * libraryArn: example.arn, * }, * }, * name: "example", * }); * ``` * * ## Import * * ### Identity Schema * * #### Required * * * `arn` (String) ARN of the library. * * Using `pulumi import`, import Bedrock Data Automation Library using the `arn`. For example: * * ```sh * $ pulumi import aws:bedrockdataautomation/library:Library example arn:aws:bedrock:us-west-2:123456789012:data-automation-library/abcd1234efgh * ``` */ export declare class Library extends pulumi.CustomResource { /** * Get an existing Library 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?: LibraryState, opts?: pulumi.CustomResourceOptions): Library; /** * Check whether an existing Library 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?: LibraryState, opts?: pulumi.CustomResourceOptions): pulumi.Output; /** * Returns true if the given object is an instance of Library. 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 Library; /** * ARN of the library. */ readonly arn: pulumi.Output; /** * Time the library was created, in RFC3339 format. */ readonly creationTime: pulumi.Output; /** * Description of the library. Removing the description forces a new resource, because the service can't remove a description from an existing library. */ readonly description: pulumi.Output; /** * Encryption settings for the library. Changing this block forces a new resource. See `encryptionConfiguration` Block below. */ readonly encryptionConfiguration: pulumi.Output; /** * Entity types in the library. See `entityTypes` Block below. */ readonly entityTypes: pulumi.Output; /** * Name of the library. Changing this value forces a new resource. * * The following arguments are optional: */ 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; /** * Status of the library. */ 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; /** * Create a Library 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?: LibraryArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Library resources. */ export interface LibraryState { /** * ARN of the library. */ arn?: pulumi.Input; /** * Time the library was created, in RFC3339 format. */ creationTime?: pulumi.Input; /** * Description of the library. Removing the description forces a new resource, because the service can't remove a description from an existing library. */ description?: pulumi.Input; /** * Encryption settings for the library. Changing this block forces a new resource. See `encryptionConfiguration` Block below. */ encryptionConfiguration?: pulumi.Input; /** * Entity types in the library. See `entityTypes` Block below. */ entityTypes?: pulumi.Input[] | undefined>; /** * Name of the library. Changing this value forces a new resource. * * The following arguments are optional: */ 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; /** * Status of the library. */ 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; } /** * The set of arguments for constructing a Library resource. */ export interface LibraryArgs { /** * Description of the library. Removing the description forces a new resource, because the service can't remove a description from an existing library. */ description?: pulumi.Input; /** * Encryption settings for the library. Changing this block forces a new resource. See `encryptionConfiguration` Block below. */ encryptionConfiguration?: pulumi.Input; /** * Name of the library. Changing this value forces a new resource. * * The following arguments are optional: */ 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; /** * 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; } //# sourceMappingURL=library.d.ts.map