We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi
Definition of AWS::Bedrock::KnowledgeBasePolicy Resource Type
Using getKnowledgeBasePolicy
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getKnowledgeBasePolicy(args: GetKnowledgeBasePolicyArgs, opts?: InvokeOptions): Promise<GetKnowledgeBasePolicyResult>
function getKnowledgeBasePolicyOutput(args: GetKnowledgeBasePolicyOutputArgs, opts?: InvokeOutputOptions): Output<GetKnowledgeBasePolicyResult>def get_knowledge_base_policy(knowledge_base_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetKnowledgeBasePolicyResult
def get_knowledge_base_policy_output(knowledge_base_id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetKnowledgeBasePolicyResult]func LookupKnowledgeBasePolicy(ctx *Context, args *LookupKnowledgeBasePolicyArgs, opts ...InvokeOption) (*LookupKnowledgeBasePolicyResult, error)
func LookupKnowledgeBasePolicyOutput(ctx *Context, args *LookupKnowledgeBasePolicyOutputArgs, opts ...InvokeOption) LookupKnowledgeBasePolicyResultOutput> Note: This function is named LookupKnowledgeBasePolicy in the Go SDK.
public static class GetKnowledgeBasePolicy
{
public static Task<GetKnowledgeBasePolicyResult> InvokeAsync(GetKnowledgeBasePolicyArgs args, InvokeOptions? opts = null)
public static Output<GetKnowledgeBasePolicyResult> Invoke(GetKnowledgeBasePolicyInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetKnowledgeBasePolicyResult> Invoke(GetKnowledgeBasePolicyInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetKnowledgeBasePolicyResult> getKnowledgeBasePolicy(GetKnowledgeBasePolicyArgs args, InvokeOptions options)
public static Output<GetKnowledgeBasePolicyResult> getKnowledgeBasePolicy(GetKnowledgeBasePolicyArgs args, InvokeOptions options)
public static Output<GetKnowledgeBasePolicyResult> getKnowledgeBasePolicy(GetKnowledgeBasePolicyArgs args, InvokeOutputOptions options)
fn::invoke:
function: aws-native:bedrock:getKnowledgeBasePolicy
arguments:
# arguments dictionarydata "aws-native_bedrock_get_knowledge_base_policy" "name" {
# arguments
}The following arguments are supported:
- Knowledge
Base stringId - The unique identifier of the knowledge base
- Knowledge
Base stringId - The unique identifier of the knowledge base
- knowledge_
base_ stringid - The unique identifier of the knowledge base
- knowledge
Base StringId - The unique identifier of the knowledge base
- knowledge
Base stringId - The unique identifier of the knowledge base
- knowledge_
base_ strid - The unique identifier of the knowledge base
- knowledge
Base StringId - The unique identifier of the knowledge base
getKnowledgeBasePolicy Result
The following output properties are available:
- Policy
Document object The IAM policy document defining access permissions for the knowledge base
Search the CloudFormation User Guide for
AWS::Bedrock::KnowledgeBasePolicyfor more information about the expected schema for this property.- Revision
Id string - The revision identifier for the policy, used for optimistic concurrency control
- Policy
Document interface{} The IAM policy document defining access permissions for the knowledge base
Search the CloudFormation User Guide for
AWS::Bedrock::KnowledgeBasePolicyfor more information about the expected schema for this property.- Revision
Id string - The revision identifier for the policy, used for optimistic concurrency control
- policy_
document any The IAM policy document defining access permissions for the knowledge base
Search the CloudFormation User Guide for
AWS::Bedrock::KnowledgeBasePolicyfor more information about the expected schema for this property.- revision_
id string - The revision identifier for the policy, used for optimistic concurrency control
- policy
Document Object The IAM policy document defining access permissions for the knowledge base
Search the CloudFormation User Guide for
AWS::Bedrock::KnowledgeBasePolicyfor more information about the expected schema for this property.- revision
Id String - The revision identifier for the policy, used for optimistic concurrency control
- policy
Document any The IAM policy document defining access permissions for the knowledge base
Search the CloudFormation User Guide for
AWS::Bedrock::KnowledgeBasePolicyfor more information about the expected schema for this property.- revision
Id string - The revision identifier for the policy, used for optimistic concurrency control
- policy_
document Any The IAM policy document defining access permissions for the knowledge base
Search the CloudFormation User Guide for
AWS::Bedrock::KnowledgeBasePolicyfor more information about the expected schema for this property.- revision_
id str - The revision identifier for the policy, used for optimistic concurrency control
- policy
Document Any The IAM policy document defining access permissions for the knowledge base
Search the CloudFormation User Guide for
AWS::Bedrock::KnowledgeBasePolicyfor more information about the expected schema for this property.- revision
Id String - The revision identifier for the policy, used for optimistic concurrency control
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi