@pulumi/aws-native
Version:
The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)
74 lines (73 loc) • 2.03 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Definition of AWS::Bedrock::Prompt Resource Type
*/
export declare function getPrompt(args: GetPromptArgs, opts?: pulumi.InvokeOptions): Promise<GetPromptResult>;
export interface GetPromptArgs {
/**
* ARN of a prompt resource possibly with a version
*/
arn: string;
}
export interface GetPromptResult {
/**
* ARN of a prompt resource possibly with a version
*/
readonly arn?: string;
/**
* Time Stamp.
*/
readonly createdAt?: string;
/**
* A KMS key ARN
*/
readonly customerEncryptionKeyArn?: string;
/**
* Name for a variant.
*/
readonly defaultVariant?: string;
/**
* Name for a prompt resource.
*/
readonly description?: string;
/**
* Identifier for a Prompt
*/
readonly id?: string;
/**
* Name for a prompt resource.
*/
readonly name?: string;
/**
* Metadata that you can assign to a resource as key-value pairs. For more information, see the following resources:
*
* - [Tag naming limits and requirements](https://docs.aws.amazon.com/tag-editor/latest/userguide/tagging.html#tag-conventions)
* - [Tagging best practices](https://docs.aws.amazon.com/tag-editor/latest/userguide/tagging.html#tag-best-practices)
*/
readonly tags?: {
[key: string]: string;
};
/**
* Time Stamp.
*/
readonly updatedAt?: string;
/**
* List of prompt variants
*/
readonly variants?: outputs.bedrock.PromptVariant[];
/**
* Draft Version.
*/
readonly version?: string;
}
/**
* Definition of AWS::Bedrock::Prompt Resource Type
*/
export declare function getPromptOutput(args: GetPromptOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetPromptResult>;
export interface GetPromptOutputArgs {
/**
* ARN of a prompt resource possibly with a version
*/
arn: pulumi.Input<string>;
}