import * as pulumi from "@pulumi/pulumi"; /** * Manages an AWS Bedrock Use Case For Model Access. * * **This is an advanced resource** and has special caveats to be aware of when using it. Please read this document in its entirety before using this resource. * * The `aws.bedrock.UseCaseForModelAccess` resource behaves differently from normal resources in that if an Use Case For Model Access already exists, Terraform does not _create_ this resource, but instead "adopts" it into management if it is the same. As the ability to update doesn't exist, changes compared to the existing resource generate an error. * If no Use Case For Model Access exists, Terraform creates a new Use Case For Model Access. * By default, `terraform destroy` does not delete the Use Case For Model Access but does remove the resource from Terraform state. Real deletion does not exist for this resource. * * ## Example Usage * * ### Basic Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = new aws.bedrock.UseCaseForModelAccess("example", {formData: JSON.stringify({ * companyName: "AWS Provider", * companyWebsite: "https://www.test.com", * intendedUsers: "0", * industryOption: "Energy", * otherIndustryOption: "", * useCases: `. - Generating developer documentation * - Code generation/refactoring * - Summarization of issues / documents`, * })}); * ``` * * ## Import * * ### Identity Schema * * #### Optional * * * `accountId` (String) AWS Account where this resource is managed. * * Using `pulumi import`, import AWS Bedrock Use Case For Model Access resources using the AWS account ID. For example: * * ```sh * $ pulumi import aws:bedrock/useCaseForModelAccess:UseCaseForModelAccess example 123456789012 * ``` */ export declare class UseCaseForModelAccess extends pulumi.CustomResource { /** * Get an existing UseCaseForModelAccess 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?: UseCaseForModelAccessState, opts?: pulumi.CustomResourceOptions): UseCaseForModelAccess; /** * Returns true if the given object is an instance of UseCaseForModelAccess. 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 UseCaseForModelAccess; /** * Form data from the Anthropic first time user request. See also the example [payload](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_PutUseCaseForModelAccess.html#API_PutUseCaseForModelAccess_Examples). * * The following arguments are optional: */ readonly formData: pulumi.Output; /** * Create a UseCaseForModelAccess 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: UseCaseForModelAccessArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering UseCaseForModelAccess resources. */ export interface UseCaseForModelAccessState { /** * Form data from the Anthropic first time user request. See also the example [payload](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_PutUseCaseForModelAccess.html#API_PutUseCaseForModelAccess_Examples). * * The following arguments are optional: */ formData?: pulumi.Input; } /** * The set of arguments for constructing a UseCaseForModelAccess resource. */ export interface UseCaseForModelAccessArgs { /** * Form data from the Anthropic first time user request. See also the example [payload](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_PutUseCaseForModelAccess.html#API_PutUseCaseForModelAccess_Examples). * * The following arguments are optional: */ formData: pulumi.Input; } //# sourceMappingURL=useCaseForModelAccess.d.ts.map