import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Manages an AWS Bedrock Foundation Model Agreement. * * ## Example Usage * * ### Basic Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.bedrockfoundation.getModelAgreementOffers({ * modelId: "eu.anthropic.claude-opus-4-5-20251101-v1:0", * offerType: "PUBLIC", * }); * const exampleModelAgreement = new aws.bedrockfoundation.ModelAgreement("example", { * modelId: example.then(example => example.modelId), * offerToken: example.then(example => example.offers?.[0]?.offerToken), * }, { * ignoreChanges: ["offerToken"], * }); * ``` * * ## Import * * ### Identity Schema * * #### Required * * * `modelId` - Model ID argument of the Foundation Model Agreement. * * #### Optional * * * `accountId` (String) AWS Account where this resource is managed. * * `region` (String) Region where this resource is managed. * * Using `pulumi import`, import Bedrock Foundation Model Agreement using the `modelId`. For example: * * ```sh * $ pulumi import aws:bedrockfoundation/modelAgreement:ModelAgreement example eu.anthropic.claude-opus-4-5-20251101-v1:0 * ``` */ export declare class ModelAgreement extends pulumi.CustomResource { /** * Get an existing ModelAgreement 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?: ModelAgreementState, opts?: pulumi.CustomResourceOptions): ModelAgreement; /** * Returns true if the given object is an instance of ModelAgreement. 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 ModelAgreement; /** * Model ID for the access request. */ readonly modelId: pulumi.Output; /** * Offer token encapsulates information for an offer. * * The following arguments are optional: */ readonly offerToken: pulumi.Output; /** * Region where this action should be [run](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; readonly timeouts: pulumi.Output; /** * Create a ModelAgreement 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: ModelAgreementArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ModelAgreement resources. */ export interface ModelAgreementState { /** * Model ID for the access request. */ modelId?: pulumi.Input; /** * Offer token encapsulates information for an offer. * * The following arguments are optional: */ offerToken?: pulumi.Input; /** * Region where this action should be [run](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: pulumi.Input; timeouts?: pulumi.Input; } /** * The set of arguments for constructing a ModelAgreement resource. */ export interface ModelAgreementArgs { /** * Model ID for the access request. */ modelId: pulumi.Input; /** * Offer token encapsulates information for an offer. * * The following arguments are optional: */ offerToken: pulumi.Input; /** * Region where this action should be [run](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: pulumi.Input; timeouts?: pulumi.Input; } //# sourceMappingURL=modelAgreement.d.ts.map