UNPKG

@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)

28 lines (27 loc) 968 B
import * as pulumi from "@pulumi/pulumi"; /** * Resource Type definition for AWS::APS::ResourcePolicy */ export declare function getResourcePolicy(args: GetResourcePolicyArgs, opts?: pulumi.InvokeOptions): Promise<GetResourcePolicyResult>; export interface GetResourcePolicyArgs { /** * The Arn of an APS Workspace that the PolicyDocument will be attached to. */ workspaceArn: string; } export interface GetResourcePolicyResult { /** * The JSON to use as the Resource-based Policy. */ readonly policyDocument?: string; } /** * Resource Type definition for AWS::APS::ResourcePolicy */ export declare function getResourcePolicyOutput(args: GetResourcePolicyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetResourcePolicyResult>; export interface GetResourcePolicyOutputArgs { /** * The Arn of an APS Workspace that the PolicyDocument will be attached to. */ workspaceArn: pulumi.Input<string>; }