We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.37.0 published on Wednesday, Oct 15, 2025 by Pulumi
aws-native.ram.getResourceShare
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.37.0 published on Wednesday, Oct 15, 2025 by Pulumi
Resource type definition for AWS::RAM::ResourceShare
Using getResourceShare
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getResourceShare(args: GetResourceShareArgs, opts?: InvokeOptions): Promise<GetResourceShareResult>
function getResourceShareOutput(args: GetResourceShareOutputArgs, opts?: InvokeOptions): Output<GetResourceShareResult>def get_resource_share(arn: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetResourceShareResult
def get_resource_share_output(arn: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetResourceShareResult]func LookupResourceShare(ctx *Context, args *LookupResourceShareArgs, opts ...InvokeOption) (*LookupResourceShareResult, error)
func LookupResourceShareOutput(ctx *Context, args *LookupResourceShareOutputArgs, opts ...InvokeOption) LookupResourceShareResultOutput> Note: This function is named LookupResourceShare in the Go SDK.
public static class GetResourceShare
{
public static Task<GetResourceShareResult> InvokeAsync(GetResourceShareArgs args, InvokeOptions? opts = null)
public static Output<GetResourceShareResult> Invoke(GetResourceShareInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetResourceShareResult> getResourceShare(GetResourceShareArgs args, InvokeOptions options)
public static Output<GetResourceShareResult> getResourceShare(GetResourceShareArgs args, InvokeOptions options)
fn::invoke:
function: aws-native:ram:getResourceShare
arguments:
# arguments dictionaryThe following arguments are supported:
- Arn string
- The Amazon Resource Name (ARN) of the resource share.
- Arn string
- The Amazon Resource Name (ARN) of the resource share.
- arn String
- The Amazon Resource Name (ARN) of the resource share.
- arn string
- The Amazon Resource Name (ARN) of the resource share.
- arn str
- The Amazon Resource Name (ARN) of the resource share.
- arn String
- The Amazon Resource Name (ARN) of the resource share.
getResourceShare Result
The following output properties are available:
- Allow
External boolPrincipals - Specifies whether principals outside your organization in AWS Organizations can be associated with a resource share. A value of
truelets you share with individual AWS accounts that are not in your organization. A value offalseonly has meaning if your account is a member of an AWS Organization. The default value istrue. - Arn string
- The Amazon Resource Name (ARN) of the resource share.
- Name string
- Specifies the name of the resource share.
-
List<Pulumi.
Aws Native. Outputs. Tag> - 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.
- Allow
External boolPrincipals - Specifies whether principals outside your organization in AWS Organizations can be associated with a resource share. A value of
truelets you share with individual AWS accounts that are not in your organization. A value offalseonly has meaning if your account is a member of an AWS Organization. The default value istrue. - Arn string
- The Amazon Resource Name (ARN) of the resource share.
- Name string
- Specifies the name of the resource share.
- Tag
- 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.
- allow
External BooleanPrincipals - Specifies whether principals outside your organization in AWS Organizations can be associated with a resource share. A value of
truelets you share with individual AWS accounts that are not in your organization. A value offalseonly has meaning if your account is a member of an AWS Organization. The default value istrue. - arn String
- The Amazon Resource Name (ARN) of the resource share.
- name String
- Specifies the name of the resource share.
- List<Tag>
- 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.
- allow
External booleanPrincipals - Specifies whether principals outside your organization in AWS Organizations can be associated with a resource share. A value of
truelets you share with individual AWS accounts that are not in your organization. A value offalseonly has meaning if your account is a member of an AWS Organization. The default value istrue. - arn string
- The Amazon Resource Name (ARN) of the resource share.
- name string
- Specifies the name of the resource share.
- Tag[]
- 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.
- allow_
external_ boolprincipals - Specifies whether principals outside your organization in AWS Organizations can be associated with a resource share. A value of
truelets you share with individual AWS accounts that are not in your organization. A value offalseonly has meaning if your account is a member of an AWS Organization. The default value istrue. - arn str
- The Amazon Resource Name (ARN) of the resource share.
- name str
- Specifies the name of the resource share.
- Sequence[root_Tag]
- 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.
- allow
External BooleanPrincipals - Specifies whether principals outside your organization in AWS Organizations can be associated with a resource share. A value of
truelets you share with individual AWS accounts that are not in your organization. A value offalseonly has meaning if your account is a member of an AWS Organization. The default value istrue. - arn String
- The Amazon Resource Name (ARN) of the resource share.
- name String
- Specifies the name of the resource share.
- List<Property Map>
- 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.
Supporting Types
Tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.37.0 published on Wednesday, Oct 15, 2025 by Pulumi
