AgentPromptState class
Input properties used for looking up and filtering AgentPrompt resources.
Constructors
-
AgentPromptState({Input<
String?> ? arn, Input<String?> ? createdAt, Input<String?> ? customerEncryptionKeyArn, Input<String?> ? defaultVariant, Input<String?> ? description, Input<String?> ? name, Input<String?> ? region, Input<Map< ? tags, Input<String, String> ?>Map< ? tagsAll, Input<String, String> ?>String?> ? updatedAt, Input<List< ? variants, Input<AgentPromptVariant> ?>String?> ? version}) -
Creates a new AgentPromptState.
arnARN of the prompt.createdAtTime at which the prompt was created.customerEncryptionKeyArnARN of the KMS key that you encrypted the prompt with.defaultVariantName of the default variant for your prompt.descriptionDescription of the prompt.nameName of the prompt.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.tagsKey-value map of resource tags. If configured with a providerdefaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.tagsAllA map of tags assigned to the resource, including those inherited from the providerdefaultTagsconfiguration block.updatedAtTime at which the prompt was last updated.variantsA list of objects, each containing details about a variant of the prompt. See Variant for more information.versionVersion of the prompt. When you create a prompt, the version created is theDRAFTversion.const -
AgentPromptState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
arn
→ Input<
String?> ? -
ARN of the prompt.
final
-
createdAt
→ Input<
String?> ? -
Time at which the prompt was created.
final
-
customerEncryptionKeyArn
→ Input<
String?> ? -
ARN of the KMS key that you encrypted the prompt with.
final
-
defaultVariant
→ Input<
String?> ? -
Name of the default variant for your prompt.
final
-
description
→ Input<
String?> ? -
Description of the prompt.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
name
→ Input<
String?> ? -
Name of the prompt.
final
-
region
→ Input<
String?> ? -
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.final -
A map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.final -
updatedAt
→ Input<
String?> ? -
Time at which the prompt was last updated.
final
-
variants
→ Input<
List< ?AgentPromptVariant> ?> -
A list of objects, each containing details about a variant of the prompt. See Variant for more information.
final
-
version
→ Input<
String?> ? -
Version of the prompt. When you create a prompt, the version created is the
DRAFTversion.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited