AWS::RAM::SourceAssociation

RAM SourceAssociation

Associates a specified source account with a resource share.

Properties

2 configurable properties. 2 required. Click a row to see details.

Filter:
PropertyTypeFlags
ResourceShareArn
string
RequiredCreate-only
SourceId
string
RequiredCreate-only

Return Values

Values returned after the resource is created. Access these with Fn::GetAtt.

AttributeTypeDescription
CreationTimestringThe date and time when the association was created.
LastUpdatedTimestringThe date and time when the association was last updated.
SourceTypestringThe type of the source.
StatusstringThe current status of the association.

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::RAM::SourceAssociation

Resources:
  MyResource:
    Type: AWS::RAM::SourceAssociation
    Properties:
      ResourceShareArn: "arn:aws:service:region:account:resource"
      SourceId: "my-sourceid"

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

create

ram:AssociateResourceShareram:GetResourceSharesram:ListSourceAssociations

read

ram:ListSourceAssociations

delete

ram:DisassociateResourceShareram:ListSourceAssociations

list

ram:ListSourceAssociations

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

ServiceRAM
Properties6
Required2
TaggingNot supported
Primary IDResourceShareArn

Supported Operations

CreateReadDeleteList

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

ResourceShareArnSourceId

External Links