Skip to main content

Aws/bedrock

@swamp/aws/bedrockv2026.04.23.3· 8d agoMODELS
01README

AWS BEDROCK infrastructure models

02Models20
@swamp/aws/bedrock/agentv2026.04.23.2agent.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
ActionGroups?arrayList of ActionGroups
AgentNamestringName for a resource.
AgentResourceRoleArn?stringARN of a IAM role.
AutoPrepare?booleanSpecifies whether to automatically prepare after creating or updating the agent.
CustomOrchestration?objectStructure for custom orchestration
CustomerEncryptionKeyArn?stringA KMS key ARN
SkipResourceInUseCheckOnDelete?booleanSpecifies whether to allow deleting agent while it is in use.
Description?stringDescription of the Resource.
FoundationModel?stringARN or name of a Bedrock model.
GuardrailConfiguration?objectConfiguration for a guardrail.
MemoryConfiguration?objectConfiguration for memory storage
IdleSessionTTLInSeconds?numberMax Session Time.
AgentCollaboration?enumAgent collaboration state
Instruction?stringInstruction for the agent.
KnowledgeBases?arrayList of Agent Knowledge Bases
AgentCollaborators?arrayList of Agent Collaborators
OrchestrationType?enumTypes of orchestration strategy for agents
PromptOverrideConfiguration?objectConfiguration for prompt override.
Tags?recordA map of tag keys and values
TestAliasTags?recordA map of tag keys and values
fn create()
Create a Bedrock Agent
fn get(identifier: string)
Get a Bedrock Agent
ArgumentTypeDescription
identifierstringThe primary identifier of the Bedrock Agent
fn update()
Update a Bedrock Agent
fn delete(identifier: string)
Delete a Bedrock Agent
ArgumentTypeDescription
identifierstringThe primary identifier of the Bedrock Agent
fn sync()
Sync Bedrock Agent state from AWS

Resources

state(infinite)— Bedrock Agent resource state
@swamp/aws/bedrock/agent-aliasv2026.04.23.2agent_alias.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
AgentAliasNamestringName for a resource.
AgentIdstringIdentifier for a resource.
Description?stringDescription of the Resource.
RoutingConfiguration?arrayRouting configuration for an Agent alias.
Tags?recordA map of tag keys and values
fn create()
Create a Bedrock AgentAlias
fn get(identifier: string)
Get a Bedrock AgentAlias
ArgumentTypeDescription
identifierstringThe primary identifier of the Bedrock AgentAlias
fn update()
Update a Bedrock AgentAlias
fn delete(identifier: string)
Delete a Bedrock AgentAlias
ArgumentTypeDescription
identifierstringThe primary identifier of the Bedrock AgentAlias
fn sync()
Sync Bedrock AgentAlias state from AWS

Resources

state(infinite)— Bedrock AgentAlias resource state
@swamp/aws/bedrock/application-inference-profilev2026.04.23.2application_inference_profile.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
Description?stringDescription of the inference profile
InferenceProfileNamestring
ModelSource?objectVarious ways to encode a list of models in a CreateInferenceProfile request
Tags?arrayList of Tags
fn create()
Create a Bedrock ApplicationInferenceProfile
fn get(identifier: string)
Get a Bedrock ApplicationInferenceProfile
ArgumentTypeDescription
identifierstringThe primary identifier of the Bedrock ApplicationInferenceProfile
fn update()
Update a Bedrock ApplicationInferenceProfile
fn delete(identifier: string)
Delete a Bedrock ApplicationInferenceProfile
ArgumentTypeDescription
identifierstringThe primary identifier of the Bedrock ApplicationInferenceProfile
fn sync()
Sync Bedrock ApplicationInferenceProfile state from AWS

Resources

state(infinite)— Bedrock ApplicationInferenceProfile resource state
@swamp/aws/bedrock/automated-reasoning-policyv2026.04.23.2automated_reasoning_policy.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
Namestring
Description?string
PolicyDefinition?object
KmsKeyId?stringThe KMS key with which the Policy's assets will be encrypted at rest.
Tags?array
ForceDelete?booleanSpecifies whether to force delete the automated reasoning policy even if it has active resources. When false, Amazon Bedrock validates if all artifacts have been deleted (e.g. policy version, test case, test result) for a policy before deletion. When true, Amazon Bedrock will delete the policy and all its artifacts without validation. Default is false
fn create()
Create a Bedrock AutomatedReasoningPolicy
fn get(identifier: string)
Get a Bedrock AutomatedReasoningPolicy
ArgumentTypeDescription
identifierstringThe primary identifier of the Bedrock AutomatedReasoningPolicy
fn update()
Update a Bedrock AutomatedReasoningPolicy
fn delete(identifier: string)
Delete a Bedrock AutomatedReasoningPolicy
ArgumentTypeDescription
identifierstringThe primary identifier of the Bedrock AutomatedReasoningPolicy
fn sync()
Sync Bedrock AutomatedReasoningPolicy state from AWS

Resources

state(infinite)— Bedrock AutomatedReasoningPolicy resource state
@swamp/aws/bedrock/automated-reasoning-policy-versionv2026.04.23.2automated_reasoning_policy_version.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
PolicyArnstringArn of the policy
LastUpdatedDefinitionHash?stringThe hash for this version
Tags?array
fn create()
Create a Bedrock AutomatedReasoningPolicyVersion
fn get(identifier: string)
Get a Bedrock AutomatedReasoningPolicyVersion
ArgumentTypeDescription
identifierstringThe primary identifier of the Bedrock AutomatedReasoningPolicyVersion
fn delete(identifier: string)
Delete a Bedrock AutomatedReasoningPolicyVersion
ArgumentTypeDescription
identifierstringThe primary identifier of the Bedrock AutomatedReasoningPolicyVersion
fn sync()
Sync Bedrock AutomatedReasoningPolicyVersion state from AWS

Resources

state(infinite)— Bedrock AutomatedReasoningPolicyVersion resource state
@swamp/aws/bedrock/blueprintv2026.04.23.2blueprint.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
BlueprintNamestringName of the Blueprint
SchemastringSchema of the blueprint
TypeenumModality Type
KmsKeyId?stringKMS key identifier
KmsEncryptionContext?recordKMS encryption context
Tags?arrayList of Tags
fn create()
Create a Bedrock Blueprint
fn get(identifier: string)
Get a Bedrock Blueprint
ArgumentTypeDescription
identifierstringThe primary identifier of the Bedrock Blueprint
fn update()
Update a Bedrock Blueprint
fn delete(identifier: string)
Delete a Bedrock Blueprint
ArgumentTypeDescription
identifierstringThe primary identifier of the Bedrock Blueprint
fn sync()
Sync Bedrock Blueprint state from AWS

Resources

state(infinite)— Bedrock Blueprint resource state
@swamp/aws/bedrock/data-automation-libraryv2026.04.23.2data_automation_library.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
EncryptionConfiguration?objectKMS Encryption Configuration
LibraryDescription?stringDescription of the DataAutomationLibrary
LibraryNamestringName of the DataAutomationLibrary
Tags?arrayList of tags
fn create()
Create a Bedrock DataAutomationLibrary
fn get(identifier: string)
Get a Bedrock DataAutomationLibrary
ArgumentTypeDescription
identifierstringThe primary identifier of the Bedrock DataAutomationLibrary
fn update()
Update a Bedrock DataAutomationLibrary
fn delete(identifier: string)
Delete a Bedrock DataAutomationLibrary
ArgumentTypeDescription
identifierstringThe primary identifier of the Bedrock DataAutomationLibrary
fn sync()
Sync Bedrock DataAutomationLibrary state from AWS

Resources

state(infinite)— Bedrock DataAutomationLibrary resource state
@swamp/aws/bedrock/data-automation-projectv2026.04.23.2data_automation_project.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
CustomOutputConfiguration?objectCustom output configuration
OverrideConfiguration?objectOverride configuration
ProjectDescription?stringDescription of the DataAutomationProject
ProjectNamestringName of the DataAutomationProject
ProjectType?enumType of the DataAutomationProject - Sync or Async
StandardOutputConfiguration?objectStandard output configuration
KmsKeyId?stringKMS key identifier
KmsEncryptionContext?recordKMS encryption context
Tags?arrayList of Tags
fn create()
Create a Bedrock DataAutomationProject
fn get(identifier: string)
Get a Bedrock DataAutomationProject
ArgumentTypeDescription
identifierstringThe primary identifier of the Bedrock DataAutomationProject
fn update()
Update a Bedrock DataAutomationProject
fn delete(identifier: string)
Delete a Bedrock DataAutomationProject
ArgumentTypeDescription
identifierstringThe primary identifier of the Bedrock DataAutomationProject
fn sync()
Sync Bedrock DataAutomationProject state from AWS

Resources

state(infinite)— Bedrock DataAutomationProject resource state
@swamp/aws/bedrock/data-sourcev2026.04.23.2data_source.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
DataSourceConfigurationobjectSpecifies a raw data source location to ingest.
Description?stringDescription of the Resource.
KnowledgeBaseIdstringThe unique identifier of the knowledge base to which to add the data source.
NamestringThe name of the data source.
ServerSideEncryptionConfiguration?objectContains details about the server-side encryption for the data source.
VectorIngestionConfiguration?objectDetails about how to chunk the documents in the data source. A chunk refers to an excerpt from a data source that is returned when the knowledge base that it belongs to is queried.
DataDeletionPolicy?enumThe deletion policy for the data source.
fn create()
Create a Bedrock DataSource
fn get(identifier: string)
Get a Bedrock DataSource
ArgumentTypeDescription
identifierstringThe primary identifier of the Bedrock DataSource
fn update()
Update a Bedrock DataSource
fn delete(identifier: string)
Delete a Bedrock DataSource
ArgumentTypeDescription
identifierstringThe primary identifier of the Bedrock DataSource
fn sync()
Sync Bedrock DataSource state from AWS

Resources

state(infinite)— Bedrock DataSource resource state
@swamp/aws/bedrock/enforced-guardrail-configurationv2026.04.23.2enforced_guardrail_configuration.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
GuardrailIdentifierstringIdentifier for the guardrail, could be the ID or the ARN
GuardrailVersionstringNumerical guardrail version (not DRAFT)
SelectiveContentGuarding?objectSelective content guarding controls for enforced guardrails
ModelEnforcement?objectModel-specific information for the enforced guardrail configuration. If not present, the configuration is enforced on all models
fn create()
Create a Bedrock EnforcedGuardrailConfiguration
fn get(identifier: string)
Get a Bedrock EnforcedGuardrailConfiguration
ArgumentTypeDescription
identifierstringThe primary identifier of the Bedrock EnforcedGuardrailConfiguration
fn update()
Update a Bedrock EnforcedGuardrailConfiguration
fn delete(identifier: string)
Delete a Bedrock EnforcedGuardrailConfiguration
ArgumentTypeDescription
identifierstringThe primary identifier of the Bedrock EnforcedGuardrailConfiguration
fn sync()
Sync Bedrock EnforcedGuardrailConfiguration state from AWS

Resources

state(infinite)— Bedrock EnforcedGuardrailConfiguration resource state
@swamp/aws/bedrock/flowv2026.04.23.2flow.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
DefinitionString?stringA JSON string containing a Definition with the same schema as the Definition property of this resource
DefinitionS3Location?objectA bucket, key and optional version pointing to an S3 object containing a UTF-8 encoded JSON string Definition with the same schema as the Definition property of this resource
DefinitionSubstitutions?recordWhen supplied with DefinitionString or DefinitionS3Location, substrings in the definition matching ${keyname} will be replaced with the associated value from this map
Description?stringDescription of the flow
ExecutionRoleArnstringARN of a IAM role
NamestringName for the flow
CustomerEncryptionKeyArn?stringA KMS key ARN
Tags?recordA map of tag keys and values
TestAliasTags?recordA map of tag keys and values
fn create()
Create a Bedrock Flow
fn get(identifier: string)
Get a Bedrock Flow
ArgumentTypeDescription
identifierstringThe primary identifier of the Bedrock Flow
fn update()
Update a Bedrock Flow
fn delete(identifier: string)
Delete a Bedrock Flow
ArgumentTypeDescription
identifierstringThe primary identifier of the Bedrock Flow
fn sync()
Sync Bedrock Flow state from AWS

Resources

state(infinite)— Bedrock Flow resource state
@swamp/aws/bedrock/flow-aliasv2026.04.23.2flow_alias.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
FlowArnstringArn representation of the Flow
ConcurrencyConfiguration?object
Description?stringDescription of the Resource.
NamestringName for a resource.
RoutingConfigurationarrayRouting configuration for a Flow alias.
Tags?recordA map of tag keys and values
fn create()
Create a Bedrock FlowAlias
fn get(identifier: string)
Get a Bedrock FlowAlias
ArgumentTypeDescription
identifierstringThe primary identifier of the Bedrock FlowAlias
fn update()
Update a Bedrock FlowAlias
fn delete(identifier: string)
Delete a Bedrock FlowAlias
ArgumentTypeDescription
identifierstringThe primary identifier of the Bedrock FlowAlias
fn sync()
Sync Bedrock FlowAlias state from AWS

Resources

state(infinite)— Bedrock FlowAlias resource state
@swamp/aws/bedrock/flow-versionv2026.04.23.2flow_version.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
FlowArnstringArn representation of the Flow
Description?stringDescription of the flow version
fn create()
Create a Bedrock FlowVersion
fn get(identifier: string)
Get a Bedrock FlowVersion
ArgumentTypeDescription
identifierstringThe primary identifier of the Bedrock FlowVersion
fn update()
Update a Bedrock FlowVersion
fn delete(identifier: string)
Delete a Bedrock FlowVersion
ArgumentTypeDescription
identifierstringThe primary identifier of the Bedrock FlowVersion
fn sync()
Sync Bedrock FlowVersion state from AWS

Resources

state(infinite)— Bedrock FlowVersion resource state
@swamp/aws/bedrock/guardrailv2026.04.23.2guardrail.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
BlockedInputMessagingstringMessaging for when violations are detected in text
BlockedOutputsMessagingstringMessaging for when violations are detected in text
AutomatedReasoningPolicyConfig?objectOptional configuration for integrating Automated Reasoning policies with the guardrail.
ContentPolicyConfig?objectContent policy config for a guardrail.
ContextualGroundingPolicyConfig?objectContextual grounding policy config for a guardrail.
CrossRegionConfig?objectThe system-defined guardrail profile that you’re using with your guardrail
Description?stringDescription of the guardrail or its version
KmsKeyArn?stringThe KMS key with which the guardrail was encrypted at rest
NamestringName of the guardrail
SensitiveInformationPolicyConfig?objectSensitive information policy config for a guardrail.
Tags?arrayList of Tags
TopicPolicyConfig?objectTopic policy config for a guardrail.
WordPolicyConfig?objectWord policy config for a guardrail.
fn create()
Create a Bedrock Guardrail
fn get(identifier: string)
Get a Bedrock Guardrail
ArgumentTypeDescription
identifierstringThe primary identifier of the Bedrock Guardrail
fn update()
Update a Bedrock Guardrail
fn delete(identifier: string)
Delete a Bedrock Guardrail
ArgumentTypeDescription
identifierstringThe primary identifier of the Bedrock Guardrail
fn sync()
Sync Bedrock Guardrail state from AWS

Resources

state(infinite)— Bedrock Guardrail resource state
@swamp/aws/bedrock/guardrail-versionv2026.04.23.2guardrail_version.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
Description?stringDescription of the Guardrail version
GuardrailIdentifierstringIdentifier (GuardrailId or GuardrailArn) for the guardrail
fn create()
Create a Bedrock GuardrailVersion
fn get(identifier: string)
Get a Bedrock GuardrailVersion
ArgumentTypeDescription
identifierstringThe primary identifier of the Bedrock GuardrailVersion
fn delete(identifier: string)
Delete a Bedrock GuardrailVersion
ArgumentTypeDescription
identifierstringThe primary identifier of the Bedrock GuardrailVersion
fn sync()
Sync Bedrock GuardrailVersion state from AWS

Resources

state(infinite)— Bedrock GuardrailVersion resource state
@swamp/aws/bedrock/intelligent-prompt-routerv2026.04.23.2intelligent_prompt_router.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
Description?stringDescription of the Prompt Router.
FallbackModelobjectModel configuration
ModelsarrayList of model configuration
PromptRouterNamestringName of the Prompt Router.
RoutingCriteriaobjectRepresents the criteria used for routing requests.
Tags?arrayList of Tags
fn create()
Create a Bedrock IntelligentPromptRouter
fn get(identifier: string)
Get a Bedrock IntelligentPromptRouter
ArgumentTypeDescription
identifierstringThe primary identifier of the Bedrock IntelligentPromptRouter
fn update()
Update a Bedrock IntelligentPromptRouter
fn delete(identifier: string)
Delete a Bedrock IntelligentPromptRouter
ArgumentTypeDescription
identifierstringThe primary identifier of the Bedrock IntelligentPromptRouter
fn sync()
Sync Bedrock IntelligentPromptRouter state from AWS

Resources

state(infinite)— Bedrock IntelligentPromptRouter resource state
@swamp/aws/bedrock/knowledge-basev2026.04.23.2knowledge_base.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
Description?stringDescription of the Resource.
KnowledgeBaseConfigurationobjectContains details about the embeddings model used for the knowledge base.
NamestringThe name of the knowledge base.
RoleArnstringThe ARN of the IAM role with permissions to invoke API operations on the knowledge base. The ARN must begin with AmazonBedrockExecutionRoleForKnowledgeBase_
StorageConfiguration?objectThe vector store service in which the knowledge base is stored.
Tags?recordA map of tag keys and values
fn create()
Create a Bedrock KnowledgeBase
fn get(identifier: string)
Get a Bedrock KnowledgeBase
ArgumentTypeDescription
identifierstringThe primary identifier of the Bedrock KnowledgeBase
fn update()
Update a Bedrock KnowledgeBase
fn delete(identifier: string)
Delete a Bedrock KnowledgeBase
ArgumentTypeDescription
identifierstringThe primary identifier of the Bedrock KnowledgeBase
fn sync()
Sync Bedrock KnowledgeBase state from AWS

Resources

state(infinite)— Bedrock KnowledgeBase resource state
@swamp/aws/bedrock/promptv2026.04.23.2prompt.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
DefaultVariant?stringName for a variant.
Description?stringName for a prompt resource.
NamestringName for a prompt resource.
Variants?arrayList of prompt variants
Tags?recordA map of tag keys and values
CustomerEncryptionKeyArn?stringA KMS key ARN
fn create()
Create a Bedrock Prompt
fn get(identifier: string)
Get a Bedrock Prompt
ArgumentTypeDescription
identifierstringThe primary identifier of the Bedrock Prompt
fn update()
Update a Bedrock Prompt
fn delete(identifier: string)
Delete a Bedrock Prompt
ArgumentTypeDescription
identifierstringThe primary identifier of the Bedrock Prompt
fn sync()
Sync Bedrock Prompt state from AWS

Resources

state(infinite)— Bedrock Prompt resource state
@swamp/aws/bedrock/prompt-versionv2026.04.23.2prompt_version.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
PromptArnstringARN of a prompt resource possibly with a version
Description?stringDescription for a prompt version resource.
Tags?recordA map of tag keys and values
fn create()
Create a Bedrock PromptVersion
fn get(identifier: string)
Get a Bedrock PromptVersion
ArgumentTypeDescription
identifierstringThe primary identifier of the Bedrock PromptVersion
fn delete(identifier: string)
Delete a Bedrock PromptVersion
ArgumentTypeDescription
identifierstringThe primary identifier of the Bedrock PromptVersion
fn sync()
Sync Bedrock PromptVersion state from AWS

Resources

state(infinite)— Bedrock PromptVersion resource state
@swamp/aws/bedrock/resource-policyv2026.04.23.2resource_policy.ts

Global Arguments

ArgumentTypeDescription
ResourceArnstringThe ARN of the Bedrock Guardrail or Guardrail Profile resource
PolicyDocumentstringThe IAM policy document defining access permissions for the guardrail and guardrail profile resources
fn create()
Create a Bedrock ResourcePolicy
fn get(identifier: string)
Get a Bedrock ResourcePolicy
ArgumentTypeDescription
identifierstringThe primary identifier of the Bedrock ResourcePolicy
fn update()
Update a Bedrock ResourcePolicy
fn delete(identifier: string)
Delete a Bedrock ResourcePolicy
ArgumentTypeDescription
identifierstringThe primary identifier of the Bedrock ResourcePolicy
fn sync()
Sync Bedrock ResourcePolicy state from AWS

Resources

state(infinite)— Bedrock ResourcePolicy resource state
03Previous Versions6
2026.04.23.2Apr 23, 2026
  • Updated: agent, agent_alias, application_inference_profile, automated_reasoning_policy, automated_reasoning_policy_version, blueprint, data_automation_library, data_automation_project, data_source, enforced_guardrail_configuration, flow, flow_alias, flow_version, guardrail, guardrail_version, intelligent_prompt_router, knowledge_base, prompt, prompt_version, resource_policy
2026.04.08.1Apr 8, 2026
  • Added: data_automation_library, enforced_guardrail_configuration, resource_policy

Added 3 models

2026.04.03.2Apr 3, 2026
  • Updated: agent, agent_alias, application_inference_profile, automated_reasoning_policy, automated_reasoning_policy_version, blueprint, data_automation_project, data_source, flow, flow_alias, flow_version, guardrail, guardrail_version, intelligent_prompt_router, knowledge_base, prompt, prompt_version
2026.03.19.1Mar 19, 2026
  • Updated: agent, agent_alias, application_inference_profile, automated_reasoning_policy, automated_reasoning_policy_version, blueprint, data_automation_project, data_source, flow, flow_alias, flow_version, guardrail, guardrail_version, intelligent_prompt_router, knowledge_base, prompt, prompt_version
2026.03.16.1Mar 16, 2026
  • Updated: agent, agent_alias, application_inference_profile, automated_reasoning_policy, automated_reasoning_policy_version, blueprint, data_automation_project, data_source, flow, flow_alias, flow_version, guardrail, guardrail_version, intelligent_prompt_router, knowledge_base, prompt, prompt_version
2026.03.10.5Mar 10, 2026
04Stats
A
100 / 100
Downloads
3
Archive size
3.8 MB
Verified by Swamp
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types1/1earned
  • Has description1/1earned
  • At least one platform tag (or universal)1/1earned
  • Two or more platform tags (or universal)1/1earned
  • License declared1/1earned
  • Verified public repository2/2earned
05Platforms
06Labels