AWS::RAM::ResourceAssociationAssociates a specified resource with a resource share.
2 configurable properties. 2 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
ResourceArn | string | RequiredCreate-only |
ResourceShareArn | string | RequiredCreate-only |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
AssociationType | string | The type of entity included in this association. |
CreationTime | string | The date and time when the association was created. |
External | boolean | Indicates whether the principal belongs to the same organization in AWS Organizations as the AWS account that owns the resource share. |
LastUpdatedTime | string | The date and time when the association was last updated. |
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::ResourceAssociation
Resources:
MyResource:
Type: AWS::RAM::ResourceAssociation
Properties:
ResourceShareArn: "arn:aws:service:region:account:resource"
ResourceArn: "arn:aws:service:region:account:resource"Permissions CloudFormation needs in your IAM role to manage this resource.
ram:AssociateResourceShareram:GetResourceSharesram:GetResourceShareAssociationsram:GetResourceShareAssociationsram:DisassociateResourceShareram:GetResourceShareAssociationsram:GetResourceShareAssociationsOur 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.
ResourceShareArnResourceArn