We recommend new projects start with resources from the AWS provider.
Viewing docs for AWS Cloud Control v1.69.0
published on Monday, Jun 15, 2026 by Pulumi
published on Monday, Jun 15, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
Viewing docs for AWS Cloud Control v1.69.0
published on Monday, Jun 15, 2026 by Pulumi
published on Monday, Jun 15, 2026 by Pulumi
Resource Type definition for AWS::BedrockAgentCore::ResourcePolicy
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: pulumi.Input[Optional[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:bedrockagentcore:getResourcePolicy
arguments:
# arguments dictionarydata "aws-native_bedrockagentcore_getresourcepolicy" "name" {
# arguments
}The following arguments are supported:
- Resource
Arn string - The Amazon Resource Name (ARN) of the resource for which to create or update the resource policy.
- Resource
Arn string - The Amazon Resource Name (ARN) of the resource for which to create or update the resource policy.
- resource_
arn string - The Amazon Resource Name (ARN) of the resource for which to create or update the resource policy.
- resource
Arn String - The Amazon Resource Name (ARN) of the resource for which to create or update the resource policy.
- resource
Arn string - The Amazon Resource Name (ARN) of the resource for which to create or update the resource policy.
- resource_
arn str - The Amazon Resource Name (ARN) of the resource for which to create or update the resource policy.
- resource
Arn String - The Amazon Resource Name (ARN) of the resource for which to create or update the resource policy.
getResourcePolicy Result
The following output properties are available:
- Policy string
- The resource policy to create or update.
- Policy string
- The resource policy to create or update.
- policy string
- The resource policy to create or update.
- policy String
- The resource policy to create or update.
- policy string
- The resource policy to create or update.
- policy str
- The resource policy to create or update.
- policy String
- The resource policy to create or update.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
Viewing docs for AWS Cloud Control v1.69.0
published on Monday, Jun 15, 2026 by Pulumi
published on Monday, Jun 15, 2026 by Pulumi