AWS SDK Version 4 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Creates a web app based on specified parameters, and returns the ID for the new web app. You can configure the web app to be publicly accessible or hosted within a VPC.

For more information about using VPC endpoints with Transfer Family, see Create a Transfer Family web app in a VPC.

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to CreateWebAppAsync.

Namespace: Amazon.Transfer
Assembly: AWSSDK.Transfer.dll
Version: 3.x.y.z

Syntax

C#
public virtual CreateWebAppResponse CreateWebApp(
         CreateWebAppRequest request
)

Parameters

request
Type: Amazon.Transfer.Model.CreateWebAppRequest

Container for the necessary parameters to execute the CreateWebApp service method.

Return Value


The response from the CreateWebApp service method, as returned by Transfer.

Exceptions

ExceptionCondition
AccessDeniedException You do not have sufficient access to perform this action.
InternalServiceErrorException This exception is thrown when an error occurs in the Transfer Family service.
InvalidRequestException This exception is thrown when the client submits a malformed request.
ResourceNotFoundException This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.
ThrottlingException The request was denied due to request throttling.

Version Information

.NET Framework:
Supported in: 4.7.2 and newer

See Also