Learn R Programming

paws.security.identity (version 0.1.12)

ram: AWS Resource Access Manager

Description

Use AWS Resource Access Manager to share AWS resources between AWS accounts. To share a resource, you create a resource share, associate the resource with the resource share, and specify the principals that can access the resources associated with the resource share. The following principals are supported: AWS accounts, organizational units (OU) from AWS Organizations, and organizations from AWS Organizations.

For more information, see the AWS Resource Access Manager User Guide.

Usage

ram(config = list())

Value

A client for the service. You can call the service's operations using syntax like svc$operation(...), where svc is the name you've assigned to the client. The available operations are listed in the Operations section.

Arguments

config

Optional configuration of credentials, endpoint, and/or region.

Service syntax

svc <- ram(
  config = list(
    credentials = list(
      creds = list(
        access_key_id = "string",
        secret_access_key = "string",
        session_token = "string"
      ),
      profile = "string"
    ),
    endpoint = "string",
    region = "string"
  )
)

Operations

accept_resource_share_invitationAccepts an invitation to a resource share from another AWS account
associate_resource_shareAssociates the specified resource share with the specified principals and resources
associate_resource_share_permissionAssociates a permission with a resource share
create_resource_shareCreates a resource share
delete_resource_shareDeletes the specified resource share
disassociate_resource_shareDisassociates the specified principals or resources from the specified resource share
disassociate_resource_share_permissionDisassociates an AWS RAM permission from a resource share
enable_sharing_with_aws_organizationEnables resource sharing within your AWS Organization
get_permissionGets the contents of an AWS RAM permission in JSON format
get_resource_policiesGets the policies for the specified resources that you own and have shared
get_resource_share_associationsGets the resources or principals for the resource shares that you own
get_resource_share_invitationsGets the invitations for resource sharing that you've received
get_resource_sharesGets the resource shares that you own or the resource shares that are shared with you
list_pending_invitation_resourcesLists the resources in a resource share that is shared with you but that the invitation is still pending for
list_permissionsLists the AWS RAM permissions
list_principalsLists the principals that you have shared resources with or that have shared resources with you
list_resourcesLists the resources that you added to a resource shares or the resources that are shared with you
list_resource_share_permissionsLists the AWS RAM permissions that are associated with a resource share
list_resource_typesLists the shareable resource types supported by AWS RAM
promote_resource_share_created_from_policyResource shares that were created by attaching a policy to a resource are visible only to the resource share owner, and the resource share cannot be modified in AWS RAM
reject_resource_share_invitationRejects an invitation to a resource share from another AWS account
tag_resourceAdds the specified tags to the specified resource share that you own
untag_resourceRemoves the specified tags from the specified resource share that you own
update_resource_shareUpdates the specified resource share that you own

Examples

Run this code
if (FALSE) {
svc <- ram()
svc$accept_resource_share_invitation(
  Foo = 123
)
}

Run the code above in your browser using DataLab