AWS::RAM::PermissionAssociationAssociates a specified AWS RAM permission with a resource share. You can only associate one permission with each resource type in a resource share.
3 configurable properties. 2 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
PermissionArn | string | RequiredCreate-only |
ResourceShareArn | string | RequiredCreate-only |
Replace | boolean | Write-only |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
AssociationStatus | string | The current status of the association between the permission and the resource share. |
FeatureSet | string | The feature set of the resource share. |
IsDefault | boolean | Indicates whether the associated resource share is using the default version of the permission. |
LastUpdatedTime | string | The date and time when the association between the permission and the resource share was last updated. |
PermissionVersion | string | The version of the permission currently associated with the resource share. |
ResourceType | string | The resource type to which the permission applies. |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::RAM::PermissionAssociation
Resources:
MyResource:
Type: AWS::RAM::PermissionAssociation
Properties:
PermissionArn: "arn:aws:service:region:account:resource"
ResourceShareArn: "arn:aws:service:region:account:resource"Permissions CloudFormation needs in your IAM role to manage this resource.
ram:ListPermissionAssociationsram:AssociateResourceSharePermissionram:GetPermissionram:GetResourceSharesram:ListPermissionAssociationsram:AssociateResourceSharePermissionram:GetPermissionram:GetResourceSharesram:ListPermissionAssociationsram:ListPermissionAssociationsram:DisassociateResourceSharePermissionram:ListPermissionAssociationsOur 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.
ResourceShareArnPermissionArn