Skip to main content

@swamp/aws/bedrock

v2026.04.23.3

AWS BEDROCK infrastructure models

Repository

https://github.com/systeminit/swamp-extensions

Labels

awsbedrockcloudinfrastructure

Contents

Quality score

Verified by Swamp

How well-documented and verifiable this extension is.

100%

Grade A

  • 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

Install

$ swamp extension pull @swamp/aws/bedrock

@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
createCreate a Bedrock Agent
getGet a Bedrock Agent
ArgumentTypeDescription
identifierstringThe primary identifier of the Bedrock Agent
updateUpdate a Bedrock Agent
deleteDelete a Bedrock Agent
ArgumentTypeDescription
identifierstringThe primary identifier of the Bedrock Agent
syncSync 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
createCreate a Bedrock AgentAlias
getGet a Bedrock AgentAlias
ArgumentTypeDescription
identifierstringThe primary identifier of the Bedrock AgentAlias
updateUpdate a Bedrock AgentAlias
deleteDelete a Bedrock AgentAlias
ArgumentTypeDescription
identifierstringThe primary identifier of the Bedrock AgentAlias
syncSync 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
createCreate a Bedrock ApplicationInferenceProfile
getGet a Bedrock ApplicationInferenceProfile
ArgumentTypeDescription
identifierstringThe primary identifier of the Bedrock ApplicationInferenceProfile
updateUpdate a Bedrock ApplicationInferenceProfile
deleteDelete a Bedrock ApplicationInferenceProfile
ArgumentTypeDescription
identifierstringThe primary identifier of the Bedrock ApplicationInferenceProfile
syncSync 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
createCreate a Bedrock AutomatedReasoningPolicy
getGet a Bedrock AutomatedReasoningPolicy
ArgumentTypeDescription
identifierstringThe primary identifier of the Bedrock AutomatedReasoningPolicy
updateUpdate a Bedrock AutomatedReasoningPolicy
deleteDelete a Bedrock AutomatedReasoningPolicy
ArgumentTypeDescription
identifierstringThe primary identifier of the Bedrock AutomatedReasoningPolicy
syncSync 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
createCreate a Bedrock AutomatedReasoningPolicyVersion
getGet a Bedrock AutomatedReasoningPolicyVersion
ArgumentTypeDescription
identifierstringThe primary identifier of the Bedrock AutomatedReasoningPolicyVersion
deleteDelete a Bedrock AutomatedReasoningPolicyVersion
ArgumentTypeDescription
identifierstringThe primary identifier of the Bedrock AutomatedReasoningPolicyVersion
syncSync 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
createCreate a Bedrock Blueprint
getGet a Bedrock Blueprint
ArgumentTypeDescription
identifierstringThe primary identifier of the Bedrock Blueprint
updateUpdate a Bedrock Blueprint
deleteDelete a Bedrock Blueprint
ArgumentTypeDescription
identifierstringThe primary identifier of the Bedrock Blueprint
syncSync 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
createCreate a Bedrock DataAutomationLibrary
getGet a Bedrock DataAutomationLibrary
ArgumentTypeDescription
identifierstringThe primary identifier of the Bedrock DataAutomationLibrary
updateUpdate a Bedrock DataAutomationLibrary
deleteDelete a Bedrock DataAutomationLibrary
ArgumentTypeDescription
identifierstringThe primary identifier of the Bedrock DataAutomationLibrary
syncSync 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
createCreate a Bedrock DataAutomationProject
getGet a Bedrock DataAutomationProject
ArgumentTypeDescription
identifierstringThe primary identifier of the Bedrock DataAutomationProject
updateUpdate a Bedrock DataAutomationProject
deleteDelete a Bedrock DataAutomationProject
ArgumentTypeDescription
identifierstringThe primary identifier of the Bedrock DataAutomationProject
syncSync 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.
createCreate a Bedrock DataSource
getGet a Bedrock DataSource
ArgumentTypeDescription
identifierstringThe primary identifier of the Bedrock DataSource
updateUpdate a Bedrock DataSource
deleteDelete a Bedrock DataSource
ArgumentTypeDescription
identifierstringThe primary identifier of the Bedrock DataSource
syncSync 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
createCreate a Bedrock EnforcedGuardrailConfiguration
getGet a Bedrock EnforcedGuardrailConfiguration
ArgumentTypeDescription
identifierstringThe primary identifier of the Bedrock EnforcedGuardrailConfiguration
updateUpdate a Bedrock EnforcedGuardrailConfiguration
deleteDelete a Bedrock EnforcedGuardrailConfiguration
ArgumentTypeDescription
identifierstringThe primary identifier of the Bedrock EnforcedGuardrailConfiguration
syncSync 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
createCreate a Bedrock Flow
getGet a Bedrock Flow
ArgumentTypeDescription
identifierstringThe primary identifier of the Bedrock Flow
updateUpdate a Bedrock Flow
deleteDelete a Bedrock Flow
ArgumentTypeDescription
identifierstringThe primary identifier of the Bedrock Flow
syncSync 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
createCreate a Bedrock FlowAlias
getGet a Bedrock FlowAlias
ArgumentTypeDescription
identifierstringThe primary identifier of the Bedrock FlowAlias
updateUpdate a Bedrock FlowAlias
deleteDelete a Bedrock FlowAlias
ArgumentTypeDescription
identifierstringThe primary identifier of the Bedrock FlowAlias
syncSync 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
createCreate a Bedrock FlowVersion
getGet a Bedrock FlowVersion
ArgumentTypeDescription
identifierstringThe primary identifier of the Bedrock FlowVersion
updateUpdate a Bedrock FlowVersion
deleteDelete a Bedrock FlowVersion
ArgumentTypeDescription
identifierstringThe primary identifier of the Bedrock FlowVersion
syncSync 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.
createCreate a Bedrock Guardrail
getGet a Bedrock Guardrail
ArgumentTypeDescription
identifierstringThe primary identifier of the Bedrock Guardrail
updateUpdate a Bedrock Guardrail
deleteDelete a Bedrock Guardrail
ArgumentTypeDescription
identifierstringThe primary identifier of the Bedrock Guardrail
syncSync 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
createCreate a Bedrock GuardrailVersion
getGet a Bedrock GuardrailVersion
ArgumentTypeDescription
identifierstringThe primary identifier of the Bedrock GuardrailVersion
deleteDelete a Bedrock GuardrailVersion
ArgumentTypeDescription
identifierstringThe primary identifier of the Bedrock GuardrailVersion
syncSync 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
createCreate a Bedrock IntelligentPromptRouter
getGet a Bedrock IntelligentPromptRouter
ArgumentTypeDescription
identifierstringThe primary identifier of the Bedrock IntelligentPromptRouter
updateUpdate a Bedrock IntelligentPromptRouter
deleteDelete a Bedrock IntelligentPromptRouter
ArgumentTypeDescription
identifierstringThe primary identifier of the Bedrock IntelligentPromptRouter
syncSync 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
createCreate a Bedrock KnowledgeBase
getGet a Bedrock KnowledgeBase
ArgumentTypeDescription
identifierstringThe primary identifier of the Bedrock KnowledgeBase
updateUpdate a Bedrock KnowledgeBase
deleteDelete a Bedrock KnowledgeBase
ArgumentTypeDescription
identifierstringThe primary identifier of the Bedrock KnowledgeBase
syncSync 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
createCreate a Bedrock Prompt
getGet a Bedrock Prompt
ArgumentTypeDescription
identifierstringThe primary identifier of the Bedrock Prompt
updateUpdate a Bedrock Prompt
deleteDelete a Bedrock Prompt
ArgumentTypeDescription
identifierstringThe primary identifier of the Bedrock Prompt
syncSync 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
createCreate a Bedrock PromptVersion
getGet a Bedrock PromptVersion
ArgumentTypeDescription
identifierstringThe primary identifier of the Bedrock PromptVersion
deleteDelete a Bedrock PromptVersion
ArgumentTypeDescription
identifierstringThe primary identifier of the Bedrock PromptVersion
syncSync 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
createCreate a Bedrock ResourcePolicy
getGet a Bedrock ResourcePolicy
ArgumentTypeDescription
identifierstringThe primary identifier of the Bedrock ResourcePolicy
updateUpdate a Bedrock ResourcePolicy
deleteDelete a Bedrock ResourcePolicy
ArgumentTypeDescription
identifierstringThe primary identifier of the Bedrock ResourcePolicy
syncSync Bedrock ResourcePolicy state from AWS

Resources

state(infinite)— Bedrock ResourcePolicy resource state