We recommend new projects start with resources from the AWS provider.
published on Monday, Apr 20, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Monday, Apr 20, 2026 by Pulumi
Definition of AWS::Bedrock::ResourcePolicy Resource Type
Using getResourcePolicy
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 getResourcePolicy(args: GetResourcePolicyArgs, opts?: InvokeOptions): Promise<GetResourcePolicyResult>
function getResourcePolicyOutput(args: GetResourcePolicyOutputArgs, opts?: InvokeOptions): Output<GetResourcePolicyResult>def get_resource_policy(resource_arn: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetResourcePolicyResult
def get_resource_policy_output(resource_arn: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetResourcePolicyResult]func LookupResourcePolicy(ctx *Context, args *LookupResourcePolicyArgs, opts ...InvokeOption) (*LookupResourcePolicyResult, error)
func LookupResourcePolicyOutput(ctx *Context, args *LookupResourcePolicyOutputArgs, opts ...InvokeOption) LookupResourcePolicyResultOutput> Note: This function is named LookupResourcePolicy in the Go SDK.
public static class GetResourcePolicy
{
public static Task<GetResourcePolicyResult> InvokeAsync(GetResourcePolicyArgs args, InvokeOptions? opts = null)
public static Output<GetResourcePolicyResult> Invoke(GetResourcePolicyInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetResourcePolicyResult> getResourcePolicy(GetResourcePolicyArgs args, InvokeOptions options)
public static Output<GetResourcePolicyResult> getResourcePolicy(GetResourcePolicyArgs args, InvokeOptions options)
fn::invoke:
function: aws-native:bedrock:getResourcePolicy
arguments:
# arguments dictionaryThe following arguments are supported:
- Resource
Arn string - The ARN of the Bedrock Guardrail or Guardrail Profile resource
- Resource
Arn string - The ARN of the Bedrock Guardrail or Guardrail Profile resource
- resource
Arn String - The ARN of the Bedrock Guardrail or Guardrail Profile resource
- resource
Arn string - The ARN of the Bedrock Guardrail or Guardrail Profile resource
- resource_
arn str - The ARN of the Bedrock Guardrail or Guardrail Profile resource
- resource
Arn String - The ARN of the Bedrock Guardrail or Guardrail Profile resource
getResourcePolicy Result
The following output properties are available:
- Policy
Document object The IAM policy document defining access permissions for the guardrail and guardrail profile resources
Search the CloudFormation User Guide for
AWS::Bedrock::ResourcePolicyfor more information about the expected schema for this property.
- Policy
Document interface{} The IAM policy document defining access permissions for the guardrail and guardrail profile resources
Search the CloudFormation User Guide for
AWS::Bedrock::ResourcePolicyfor more information about the expected schema for this property.
- policy
Document Object The IAM policy document defining access permissions for the guardrail and guardrail profile resources
Search the CloudFormation User Guide for
AWS::Bedrock::ResourcePolicyfor more information about the expected schema for this property.
- policy
Document any The IAM policy document defining access permissions for the guardrail and guardrail profile resources
Search the CloudFormation User Guide for
AWS::Bedrock::ResourcePolicyfor more information about the expected schema for this property.
- policy_
document Any The IAM policy document defining access permissions for the guardrail and guardrail profile resources
Search the CloudFormation User Guide for
AWS::Bedrock::ResourcePolicyfor more information about the expected schema for this property.
- policy
Document Any The IAM policy document defining access permissions for the guardrail and guardrail profile resources
Search the CloudFormation User Guide for
AWS::Bedrock::ResourcePolicyfor more information about the expected schema for this property.
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 Monday, Apr 20, 2026 by Pulumi
