Module ram

@pulumi/aws > ram

class ResourceShare

extends CustomResource

Provides a Resource Access Manager (RAM) resource share.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const example = new aws.ram.ResourceShare("example", {
    allowExternalPrincipals: true,
    tags: {
        Environment: "Production",
    },
});

constructor

new ResourceShare(name: string, args?: ResourceShareArgs, opts?: pulumi.CustomResourceOptions)

Create a ResourceShare resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ResourceShareState, opts?: pulumi.CustomResourceOptions): ResourceShare

Get an existing ResourceShare resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property allowExternalPrincipals

public allowExternalPrincipals: pulumi.Output<boolean | undefined>;

Indicates whether principals outside your organization can be associated with a resource share.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property name

public name: pulumi.Output<string>;

The name of the resource share.

property tags

public tags: pulumi.Output<{[key: string]: any} | undefined>;

A mapping of tags to assign to the resource share.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

interface ResourceShareArgs

The set of arguments for constructing a ResourceShare resource.

property allowExternalPrincipals

allowExternalPrincipals?: pulumi.Input<boolean>;

Indicates whether principals outside your organization can be associated with a resource share.

property name

name?: pulumi.Input<string>;

The name of the resource share.

property tags

tags?: pulumi.Input<{[key: string]: any}>;

A mapping of tags to assign to the resource share.

interface ResourceShareState

Input properties used for looking up and filtering ResourceShare resources.

property allowExternalPrincipals

allowExternalPrincipals?: pulumi.Input<boolean>;

Indicates whether principals outside your organization can be associated with a resource share.

property name

name?: pulumi.Input<string>;

The name of the resource share.

property tags

tags?: pulumi.Input<{[key: string]: any}>;

A mapping of tags to assign to the resource share.