

This is the new *CloudFormation Template Reference Guide*. Please update your bookmarks and links. For help getting started with CloudFormation, see the [AWS CloudFormation User Guide](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/Welcome.html).

# AWS::RAM::ResourceShare ResourceShareConfiguration
<a name="aws-properties-ram-resourceshare-resourceshareconfiguration"></a>

The configuration of the resource share

## Syntax
<a name="aws-properties-ram-resourceshare-resourceshareconfiguration-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-ram-resourceshare-resourceshareconfiguration-syntax.json"></a>

```
{
  "[ExclusiveAccountAccess](#cfn-ram-resourceshare-resourceshareconfiguration-exclusiveaccountaccess)" : {{Boolean}},
  "[RetainSharingOnAccountLeaveOrganization](#cfn-ram-resourceshare-resourceshareconfiguration-retainsharingonaccountleaveorganization)" : {{Boolean}}
}
```

### YAML
<a name="aws-properties-ram-resourceshare-resourceshareconfiguration-syntax.yaml"></a>

```
  [ExclusiveAccountAccess](#cfn-ram-resourceshare-resourceshareconfiguration-exclusiveaccountaccess): {{Boolean}}
  [RetainSharingOnAccountLeaveOrganization](#cfn-ram-resourceshare-resourceshareconfiguration-retainsharingonaccountleaveorganization): {{Boolean}}
```

## Properties
<a name="aws-properties-ram-resourceshare-resourceshareconfiguration-properties"></a>

`ExclusiveAccountAccess`  <a name="cfn-ram-resourceshare-resourceshareconfiguration-exclusiveaccountaccess"></a>
Property description not available.  
*Required*: No  
*Type*: Boolean  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`RetainSharingOnAccountLeaveOrganization`  <a name="cfn-ram-resourceshare-resourceshareconfiguration-retainsharingonaccountleaveorganization"></a>
Specifies whether the consumer account retains access to the resource share after leaving the organization.  
*Required*: No  
*Type*: Boolean  
*Update requires*: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)