DEPRECATED - CreateTags is deprecated and not maintained. To create tags for EFS
resources, use the API action.
Creates or overwrites tags associated with a file system. Each tag is a key-value pair. If
a tag key specified in the request already exists on the file system, this operation
overwrites its value with the value provided in the request. If you add the Name
tag to your file system, Amazon EFS returns it in the response to the DescribeFileSystems operation.
This operation requires permission for the elasticfilesystem:CreateTags
action.
example
Use a bare-bones client and the command you need to make an API call.
DEPRECATED -
CreateTags
is deprecated and not maintained. To create tags for EFS resources, use the API action.Creates or overwrites tags associated with a file system. Each tag is a key-value pair. If a tag key specified in the request already exists on the file system, this operation overwrites its value with the value provided in the request. If you add the
Name
tag to your file system, Amazon EFS returns it in the response to the DescribeFileSystems operation.This operation requires permission for the
elasticfilesystem:CreateTags
action.Use a bare-bones client and the command you need to make an API call.
import { EFSClient, CreateTagsCommand } from "@aws-sdk/client-efs"; // ES Modules import // const { EFSClient, CreateTagsCommand } = require("@aws-sdk/client-efs"); // CommonJS import const client = new EFSClient(config); const command = new CreateTagsCommand(input); const response = await client.send(command);
CreateTagsCommandInput for command's
input
shape.CreateTagsCommandOutput for command's
response
shape.config for EFSClient's
config
shape.