@pulumi/aws-native
Version:
The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)
56 lines (55 loc) • 1.72 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
import * as enums from "../types/enums";
/**
* Resource Type definition for AWS::BedrockAgentCore::Policy
*/
export declare function getPolicy(args: GetPolicyArgs, opts?: pulumi.InvokeOptions): Promise<GetPolicyResult>;
export interface GetPolicyArgs {
/**
* The Amazon Resource Name (ARN) of the policy.
*/
policyArn: string;
}
export interface GetPolicyResult {
/**
* The timestamp when the policy was created.
*/
readonly createdAt?: string;
readonly definition?: outputs.bedrockagentcore.PolicyDefinition;
/**
* A human-readable description of the policy's purpose and functionality.
*/
readonly description?: string;
readonly enforcementMode?: enums.bedrockagentcore.PolicyEnforcementMode;
/**
* The Amazon Resource Name (ARN) of the policy.
*/
readonly policyArn?: string;
/**
* The unique identifier for the policy.
*/
readonly policyId?: string;
/**
* The current status of the policy.
*/
readonly status?: enums.bedrockagentcore.PolicyStatus;
/**
* Additional information about the policy status.
*/
readonly statusReasons?: string[];
/**
* The timestamp when the policy was last updated.
*/
readonly updatedAt?: string;
}
/**
* Resource Type definition for AWS::BedrockAgentCore::Policy
*/
export declare function getPolicyOutput(args: GetPolicyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetPolicyResult>;
export interface GetPolicyOutputArgs {
/**
* The Amazon Resource Name (ARN) of the policy.
*/
policyArn: pulumi.Input<string>;
}