# CfnWebAppProps

Properties for defining a `CfnWebApp`.

Used as props by: [CfnWebApp](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_transfer.CfnWebApp.html)

- Source: Generated at build time
- Type last changed: v2.238.0 · 9 Feb 2026

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_transfer as transfer } from 'aws-cdk-lib';
const cfnWebAppProps: transfer.CfnWebAppProps = {
  identityProviderDetails: {
    applicationArn: 'applicationArn',
    instanceArn: 'instanceArn',
    role: 'role',
  },

  // the properties below are optional
  accessEndpoint: 'accessEndpoint',
  endpointDetails: {
    vpc: {
      ipAddressType: 'ipAddressType',
      securityGroupIds: ['securityGroupIds'],
      subnetIds: ['subnetIds'],
      vpcId: 'vpcId',
    },
  },
  tags: [{
    key: 'key',
    value: 'value',
  }],
  webAppCustomization: {
    faviconFile: 'faviconFile',
    logoFile: 'logoFile',
    title: 'title',
  },
  webAppEndpointPolicy: 'webAppEndpointPolicy',
  webAppUnits: {
    provisioned: 123,
  },
};
```

Python:

```python
from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_transfer as transfer

cfn_web_app_props = transfer.CfnWebAppProps(
    identity_provider_details=transfer.CfnWebApp.IdentityProviderDetailsProperty(
        application_arn="applicationArn",
        instance_arn="instanceArn",
        role="role"
    ),

    # the properties below are optional
    access_endpoint="accessEndpoint",
    endpoint_details=transfer.CfnWebApp.EndpointDetailsProperty(
        vpc=transfer.CfnWebApp.VpcProperty(
            ip_address_type="ipAddressType",
            security_group_ids=["securityGroupIds"],
            subnet_ids=["subnetIds"],
            vpc_id="vpcId"
        )
    ),
    tags=[CfnTag(
        key="key",
        value="value"
    )],
    web_app_customization=transfer.CfnWebApp.WebAppCustomizationProperty(
        favicon_file="faviconFile",
        logo_file="logoFile",
        title="title"
    ),
    web_app_endpoint_policy="webAppEndpointPolicy",
    web_app_units=transfer.CfnWebApp.WebAppUnitsProperty(
        provisioned=123
    )
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.transfer.*;

CfnWebAppProps cfnWebAppProps = CfnWebAppProps.builder()
        .identityProviderDetails(IdentityProviderDetailsProperty.builder()
                .applicationArn("applicationArn")
                .instanceArn("instanceArn")
                .role("role")
                .build())

        // the properties below are optional
        .accessEndpoint("accessEndpoint")
        .endpointDetails(EndpointDetailsProperty.builder()
                .vpc(VpcProperty.builder()
                        .ipAddressType("ipAddressType")
                        .securityGroupIds(List.of("securityGroupIds"))
                        .subnetIds(List.of("subnetIds"))
                        .vpcId("vpcId")
                        .build())
                .build())
        .tags(List.of(CfnTag.builder()
                .key("key")
                .value("value")
                .build()))
        .webAppCustomization(WebAppCustomizationProperty.builder()
                .faviconFile("faviconFile")
                .logoFile("logoFile")
                .title("title")
                .build())
        .webAppEndpointPolicy("webAppEndpointPolicy")
        .webAppUnits(WebAppUnitsProperty.builder()
                .provisioned(123)
                .build())
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Transfer;

var cfnWebAppProps = new CfnWebAppProps {
    IdentityProviderDetails = new IdentityProviderDetailsProperty {
        ApplicationArn = "applicationArn",
        InstanceArn = "instanceArn",
        Role = "role"
    },

    // the properties below are optional
    AccessEndpoint = "accessEndpoint",
    EndpointDetails = new EndpointDetailsProperty {
        Vpc = new VpcProperty {
            IpAddressType = "ipAddressType",
            SecurityGroupIds = new [] { "securityGroupIds" },
            SubnetIds = new [] { "subnetIds" },
            VpcId = "vpcId"
        }
    },
    Tags = new [] { new CfnTag {
        Key = "key",
        Value = "value"
    } },
    WebAppCustomization = new WebAppCustomizationProperty {
        FaviconFile = "faviconFile",
        LogoFile = "logoFile",
        Title = "title"
    },
    WebAppEndpointPolicy = "webAppEndpointPolicy",
    WebAppUnits = new WebAppUnitsProperty {
        Provisioned = 123
    }
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

cfnWebAppProps := &CfnWebAppProps{
	IdentityProviderDetails: &IdentityProviderDetailsProperty{
		ApplicationArn: jsii.String("applicationArn"),
		InstanceArn: jsii.String("instanceArn"),
		Role: jsii.String("role"),
	},

	// the properties below are optional
	AccessEndpoint: jsii.String("accessEndpoint"),
	EndpointDetails: &EndpointDetailsProperty{
		Vpc: &VpcProperty{
			IpAddressType: jsii.String("ipAddressType"),
			SecurityGroupIds: []*string{
				jsii.String("securityGroupIds"),
			},
			SubnetIds: []*string{
				jsii.String("subnetIds"),
			},
			VpcId: jsii.String("vpcId"),
		},
	},
	Tags: []CfnTag{
		&CfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
	WebAppCustomization: &WebAppCustomizationProperty{
		FaviconFile: jsii.String("faviconFile"),
		LogoFile: jsii.String("logoFile"),
		Title: jsii.String("title"),
	},
	WebAppEndpointPolicy: jsii.String("webAppEndpointPolicy"),
	WebAppUnits: &WebAppUnitsProperty{
		Provisioned: jsii.Number(123),
	},
}
```

## Properties

- `accessEndpoint`: string — The `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.

  Before you enter a custom URL for this parameter, follow the steps described in [Update your access endpoint with a custom URL](https://docs.aws.amazon.com//transfer/latest/userguide/webapp-customize.html) .

- `endpointDetails`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnWebApp.EndpointDetailsProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_transfer.CfnWebApp.EndpointDetailsProperty.html)

- `identityProviderDetails`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnWebApp.IdentityProviderDetailsProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_transfer.CfnWebApp.IdentityProviderDetailsProperty.html) (required) — 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](https://docs.aws.amazon.com//transfer/latest/userguide/webapp-identity-center.html) .

- `tags`: [CfnTag](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — Key-value pairs that can be used to group and search for web apps.

  Tags are metadata attached to web apps for any purpose.

- `webAppCustomization`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnWebApp.WebAppCustomizationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_transfer.CfnWebApp.WebAppCustomizationProperty.html) — A structure that contains the customization fields for the web app.

  You can provide a title, logo, and icon to customize the appearance of your web app.

- `webAppEndpointPolicy`: string — Setting for the type of endpoint policy for the web app. The default value is `STANDARD` .

  If your web app was created in an AWS GovCloud (US) Region , the value of this parameter can be `FIPS` , which indicates the web app endpoint is FIPS-compliant.

- `webAppUnits`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnWebApp.WebAppUnitsProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_transfer.CfnWebApp.WebAppUnitsProperty.html) — A union that contains the value for number of concurrent connections or the user sessions on your web app.
