Skip to main content

web_apps

Creates, updates, deletes, gets or lists a web_apps resource.

Overview

Nameweb_apps
TypeResource
Idaws.transfer.web_apps

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
access_endpointstringThe AccessEndpoint is 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.
arnstringThe Amazon Resource Name (ARN) of the web app. (pattern: <code>arn:\S+</code>)
described_endpoint_detailsobjectThe endpoint configuration details for the web app, including VPC settings if the endpoint is hosted within a VPC.
described_identity_provider_detailsobjectA structure that contains the details for the identity provider used by the web app.
endpoint_typestringThe type of endpoint hosting the web app. Valid values are PUBLIC for publicly accessible endpoints and VPC for VPC-hosted endpoints that provide network isolation. (PUBLIC, VPC)
tagsarrayKey-value pairs that can be used to group and search for web apps. Tags are metadata attached to web apps for any purpose.
web_app_endpointstringThe WebAppEndpoint is the unique URL for your Transfer Family web app. This is the value that you use when you configure Origins on CloudFront.
web_app_endpoint_policystringSetting for the type of endpoint policy for the web app. The default value is STANDARD. If your web app was created in an Amazon Web Services GovCloud (US) Region, the value of this parameter can be FIPS, which indicates the web app endpoint is FIPS-compliant. (FIPS, STANDARD)
web_app_idstringThe unique identifier for the web app. (pattern: <code>webapp-[0-9a-f]{17}</code>)
web_app_unitsobjectA union that contains the value for number of concurrent connections or the user sessions on your web app.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_web_appselectregionDescribes the web app that's identified by WebAppId. The response includes endpoint configuration details such as whether the web app is publicly accessible or VPC hosted. For more information about using VPC endpoints with Transfer Family, see Create a Transfer Family web app in a VPC.
list_web_appsselectregionLists all web apps associated with your Amazon Web Services account for your current region. The response includes the endpoint type for each web app, showing whether it is publicly accessible or VPC hosted. For more information about using VPC endpoints with Transfer Family, see Create a Transfer Family web app in a VPC.
create_web_appinsertregion, IdentityProviderDetailsCreates 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.
update_web_appupdateregion, WebAppIdAssigns new properties to a web app. You can modify the access point, identity provider details, endpoint configuration, and the web app units. For more information about using VPC endpoints with Transfer Family, see Create a Transfer Family web app in a VPC.
delete_web_appdeleteregionDeletes the specified web app.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Describes the web app that's identified by WebAppId. The response includes endpoint configuration details such as whether the web app is publicly accessible or VPC hosted. For more information about using VPC endpoints with Transfer Family, see Create a Transfer Family web app in a VPC.

SELECT
access_endpoint,
arn,
described_endpoint_details,
described_identity_provider_details,
endpoint_type,
tags,
web_app_endpoint,
web_app_endpoint_policy,
web_app_id,
web_app_units
FROM aws.transfer.web_apps
WHERE region = '{{ region }}' -- required
;

INSERT examples

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.

INSERT INTO aws.transfer.web_apps (
IdentityProviderDetails,
AccessEndpoint,
WebAppUnits,
Tags,
WebAppEndpointPolicy,
EndpointDetails,
region
)
SELECT
'{{ IdentityProviderDetails }}' /* required */,
'{{ AccessEndpoint }}',
'{{ WebAppUnits }}',
'{{ Tags }}',
'{{ WebAppEndpointPolicy }}',
'{{ EndpointDetails }}',
'{{ region }}'
RETURNING
web_app_id
;

UPDATE examples

Assigns new properties to a web app. You can modify the access point, identity provider details, endpoint configuration, and the web app units. For more information about using VPC endpoints with Transfer Family, see Create a Transfer Family web app in a VPC.

UPDATE aws.transfer.web_apps
SET
WebAppId = '{{ WebAppId }}',
IdentityProviderDetails = '{{ IdentityProviderDetails }}',
AccessEndpoint = '{{ AccessEndpoint }}',
WebAppUnits = '{{ WebAppUnits }}',
EndpointDetails = '{{ EndpointDetails }}'
WHERE
region = '{{ region }}' --required
AND WebAppId = '{{ WebAppId }}' --required
RETURNING
web_app_id;

DELETE examples

Deletes the specified web app.

DELETE FROM aws.transfer.web_apps
WHERE region = '{{ region }}' --required
;