create_web_app
¶
create_web_app(
identity_provider_details: WebAppIdentityProviderDetails,
*,
config_overrides: Optional[TransferClientConfig] = None,
access_endpoint: Optional[WebAppAccessEndpoint] = None,
web_app_units: Optional[WebAppUnits] = None,
tags: Optional[Tags] = None,
web_app_endpoint_policy: Optional[WebAppEndpointPolicy] = None,
endpoint_details: Optional[WebAppEndpointDetails] = None,
) -> CreateWebAppResponse
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.
Parameters:
-
identity_provider_details(WebAppIdentityProviderDetails) –You can provide a structure that contains the details for the identity provider to use with your web app.
For more details about this parameter, see Configure your identity provider for Transfer Family web apps.
-
access_endpoint(Optional[WebAppAccessEndpoint], default:None) –The
AccessEndpointis the URL that you provide to your users for them to interact with the Transfer Family web app. You can specify a custom URL or use the default value.Before you enter a custom URL for this parameter, follow the steps described in Update your access endpoint with a custom URL.
-
web_app_units(Optional[WebAppUnits], default:None) –A union that contains the value for number of concurrent connections or the user sessions on your web app.
-
tags(Optional[Tags], default:None) –Key-value pairs that can be used to group and search for web apps.
-
web_app_endpoint_policy(Optional[WebAppEndpointPolicy], default:None) –Setting for the type of endpoint policy for the web app. The default value is
STANDARD.If you are creating the web app in an Amazon Web Services GovCloud (US) Region, you can set this parameter to
FIPS. -
endpoint_details(Optional[WebAppEndpointDetails], default:None) –The endpoint configuration for the web app. You can specify whether the web app endpoint is publicly accessible or hosted within a VPC.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
InternalServiceError–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.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_transfer/_services/transfer.py
4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 | |