Interface CfnApplicationProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnApplicationProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.121.0 (build d7af9b9)",
date="2025-12-18T18:20:04.636Z")
@Stability(Stable)
public interface CfnApplicationProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnApplication.
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.appintegrations.*;
CfnApplicationProps cfnApplicationProps = CfnApplicationProps.builder()
.applicationSourceConfig(ApplicationSourceConfigProperty.builder()
.externalUrlConfig(ExternalUrlConfigProperty.builder()
.accessUrl("accessUrl")
// the properties below are optional
.approvedOrigins(List.of("approvedOrigins"))
.build())
.build())
.description("description")
.name("name")
.namespace("namespace")
// the properties below are optional
.applicationConfig(ApplicationConfigProperty.builder()
.contactHandling(ContactHandlingProperty.builder()
.scope("scope")
.build())
.build())
.iframeConfig(IframeConfigProperty.builder()
.allow(List.of("allow"))
.sandbox(List.of("sandbox"))
.build())
.initializationTimeout(123)
.isService(false)
.permissions(List.of("permissions"))
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnApplicationPropsstatic final classAn implementation forCfnApplicationProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnApplicationProps.Builderbuilder()default ObjectReturns union: eitherIResolvableorCfnApplication.ApplicationConfigPropertyThe configuration for where the application should be loaded from.The description of the application.default ObjectReturns union: eitherIResolvableorCfnApplication.IframeConfigPropertydefault NumberThe initialization timeout in milliseconds.default ObjectIndicates whether the application is a service.getName()The name of the application.The namespace of the application.The configuration of events or requests that the application has access to.getTags()The tags used to organize, track, or control access for this resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getApplicationSourceConfig
The configuration for where the application should be loaded from.Returns union: either
IResolvableorCfnApplication.ApplicationSourceConfigProperty- See Also:
-
getDescription
The description of the application.- See Also:
-
getName
The name of the application.- See Also:
-
getNamespace
The namespace of the application.- See Also:
-
getApplicationConfig
Returns union: eitherIResolvableorCfnApplication.ApplicationConfigProperty- See Also:
-
getIframeConfig
Returns union: eitherIResolvableorCfnApplication.IframeConfigProperty- See Also:
-
getInitializationTimeout
The initialization timeout in milliseconds.Required when IsService is true.
- See Also:
-
getIsService
Indicates whether the application is a service.Returns union: either
BooleanorIResolvableDefault: - false
- See Also:
-
getPermissions
The configuration of events or requests that the application has access to.- See Also:
-
getTags
The tags used to organize, track, or control access for this resource.For example, { "tags": {"key1":"value1", "key2":"value2"} }.
- See Also:
-
builder
- Returns:
- a
CfnApplicationProps.BuilderofCfnApplicationProps
-