AWS Fundamentals Logo
AWS Fundamentals
AWS::RAM::ResourceShare

RAM ResourceShare

Resource type definition for AWS::RAM::ResourceShare

Properties

7 configurable properties. 1 required. Click a row to see details.

Filter:
PropertyTypeFlags
Name
string
Required
AllowExternalPrincipals
boolean
PermissionArns
Array<string>
Write-only
Principals
Array<string>
Write-only
ResourceArns
Array<string>
Write-only
Sources
Array<string>
Write-only
Tags
Array<Tag>

Return Values

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

AttributeTypeDescription
Arnstring-
CreationTimestringThe date and time when the resource share was created.
FeatureSetstringThe feature set of the resource share.
LastUpdatedTimestringThe date and time when the resource share was last updated.
OwningAccountIdstringThe ID of the AWS account that owns the resource share.
StatusstringThe current status of the resource share.

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::ResourceShare

Resources:
  MyResource:
    Type: AWS::RAM::ResourceShare
    Properties:
      Name: "my-name"
      Tags:
        - Key: Environment
          Value: Production

Required IAM Permissions

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

read

ram:GetResourceShares

create

ram:CreateResourceShareram:TagResource

update

ram:GetPermissionram:GetResourceSharesram:GetResourceShareAssociationsram:ListResourceSharePermissionsram:UpdateResourceShareram:AssociateResourceSharePermissionram:AssociateResourceShareram:DisassociateResourceShare

list

ram:GetResourceShares

delete

ram:DeleteResourceShareram:GetResourceShares

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
Properties13
Required1
TaggingSupported
Primary IDArn

Supported Operations

ReadCreateUpdateListDelete

Related Resources

External Links