java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.Mixin
software.amazon.awscdk.cfnpropertymixins.services.transfer.CfnWebAppPropsMixin
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable, software.constructs.IMixin

@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)", date="2026-03-11T13:20:05.900Z") @Stability(Stable) public class CfnWebAppPropsMixin extends Mixin implements software.constructs.IMixin
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 AWS Transfer Family , see Create a Transfer Family web app in a VPC .

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.cfnpropertymixins.services.transfer.*;
 import software.amazon.awscdk.*;
 IMergeStrategy mergeStrategy;
 CfnWebAppPropsMixin cfnWebAppPropsMixin = CfnWebAppPropsMixin.Builder.create(CfnWebAppMixinProps.builder()
         .accessEndpoint("accessEndpoint")
         .endpointDetails(EndpointDetailsProperty.builder()
                 .vpc(VpcProperty.builder()
                         .securityGroupIds(List.of("securityGroupIds"))
                         .subnetIds(List.of("subnetIds"))
                         .vpcId("vpcId")
                         .build())
                 .build())
         .identityProviderDetails(IdentityProviderDetailsProperty.builder()
                 .applicationArn("applicationArn")
                 .instanceArn("instanceArn")
                 .role("role")
                 .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())
 .strategy(mergeStrategy)
 .build();
 

See Also:
  • Field Details

    • CFN_PROPERTY_KEYS

      @Stability(Stable) protected static final List<String> CFN_PROPERTY_KEYS
  • Constructor Details

    • CfnWebAppPropsMixin

      protected CfnWebAppPropsMixin(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnWebAppPropsMixin

      protected CfnWebAppPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnWebAppPropsMixin

      @Stability(Stable) public CfnWebAppPropsMixin(@NotNull CfnWebAppMixinProps props, @Nullable CfnPropertyMixinOptions options)
      Create a mixin to apply properties to AWS::Transfer::WebApp.

      Parameters:
      props - L1 properties to apply. This parameter is required.
      options - Mixin options.
    • CfnWebAppPropsMixin

      @Stability(Stable) public CfnWebAppPropsMixin(@NotNull CfnWebAppMixinProps props)
      Create a mixin to apply properties to AWS::Transfer::WebApp.

      Parameters:
      props - L1 properties to apply. This parameter is required.
  • Method Details

    • applyTo

      @Stability(Stable) public void applyTo(@NotNull software.constructs.IConstruct construct)
      Apply the mixin properties to the construct.

      Specified by:
      applyTo in interface software.constructs.IMixin
      Specified by:
      applyTo in class Mixin
      Parameters:
      construct - This parameter is required.
    • supports

      @Stability(Stable) @NotNull public Boolean supports(@NotNull software.constructs.IConstruct construct)
      Check if this mixin supports the given construct.

      Specified by:
      supports in interface software.constructs.IMixin
      Overrides:
      supports in class Mixin
      Parameters:
      construct - This parameter is required.
    • getProps

      @Stability(Stable) @NotNull protected CfnWebAppMixinProps getProps()
    • getStrategy

      @Stability(Stable) @NotNull protected IMergeStrategy getStrategy()