import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Manage an Amazon SageMaker Model Card. * * ## Example Usage * * Basic usage: * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = new aws.sagemaker.ModelCard("example", { * modelCardName: "my-model-card", * modelCardStatus: "Draft", * content: `{ * \\"business_details\\": { * \\"business_problem\\": \\"Quality\\" * }, * \\"intended_uses\\": { * \\"intended_uses\\": \\"Testing\\" * }, * \\"additional_information\\": { * \\"caveats_and_recommendations\\": \\"Use this\\" * } * } * `, * }); * ``` * * ## Import * * Using `pulumi import`, import model cards using the `modelCardName`. For example: * * ```sh * $ pulumi import aws:sagemaker/modelCard:ModelCard example my-model-card * ``` */ export declare class ModelCard extends pulumi.CustomResource { /** * Get an existing ModelCard 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?: ModelCardState, opts?: pulumi.CustomResourceOptions): ModelCard; /** * Returns true if the given object is an instance of ModelCard. 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 ModelCard; /** * Content of the model card in [model card JSON schema](https://docs.aws.amazon.com/sagemaker/latest/dg/model-cards.html#model-cards-json-schema). */ readonly content: pulumi.Output; /** * ARN of the model card. */ readonly modelCardArn: pulumi.Output; /** * Name of the model card. */ readonly modelCardName: pulumi.Output; /** * Approval status of the model card. Valid values: `Draft`, `PendingReview`, `Approved`, `Archived`. */ readonly modelCardStatus: 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; /** * KMS key to encrypt, decrypt, and re-encrypt model card content. Fields are documented below. */ readonly securityConfig: pulumi.Output; /** * A mapping of tags to assign 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>; /** * A 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 ModelCard 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: ModelCardArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ModelCard resources. */ export interface ModelCardState { /** * Content of the model card in [model card JSON schema](https://docs.aws.amazon.com/sagemaker/latest/dg/model-cards.html#model-cards-json-schema). */ content?: pulumi.Input; /** * ARN of the model card. */ modelCardArn?: pulumi.Input; /** * Name of the model card. */ modelCardName?: pulumi.Input; /** * Approval status of the model card. Valid values: `Draft`, `PendingReview`, `Approved`, `Archived`. */ modelCardStatus?: 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; /** * KMS key to encrypt, decrypt, and re-encrypt model card content. Fields are documented below. */ securityConfig?: pulumi.Input; /** * A mapping of tags to assign 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>; /** * A 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 ModelCard resource. */ export interface ModelCardArgs { /** * Content of the model card in [model card JSON schema](https://docs.aws.amazon.com/sagemaker/latest/dg/model-cards.html#model-cards-json-schema). */ content: pulumi.Input; /** * Name of the model card. */ modelCardName: pulumi.Input; /** * Approval status of the model card. Valid values: `Draft`, `PendingReview`, `Approved`, `Archived`. */ modelCardStatus: 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; /** * KMS key to encrypt, decrypt, and re-encrypt model card content. Fields are documented below. */ securityConfig?: pulumi.Input; /** * A mapping of tags to assign 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=modelCard.d.ts.map