Resource Type definition for AWS::Bedrock::RetrievalInstruction
Create RetrievalInstruction Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
@overload
def RetrievalInstruction(resource_name: str,
args: RetrievalInstructionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def RetrievalInstruction(resource_name: str,
opts: Optional[ResourceOptions] = None,
instruction: Optional[RetrievalInstructionInstructionArgs] = None,
customer_encryption_key_arn: Optional[str] = None,
description: Optional[str] = None,
name: Optional[str] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
type: aws-native:bedrock:RetrievalInstruction
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws-native_bedrock_retrieval_instruction" "name" {
# resource properties
}
Parameters
- ctx
Context
- Context object for the current deployment.
- name
string
- The unique name of the resource.
- args
RetrievalInstructionArgs
- The arguments to resource properties.
- opts
ResourceOption
- Bag of options to control resource's behavior.
- name
String
- The unique name of the resource.
- args
RetrievalInstructionArgs
- The arguments to resource properties.
- options
CustomResourceOptions
- Bag of options to control resource's behavior.
RetrievalInstruction Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The RetrievalInstruction resource accepts the following input properties:
- Instruction
RetrievalInstructionInstructionArgs
- The reviewed content this instruction serves — what AgenticRetrieveStream resolves while status is ACTIVE. Absent until the first create review passes. Always present on a numbered version.
- CustomerEncryptionKeyArn
string
- The ARN of the customer managed KMS key protecting this content, when one was supplied at create.
- Description
string
- A description of the retrieval instruction. On a numbered version, the description of that version.
- Name
string
- The name of the retrieval instruction.
- Tags
TagArgs
- An array of key-value pairs to apply to this resource.
- instruction
object
- The reviewed content this instruction serves — what AgenticRetrieveStream resolves while status is ACTIVE. Absent until the first create review passes. Always present on a numbered version.
- customer_encryption_key_arn
string
- The ARN of the customer managed KMS key protecting this content, when one was supplied at create.
- description
string
- A description of the retrieval instruction. On a numbered version, the description of that version.
- name
string
- The name of the retrieval instruction.
- tags
list(object)
- An array of key-value pairs to apply to this resource.
- instruction
RetrievalInstructionInstruction
- The reviewed content this instruction serves — what AgenticRetrieveStream resolves while status is ACTIVE. Absent until the first create review passes. Always present on a numbered version.
- customerEncryptionKeyArn
String
- The ARN of the customer managed KMS key protecting this content, when one was supplied at create.
- description
String
- A description of the retrieval instruction. On a numbered version, the description of that version.
- name
String
- The name of the retrieval instruction.
- tags
List<Tag>
- An array of key-value pairs to apply to this resource.
- instruction
RetrievalInstructionInstruction
- The reviewed content this instruction serves — what AgenticRetrieveStream resolves while status is ACTIVE. Absent until the first create review passes. Always present on a numbered version.
- customerEncryptionKeyArn
string
- The ARN of the customer managed KMS key protecting this content, when one was supplied at create.
- description
string
- A description of the retrieval instruction. On a numbered version, the description of that version.
- name
string
- The name of the retrieval instruction.
- tags
Tag[]
- An array of key-value pairs to apply to this resource.
- instruction
RetrievalInstructionInstructionArgs
- The reviewed content this instruction serves — what AgenticRetrieveStream resolves while status is ACTIVE. Absent until the first create review passes. Always present on a numbered version.
- customer_encryption_key_arn
str
- The ARN of the customer managed KMS key protecting this content, when one was supplied at create.
- description
str
- A description of the retrieval instruction. On a numbered version, the description of that version.
- name
str
- The name of the retrieval instruction.
- tags
Sequence[TagArgs]
- An array of key-value pairs to apply to this resource.
- instruction
Property Map
- The reviewed content this instruction serves — what AgenticRetrieveStream resolves while status is ACTIVE. Absent until the first create review passes. Always present on a numbered version.
- customerEncryptionKeyArn
String
- The ARN of the customer managed KMS key protecting this content, when one was supplied at create.
- description
String
- A description of the retrieval instruction. On a numbered version, the description of that version.
- name
String
- The name of the retrieval instruction.
- tags
List<Property Map>
- An array of key-value pairs to apply to this resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the RetrievalInstruction resource produces the following output properties:
- Arn
string
- The Amazon Resource Name (ARN) of the resource.
- CreatedAt
string
- When the retrieval instruction was created. On a numbered version, when that version was created.
- Id
string
- The provider-assigned unique ID for this managed resource.
- LastTransitionStatus
Pulumi.AwsNative.Bedrock.RetrievalInstructionLastTransitionStatus
- The outcome or in-progress state of the most recent create or update. CREATING or UPDATING means the operation is still running. Independent of status. Always has a value from the create 202 onward. On a numbered version this is always CREATE_SUCCESSFUL: a version is created once, from reviewed content, and is immutable.
- RetrievalInstructionId
string
- The identifier of the retrieval instruction.
- Status
Pulumi.AwsNative.Bedrock.RetrievalInstructionStatus
- Whether the instruction can be used. Only ACTIVE is resolvable at retrieval time. Monotone: INACTIVE to ACTIVE once, never back. Numbered versions are always ACTIVE.
- UpdatedAt
string
- When the retrieval instruction was last updated. Equal to createdAt on a numbered version, which is immutable.
- Arn
string
- The Amazon Resource Name (ARN) of the resource.
- CreatedAt
string
- When the retrieval instruction was created. On a numbered version, when that version was created.
- Id
string
- The provider-assigned unique ID for this managed resource.
- LastTransitionStatus
RetrievalInstructionLastTransitionStatus
- The outcome or in-progress state of the most recent create or update. CREATING or UPDATING means the operation is still running. Independent of status. Always has a value from the create 202 onward. On a numbered version this is always CREATE_SUCCESSFUL: a version is created once, from reviewed content, and is immutable.
- RetrievalInstructionId
string
- The identifier of the retrieval instruction.
- Status
RetrievalInstructionStatus
- Whether the instruction can be used. Only ACTIVE is resolvable at retrieval time. Monotone: INACTIVE to ACTIVE once, never back. Numbered versions are always ACTIVE.
- UpdatedAt
string
- When the retrieval instruction was last updated. Equal to createdAt on a numbered version, which is immutable.
- arn
string
- The Amazon Resource Name (ARN) of the resource.
- created_at
string
- When the retrieval instruction was created. On a numbered version, when that version was created.
- id
string
- The provider-assigned unique ID for this managed resource.
- last_transition_status
"CREATING" | "UPDATING" | "CREATE_SUCCESSFUL" | "CREATE_FAILED" | "UPDATE_SUCCESSFUL" | "UPDATE_FAILED"
- The outcome or in-progress state of the most recent create or update. CREATING or UPDATING means the operation is still running. Independent of status. Always has a value from the create 202 onward. On a numbered version this is always CREATE_SUCCESSFUL: a version is created once, from reviewed content, and is immutable.
- retrieval_instruction_id
string
- The identifier of the retrieval instruction.
- status
"ACTIVE" | "INACTIVE"
- Whether the instruction can be used. Only ACTIVE is resolvable at retrieval time. Monotone: INACTIVE to ACTIVE once, never back. Numbered versions are always ACTIVE.
- updated_at
string
- When the retrieval instruction was last updated. Equal to createdAt on a numbered version, which is immutable.
- arn
String
- The Amazon Resource Name (ARN) of the resource.
- createdAt
String
- When the retrieval instruction was created. On a numbered version, when that version was created.
- id
String
- The provider-assigned unique ID for this managed resource.
- lastTransitionStatus
RetrievalInstructionLastTransitionStatus
- The outcome or in-progress state of the most recent create or update. CREATING or UPDATING means the operation is still running. Independent of status. Always has a value from the create 202 onward. On a numbered version this is always CREATE_SUCCESSFUL: a version is created once, from reviewed content, and is immutable.
- retrievalInstructionId
String
- The identifier of the retrieval instruction.
- status
RetrievalInstructionStatus
- Whether the instruction can be used. Only ACTIVE is resolvable at retrieval time. Monotone: INACTIVE to ACTIVE once, never back. Numbered versions are always ACTIVE.
- updatedAt
String
- When the retrieval instruction was last updated. Equal to createdAt on a numbered version, which is immutable.
- arn
string
- The Amazon Resource Name (ARN) of the resource.
- createdAt
string
- When the retrieval instruction was created. On a numbered version, when that version was created.
- id
string
- The provider-assigned unique ID for this managed resource.
- lastTransitionStatus
RetrievalInstructionLastTransitionStatus
- The outcome or in-progress state of the most recent create or update. CREATING or UPDATING means the operation is still running. Independent of status. Always has a value from the create 202 onward. On a numbered version this is always CREATE_SUCCESSFUL: a version is created once, from reviewed content, and is immutable.
- retrievalInstructionId
string
- The identifier of the retrieval instruction.
- status
RetrievalInstructionStatus
- Whether the instruction can be used. Only ACTIVE is resolvable at retrieval time. Monotone: INACTIVE to ACTIVE once, never back. Numbered versions are always ACTIVE.
- updatedAt
string
- When the retrieval instruction was last updated. Equal to createdAt on a numbered version, which is immutable.
- arn
str
- The Amazon Resource Name (ARN) of the resource.
- created_at
str
- When the retrieval instruction was created. On a numbered version, when that version was created.
- id
str
- The provider-assigned unique ID for this managed resource.
- last_transition_status
RetrievalInstructionLastTransitionStatus
- The outcome or in-progress state of the most recent create or update. CREATING or UPDATING means the operation is still running. Independent of status. Always has a value from the create 202 onward. On a numbered version this is always CREATE_SUCCESSFUL: a version is created once, from reviewed content, and is immutable.
- retrieval_instruction_id
str
- The identifier of the retrieval instruction.
- status
RetrievalInstructionStatus
- Whether the instruction can be used. Only ACTIVE is resolvable at retrieval time. Monotone: INACTIVE to ACTIVE once, never back. Numbered versions are always ACTIVE.
- updated_at
str
- When the retrieval instruction was last updated. Equal to createdAt on a numbered version, which is immutable.
- arn
String
- The Amazon Resource Name (ARN) of the resource.
- createdAt
String
- When the retrieval instruction was created. On a numbered version, when that version was created.
- id
String
- The provider-assigned unique ID for this managed resource.
- lastTransitionStatus
"CREATING" | "UPDATING" | "CREATE_SUCCESSFUL" | "CREATE_FAILED" | "UPDATE_SUCCESSFUL" | "UPDATE_FAILED"
- The outcome or in-progress state of the most recent create or update. CREATING or UPDATING means the operation is still running. Independent of status. Always has a value from the create 202 onward. On a numbered version this is always CREATE_SUCCESSFUL: a version is created once, from reviewed content, and is immutable.
- retrievalInstructionId
String
- The identifier of the retrieval instruction.
- status
"ACTIVE" | "INACTIVE"
- Whether the instruction can be used. Only ACTIVE is resolvable at retrieval time. Monotone: INACTIVE to ACTIVE once, never back. Numbered versions are always ACTIVE.
- updatedAt
String
- When the retrieval instruction was last updated. Equal to createdAt on a numbered version, which is immutable.
Supporting Types
RetrievalInstructionInstruction, RetrievalInstructionInstructionArgs
The reviewed content this instruction serves — what AgenticRetrieveStream resolves while status is ACTIVE. Absent until the first create review passes. Always present on a numbered version.- AnswerFormat
string
- How the answer is structured, including how sources are cited.
- AnswerPolicy
string
- Whether and how to answer: how strongly an answer must be supported, and what to do with questions outside scope.
- Persona
string
- Who the assistant is: identity, tone and language.
- RetrievalGuidance
string
- How to interpret and decompose the question, and what to prioritise when searching.
- AnswerFormat
string
- How the answer is structured, including how sources are cited.
- AnswerPolicy
string
- Whether and how to answer: how strongly an answer must be supported, and what to do with questions outside scope.
- Persona
string
- Who the assistant is: identity, tone and language.
- RetrievalGuidance
string
- How to interpret and decompose the question, and what to prioritise when searching.
- answer_format
string
- How the answer is structured, including how sources are cited.
- answer_policy
string
- Whether and how to answer: how strongly an answer must be supported, and what to do with questions outside scope.
- persona
string
- Who the assistant is: identity, tone and language.
- retrieval_guidance
string
- How to interpret and decompose the question, and what to prioritise when searching.
- answerFormat
String
- How the answer is structured, including how sources are cited.
- answerPolicy
String
- Whether and how to answer: how strongly an answer must be supported, and what to do with questions outside scope.
- persona
String
- Who the assistant is: identity, tone and language.
- retrievalGuidance
String
- How to interpret and decompose the question, and what to prioritise when searching.
- answerFormat
string
- How the answer is structured, including how sources are cited.
- answerPolicy
string
- Whether and how to answer: how strongly an answer must be supported, and what to do with questions outside scope.
- persona
string
- Who the assistant is: identity, tone and language.
- retrievalGuidance
string
- How to interpret and decompose the question, and what to prioritise when searching.
- answer_format
str
- How the answer is structured, including how sources are cited.
- answer_policy
str
- Whether and how to answer: how strongly an answer must be supported, and what to do with questions outside scope.
- persona
str
- Who the assistant is: identity, tone and language.
- retrieval_guidance
str
- How to interpret and decompose the question, and what to prioritise when searching.
- answerFormat
String
- How the answer is structured, including how sources are cited.
- answerPolicy
String
- Whether and how to answer: how strongly an answer must be supported, and what to do with questions outside scope.
- persona
String
- Who the assistant is: identity, tone and language.
- retrievalGuidance
String
- How to interpret and decompose the question, and what to prioritise when searching.
RetrievalInstructionLastTransitionStatus, RetrievalInstructionLastTransitionStatusArgs
| Name | Value |
|---|
| Creating | CREATING |
| Updating | UPDATING |
| CreateSuccessful | CREATE_SUCCESSFUL |
| CreateFailed | CREATE_FAILED |
| UpdateSuccessful | UPDATE_SUCCESSFUL |
| UpdateFailed | UPDATE_FAILED |
| Name | Value |
|---|
| RetrievalInstructionLastTransitionStatusCreating | CREATING |
| RetrievalInstructionLastTransitionStatusUpdating | UPDATING |
| RetrievalInstructionLastTransitionStatusCreateSuccessful | CREATE_SUCCESSFUL |
| RetrievalInstructionLastTransitionStatusCreateFailed | CREATE_FAILED |
| RetrievalInstructionLastTransitionStatusUpdateSuccessful | UPDATE_SUCCESSFUL |
| RetrievalInstructionLastTransitionStatusUpdateFailed | UPDATE_FAILED |
| Value |
|---|
CREATING |
UPDATING |
CREATE_SUCCESSFUL |
CREATE_FAILED |
UPDATE_SUCCESSFUL |
UPDATE_FAILED |
| Name | Value |
|---|
| Creating | CREATING |
| Updating | UPDATING |
| CreateSuccessful | CREATE_SUCCESSFUL |
| CreateFailed | CREATE_FAILED |
| UpdateSuccessful | UPDATE_SUCCESSFUL |
| UpdateFailed | UPDATE_FAILED |
| Name | Value |
|---|
| Creating | CREATING |
| Updating | UPDATING |
| CreateSuccessful | CREATE_SUCCESSFUL |
| CreateFailed | CREATE_FAILED |
| UpdateSuccessful | UPDATE_SUCCESSFUL |
| UpdateFailed | UPDATE_FAILED |
| Name | Value |
|---|
| CREATING | CREATING |
| UPDATING | UPDATING |
| CREATE_SUCCESSFUL | CREATE_SUCCESSFUL |
| CREATE_FAILED | CREATE_FAILED |
| UPDATE_SUCCESSFUL | UPDATE_SUCCESSFUL |
| UPDATE_FAILED | UPDATE_FAILED |
| Value |
|---|
CREATING |
UPDATING |
CREATE_SUCCESSFUL |
CREATE_FAILED |
UPDATE_SUCCESSFUL |
UPDATE_FAILED |
RetrievalInstructionStatus, RetrievalInstructionStatusArgs
| Name | Value |
|---|
| Active | ACTIVE |
| Inactive | INACTIVE |
| Name | Value |
|---|
| RetrievalInstructionStatusActive | ACTIVE |
| RetrievalInstructionStatusInactive | INACTIVE |
| Name | Value |
|---|
| Active | ACTIVE |
| Inactive | INACTIVE |
| Name | Value |
|---|
| Active | ACTIVE |
| Inactive | INACTIVE |
| Name | Value |
|---|
| ACTIVE | ACTIVE |
| INACTIVE | INACTIVE |
Tag, TagArgs
A set of tags to apply to the resource.- Key
string
- The key name of the tag
- Value
string
- The value of the tag
- Key
string
- The key name of the tag
- Value
string
- The value of the tag
- key
string
- The key name of the tag
- value
string
- The value of the tag
- key
String
- The key name of the tag
- value
String
- The value of the tag
- key
string
- The key name of the tag
- value
string
- The value of the tag
- key
str
- The key name of the tag
- value
str
- The value of the tag
- key
String
- The key name of the tag
- value
String
- The value of the tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0