# AWS Resource Access Manager Construct Library

This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.

```ts
import * as ram from 'aws-cdk-lib/aws-ram';
```

There are no official hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet. Here are some suggestions on how to proceed:

- Search [Construct Hub for RAM construct libraries](https://constructs.dev/search?q=ram)
- Use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, in the same way you would use [the CloudFormation AWS::RAM resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_RAM.html) directly.

There are no hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet.
However, you can still use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, and use this service exactly as you would using CloudFormation directly.

For more information on the resources and properties available for this service, see the [CloudFormation documentation for AWS::RAM](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_RAM.html).

(Read the [CDK Contributing Guide](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and submit an RFC if you are interested in contributing to this construct library.)

## Types

| Name | Kind | Summary |
| --- | --- | --- |
| [`CfnPermission`](/v2/docs/aws-cdk-lib.aws_ram.CfnPermission) | Construct (L1) | Creates a customer managed permission for a specified resource type that you can attach to resource shares. |
| [`CfnPermissionAssociation`](/v2/docs/aws-cdk-lib.aws_ram.CfnPermissionAssociation) | Construct (L1) | Associates a specified AWS RAM permission with a resource share. |
| [`CfnPrincipalAssociation`](/v2/docs/aws-cdk-lib.aws_ram.CfnPrincipalAssociation) | Construct (L1) | Associates a specified principal with a resource share. |
| [`CfnResourceAssociation`](/v2/docs/aws-cdk-lib.aws_ram.CfnResourceAssociation) | Construct (L1) | Associates a specified resource with a resource share. |
| [`CfnResourceShare`](/v2/docs/aws-cdk-lib.aws_ram.CfnResourceShare) | Construct (L1) | Creates a resource share. |
| [`CfnSourceAssociation`](/v2/docs/aws-cdk-lib.aws_ram.CfnSourceAssociation) | Construct (L1) | Associates a specified source account with a resource share. |
| [`CfnPermissionAssociationProps`](/v2/docs/aws-cdk-lib.aws_ram.CfnPermissionAssociationProps) | Struct | Properties for defining a `CfnPermissionAssociation`. |
| [`CfnPermissionProps`](/v2/docs/aws-cdk-lib.aws_ram.CfnPermissionProps) | Struct | Properties for defining a `CfnPermission`. |
| [`CfnPrincipalAssociationProps`](/v2/docs/aws-cdk-lib.aws_ram.CfnPrincipalAssociationProps) | Struct | Properties for defining a `CfnPrincipalAssociation`. |
| [`CfnResourceAssociationProps`](/v2/docs/aws-cdk-lib.aws_ram.CfnResourceAssociationProps) | Struct | Properties for defining a `CfnResourceAssociation`. |
| [`CfnResourceShare.ResourceShareConfigurationProperty`](/v2/docs/aws-cdk-lib.aws_ram.CfnResourceShare.ResourceShareConfigurationProperty) | Struct | The configuration for a resource share. |
| [`CfnResourceShareProps`](/v2/docs/aws-cdk-lib.aws_ram.CfnResourceShareProps) | Struct | Properties for defining a `CfnResourceShare`. |
| [`CfnSourceAssociationProps`](/v2/docs/aws-cdk-lib.aws_ram.CfnSourceAssociationProps) | Struct | Properties for defining a `CfnSourceAssociation`. |
