interface ResourceShareConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.RAM.CfnResourceShare.ResourceShareConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsram#CfnResourceShare_ResourceShareConfigurationProperty |
Java | software.amazon.awscdk.services.ram.CfnResourceShare.ResourceShareConfigurationProperty |
Python | aws_cdk.aws_ram.CfnResourceShare.ResourceShareConfigurationProperty |
TypeScript | aws-cdk-lib » aws_ram » CfnResourceShare » ResourceShareConfigurationProperty |
The configuration for a resource share.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ram as ram } from 'aws-cdk-lib';
const resourceShareConfigurationProperty: ram.CfnResourceShare.ResourceShareConfigurationProperty = {
exclusiveAccountAccess: false,
retainSharingOnAccountLeaveOrganization: false,
};
Properties
| Name | Type | Description |
|---|---|---|
| exclusive | boolean | IResolvable | The resource share restricts access to an account. |
| retain | boolean | IResolvable | Specifies whether the consumer account retains access to the resource share after leaving the organization. |
exclusiveAccountAccess?
Type:
boolean | IResolvable
(optional)
The resource share restricts access to an account.
retainSharingOnAccountLeaveOrganization?
Type:
boolean | IResolvable
(optional)
Specifies whether the consumer account retains access to the resource share after leaving the organization.

.NET
Go
Java
Python
TypeScript