We recommend new projects start with resources from the AWS provider.
Viewing docs for AWS Cloud Control v1.57.0
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
Viewing docs for AWS Cloud Control v1.57.0
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
Resource Type definition for AWS::BedrockAgentCore::Policy
Using getPolicy
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 getPolicy(args: GetPolicyArgs, opts?: InvokeOptions): Promise<GetPolicyResult>
function getPolicyOutput(args: GetPolicyOutputArgs, opts?: InvokeOptions): Output<GetPolicyResult>def get_policy(policy_arn: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPolicyResult
def get_policy_output(policy_arn: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPolicyResult]func LookupPolicy(ctx *Context, args *LookupPolicyArgs, opts ...InvokeOption) (*LookupPolicyResult, error)
func LookupPolicyOutput(ctx *Context, args *LookupPolicyOutputArgs, opts ...InvokeOption) LookupPolicyResultOutput> Note: This function is named LookupPolicy in the Go SDK.
public static class GetPolicy
{
public static Task<GetPolicyResult> InvokeAsync(GetPolicyArgs args, InvokeOptions? opts = null)
public static Output<GetPolicyResult> Invoke(GetPolicyInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetPolicyResult> getPolicy(GetPolicyArgs args, InvokeOptions options)
public static Output<GetPolicyResult> getPolicy(GetPolicyArgs args, InvokeOptions options)
fn::invoke:
function: aws-native:bedrockagentcore:getPolicy
arguments:
# arguments dictionaryThe following arguments are supported:
- Policy
Arn string - The Amazon Resource Name (ARN) of the policy.
- Policy
Arn string - The Amazon Resource Name (ARN) of the policy.
- policy
Arn String - The Amazon Resource Name (ARN) of the policy.
- policy
Arn string - The Amazon Resource Name (ARN) of the policy.
- policy_
arn str - The Amazon Resource Name (ARN) of the policy.
- policy
Arn String - The Amazon Resource Name (ARN) of the policy.
getPolicy Result
The following output properties are available:
- Created
At string - The timestamp when the policy was created.
- Definition
Pulumi.
Aws Native. Bedrock Agent Core. Outputs. Policy Definition - Description string
- A human-readable description of the policy's purpose and functionality.
- Policy
Arn string - The Amazon Resource Name (ARN) of the policy.
- Policy
Id string - The unique identifier for the policy.
- Status
Pulumi.
Aws Native. Bedrock Agent Core. Policy Status - The current status of the policy.
- Status
Reasons List<string> - Additional information about the policy status.
- Updated
At string - The timestamp when the policy was last updated.
- Created
At string - The timestamp when the policy was created.
- Definition
Policy
Definition - Description string
- A human-readable description of the policy's purpose and functionality.
- Policy
Arn string - The Amazon Resource Name (ARN) of the policy.
- Policy
Id string - The unique identifier for the policy.
- Status
Policy
Status - The current status of the policy.
- Status
Reasons []string - Additional information about the policy status.
- Updated
At string - The timestamp when the policy was last updated.
- created
At String - The timestamp when the policy was created.
- definition
Policy
Definition - description String
- A human-readable description of the policy's purpose and functionality.
- policy
Arn String - The Amazon Resource Name (ARN) of the policy.
- policy
Id String - The unique identifier for the policy.
- status
Policy
Status - The current status of the policy.
- status
Reasons List<String> - Additional information about the policy status.
- updated
At String - The timestamp when the policy was last updated.
- created
At string - The timestamp when the policy was created.
- definition
Policy
Definition - description string
- A human-readable description of the policy's purpose and functionality.
- policy
Arn string - The Amazon Resource Name (ARN) of the policy.
- policy
Id string - The unique identifier for the policy.
- status
Policy
Status - The current status of the policy.
- status
Reasons string[] - Additional information about the policy status.
- updated
At string - The timestamp when the policy was last updated.
- created_
at str - The timestamp when the policy was created.
- definition
Policy
Definition - description str
- A human-readable description of the policy's purpose and functionality.
- policy_
arn str - The Amazon Resource Name (ARN) of the policy.
- policy_
id str - The unique identifier for the policy.
- status
Policy
Status - The current status of the policy.
- status_
reasons Sequence[str] - Additional information about the policy status.
- updated_
at str - The timestamp when the policy was last updated.
- created
At String - The timestamp when the policy was created.
- definition Property Map
- description String
- A human-readable description of the policy's purpose and functionality.
- policy
Arn String - The Amazon Resource Name (ARN) of the policy.
- policy
Id String - The unique identifier for the policy.
- status "CREATING" | "ACTIVE" | "UPDATING" | "DELETING" | "CREATE_FAILED" | "UPDATE_FAILED" | "DELETE_FAILED"
- The current status of the policy.
- status
Reasons List<String> - Additional information about the policy status.
- updated
At String - The timestamp when the policy was last updated.
Supporting Types
PolicyCedarPolicy
- Statement string
- The Cedar policy statement that defines the authorization logic.
- Statement string
- The Cedar policy statement that defines the authorization logic.
- statement String
- The Cedar policy statement that defines the authorization logic.
- statement string
- The Cedar policy statement that defines the authorization logic.
- statement str
- The Cedar policy statement that defines the authorization logic.
- statement String
- The Cedar policy statement that defines the authorization logic.
PolicyDefinition
PolicyStatus
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.57.0
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
