AWS::RAM::SourceAssociationAssociates a specified source account with a resource share.
2 configurable properties. 2 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
ResourceShareArn | string | RequiredCreate-only |
SourceId | string | RequiredCreate-only |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
CreationTime | string | The date and time when the association was created. |
LastUpdatedTime | string | The date and time when the association was last updated. |
SourceType | string | The type of the source. |
Status | string | The current status of the association. |
A minimal template with required properties and common optional ones.
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"Permissions CloudFormation needs in your IAM role to manage this resource.
ram:AssociateResourceShareram:GetResourceSharesram:ListSourceAssociationsram:ListSourceAssociationsram:DisassociateResourceShareram:ListSourceAssociationsram:ListSourceAssociationsOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterResourceShareArnThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
ResourceShareArnSourceId