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)

48 lines (47 loc) 1.78 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Resource type definition for AWS::RAM::Permission */ export declare function getPermission(args: GetPermissionArgs, opts?: pulumi.InvokeOptions): Promise<GetPermissionResult>; export interface GetPermissionArgs { /** * The Amazon Resource Name (ARN) of the new permission. */ arn: string; } export interface GetPermissionResult { /** * The Amazon Resource Name (ARN) of the new permission. */ readonly arn?: string; /** * Set to true to use this as the default permission. */ readonly isResourceTypeDefault?: boolean; /** * The type of managed permission. This can be one of the following values: * * - *AWS_MANAGED_PERMISSION* – AWS created and manages this managed permission. You can associate it with your resource shares, but you can't modify it. * - *CUSTOMER_MANAGED_PERMISSION* – You, or another principal in your account created this managed permission. You can associate it with your resource shares and create new versions that have different permissions. */ readonly permissionType?: string; /** * Specifies a list of one or more tag key and value pairs to attach to the permission. */ readonly tags?: outputs.Tag[]; /** * Version of the permission. */ readonly version?: string; } /** * Resource type definition for AWS::RAM::Permission */ export declare function getPermissionOutput(args: GetPermissionOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetPermissionResult>; export interface GetPermissionOutputArgs { /** * The Amazon Resource Name (ARN) of the new permission. */ arn: pulumi.Input<string>; }