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.
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
public virtual CreateWebAppResponse CreateWebApp( CreateWebAppRequest request )
Container for the necessary parameters to execute the CreateWebApp service method.
| Exception | Condition |
|---|---|
| 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. |
.NET Framework:
Supported in: 4.7.2 and newer