---
type: resource-type
title: ResourceShare
description: aws resource type AWS::RAM::ResourceShare
name: ResourceShare
lexicon: aws
resource_type: AWS::RAM::ResourceShare
---
`AWS::RAM::ResourceShare`, a resource type of the aws lexicon.

## Properties

- `Name` (`string`, required): Specifies the name of the resource share.
- `AllowExternalPrincipals` (`boolean`, optional): 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`.
- `Arn` (`string`, optional)
- `CreationTime` (`string`, optional): The date and time when the resource share was created.
- `FeatureSet` (`"CREATED_FROM_POLICY" | "PROMOTING_TO_STANDARD" | "STANDARD"`, optional): The feature set of the resource share.
- `LastUpdatedTime` (`string`, optional): The date and time when the resource share was last updated.
- `OwningAccountId` (`string`, optional): The ID of the AWS account that owns the resource share.
- `PermissionArns` (`string[]`, optional): Specifies the [Amazon Resource Names (ARNs)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) of the AWS RAM permission to associate with the resource share. If you do not specify an ARN for the permission, AWS RAM automatically attaches the default version of the permission for each resource type. You can associate only one permission with each resource type included in the resource share.
- `Principals` (`string[]`, optional): Specifies the principals to associate with the resource share. The possible values are: - An AWS account ID - An Amazon Resource Name (ARN) of an organization in AWS Organizations - An ARN of an organizational unit (OU) in AWS Organizations - An ARN of an IAM role - An ARN of an IAM user
- `ResourceArns` (`string[]`, optional): Specifies a list of one or more ARNs of the resources to associate with the resource share.
- `ResourceShareConfiguration` (`ResourceShare_ResourceShareConfiguration`, optional): Specifies the configuration for the resource share
- `Sources` (`string[]`, optional): Specifies from which source accounts the service principal has access to the resources in this resource share.
- `Status` (`"ACTIVE" | "DELETED" | "DELETING" | "FAILED" | "PENDING"`, optional): The current status of the resource share.
- `Tags` (`ResourceShare_Tag[]`, optional): 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.

## Attributes

- `Arn`
- `CreationTime`
- `FeatureSet`
- `LastUpdatedTime`
- `OwningAccountId`
- `Status`
