Skip to content

Tag Resource

efs_tag_resource R Documentation

Creates a tag for an EFS resource

Description

Creates a tag for an EFS resource. You can create tags for EFS file systems and access points using this API operation.

This operation requires permissions for the elasticfilesystem:TagResource action.

Usage

efs_tag_resource(ResourceId, Tags)

Arguments

ResourceId

[required] The ID specifying the EFS resource that you want to create a tag for.

Tags

[required] An array of Tag objects to add. Each Tag object is a key-value pair.

Value

An empty list.

Request syntax

svc$tag_resource(
  ResourceId = "string",
  Tags = list(
    list(
      Key = "string",
      Value = "string"
    )
  )
)