Class CfnWebApp
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.transfer.CfnWebApp
- All Implemented Interfaces:
IInspectable,ITaggableV2,IWebAppRef,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-24T13:34:48.571Z")
@Stability(Stable)
public class CfnWebApp
extends CfnResource
implements IInspectable, IWebAppRef, ITaggableV2
Creates a web app based on specified parameters, and returns the ID for the new web app.
Example:
// 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.*;
CfnWebApp cfnWebApp = CfnWebApp.Builder.create(this, "MyCfnWebApp")
.identityProviderDetails(IdentityProviderDetailsProperty.builder()
.applicationArn("applicationArn")
.instanceArn("instanceArn")
.role("role")
.build())
// the properties below are optional
.accessEndpoint("accessEndpoint")
.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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnWebApp.static interfaceA structure that describes the values to use for the IAM Identity Center settings when you create or update a web app.static interfaceA structure that contains the customization fields for the web app.static interfaceContains an integer value that represents the value for number of concurrent connections or the user sessions on your web app.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.services.transfer.IWebAppRef
IWebAppRef.Jsii$Default, IWebAppRef.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnWebApp(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnWebApp(software.amazon.jsii.JsiiObjectRef objRef) CfnWebApp(software.constructs.Construct scope, String id, CfnWebAppProps props) -
Method Summary
Modifier and TypeMethodDescriptionTheAccessEndpointis the URL that you provide to your users for them to interact with the Transfer Family web app.The Amazon Resource Name (ARN) of the web app.The Amazon Resource Name (ARN) for the IAM Identity Center application: this value is set automatically when you create your web app.The unique identifier for the web app.Tag Manager which manages the tags for this resource.You can provide a structure that contains the details for the identity provider to use with your web app.getTags()Key-value pairs that can be used to group and search for web apps.A structure that contains the customization fields for the web app.Setting for the type of endpoint policy for the web app.A reference to a WebApp resource.A union that contains the value for number of concurrent connections or the user sessions on your web app.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetAccessEndpoint(String value) TheAccessEndpointis the URL that you provide to your users for them to interact with the Transfer Family web app.voidYou can provide a structure that contains the details for the identity provider to use with your web app.voidYou can provide a structure that contains the details for the identity provider to use with your web app.voidKey-value pairs that can be used to group and search for web apps.voidA structure that contains the customization fields for the web app.voidA structure that contains the customization fields for the web app.voidsetWebAppEndpointPolicy(String value) Setting for the type of endpoint policy for the web app.voidsetWebAppUnits(IResolvable value) A union that contains the value for number of concurrent connections or the user sessions on your web app.voidA union that contains the value for number of concurrent connections or the user sessions on your web app.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnWebApp
protected CfnWebApp(software.amazon.jsii.JsiiObjectRef objRef) -
CfnWebApp
protected CfnWebApp(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnWebApp
@Stability(Stable) public CfnWebApp(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnWebAppProps props) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrArn
The Amazon Resource Name (ARN) of the web app. -
getAttrIdentityProviderDetailsApplicationArn
The Amazon Resource Name (ARN) for the IAM Identity Center application: this value is set automatically when you create your web app. -
getAttrWebAppId
The unique identifier for the web app. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getWebAppRef
A reference to a WebApp resource.- Specified by:
getWebAppRefin interfaceIWebAppRef
-
getIdentityProviderDetails
You can provide a structure that contains the details for the identity provider to use with your web app.Returns union: either
IResolvableorCfnWebApp.IdentityProviderDetailsProperty -
setIdentityProviderDetails
You can provide a structure that contains the details for the identity provider to use with your web app. -
setIdentityProviderDetails
@Stability(Stable) public void setIdentityProviderDetails(@NotNull CfnWebApp.IdentityProviderDetailsProperty value) You can provide a structure that contains the details for the identity provider to use with your web app. -
getAccessEndpoint
TheAccessEndpointis the URL that you provide to your users for them to interact with the Transfer Family web app. -
setAccessEndpoint
TheAccessEndpointis the URL that you provide to your users for them to interact with the Transfer Family web app. -
getTags
Key-value pairs that can be used to group and search for web apps. -
setTags
Key-value pairs that can be used to group and search for web apps. -
getWebAppCustomization
A structure that contains the customization fields for the web app.Returns union: either
IResolvableorCfnWebApp.WebAppCustomizationProperty -
setWebAppCustomization
A structure that contains the customization fields for the web app. -
setWebAppCustomization
@Stability(Stable) public void setWebAppCustomization(@Nullable CfnWebApp.WebAppCustomizationProperty value) A structure that contains the customization fields for the web app. -
getWebAppEndpointPolicy
Setting for the type of endpoint policy for the web app.The default value is
STANDARD. -
setWebAppEndpointPolicy
Setting for the type of endpoint policy for the web app.The default value is
STANDARD. -
getWebAppUnits
A union that contains the value for number of concurrent connections or the user sessions on your web app.Returns union: either
IResolvableorCfnWebApp.WebAppUnitsProperty -
setWebAppUnits
A union that contains the value for number of concurrent connections or the user sessions on your web app. -
setWebAppUnits
A union that contains the value for number of concurrent connections or the user sessions on your web app.
-