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)

62 lines (61 loc) 2.28 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; import * as enums from "../types/enums"; /** * Resource type definition for AWS::RAM::ResourceShare */ export declare function getResourceShare(args: GetResourceShareArgs, opts?: pulumi.InvokeOptions): Promise<GetResourceShareResult>; export interface GetResourceShareArgs { /** * The Amazon Resource Name (ARN) of the resource share. */ arn: string; } export interface GetResourceShareResult { /** * Specifies whether principals outside your organization in AWS Organizations can be associated with a resource share. A value of `true` lets you share with individual AWS accounts that are not in your organization. A value of `false` only has meaning if your account is a member of an AWS Organization. The default value is `true`. */ readonly allowExternalPrincipals?: boolean; /** * The Amazon Resource Name (ARN) of the resource share. */ readonly arn?: string; /** * The date and time when the resource share was created. */ readonly creationTime?: string; /** * The feature set of the resource share. */ readonly featureSet?: enums.ram.ResourceShareFeatureSet; /** * The date and time when the resource share was last updated. */ readonly lastUpdatedTime?: string; /** * Specifies the name of the resource share. */ readonly name?: string; /** * The ID of the AWS account that owns the resource share. */ readonly owningAccountId?: string; /** * The current status of the resource share. */ readonly status?: enums.ram.ResourceShareStatus; /** * Specifies one or more tags to attach to the resource share itself. It doesn't attach the tags to the resources associated with the resource share. */ readonly tags?: outputs.Tag[]; } /** * Resource type definition for AWS::RAM::ResourceShare */ export declare function getResourceShareOutput(args: GetResourceShareOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetResourceShareResult>; export interface GetResourceShareOutputArgs { /** * The Amazon Resource Name (ARN) of the resource share. */ arn: pulumi.Input<string>; }