Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AssociateFileSystemAliasesCommand

Use this action to associate one or more Domain Name Server (DNS) aliases with an existing Amazon FSx for Windows File Server file system. A file system can have a maximum of 50 DNS aliases associated with it at any one time. If you try to associate a DNS alias that is already associated with the file system, FSx takes no action on that alias in the request. For more information, see Working with DNS Aliases and Walkthrough 5: Using DNS aliases to access your file system, including additional steps you must take to be able to access your file system using a DNS alias.

The system response shows the DNS aliases that Amazon FSx is attempting to associate with the file system. Use the API operation to monitor the status of the aliases Amazon FSx is associating with the file system.

example

Use a bare-bones client and the command you need to make an API call.

import { FSxClient, AssociateFileSystemAliasesCommand } from "@aws-sdk/client-fsx"; // ES Modules import
// const { FSxClient, AssociateFileSystemAliasesCommand } = require("@aws-sdk/client-fsx"); // CommonJS import
const client = new FSxClient(config);
const command = new AssociateFileSystemAliasesCommand(input);
const response = await client.send(command);
see

AssociateFileSystemAliasesCommandInput for command's input shape.

see

AssociateFileSystemAliasesCommandOutput for command's response shape.

see

config for FSxClient's config shape.

Hierarchy

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

Readonly input

input: AssociateFileSystemAliasesCommandInput

Readonly middlewareStack