Class CfnApplication
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.appintegrations.CfnApplication
- All Implemented Interfaces:
IInspectable,IApplicationRef,IEnvironmentAware,ITaggableV2,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-12-01T16:02:13.841Z")
@Stability(Stable)
public class CfnApplication
extends CfnResource
implements IInspectable, IApplicationRef, ITaggableV2
Creates and persists an Application resource.
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.*;
CfnApplication cfnApplication = CfnApplication.Builder.create(this, "MyCfnApplication")
.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 TypeClassDescriptionstatic interfaceExample:static interfaceThe configuration for where the application should be loaded from.static final classA fluent builder forCfnApplication.static interfaceExample:static interfaceThe external URL source for the application.static interfaceExample:Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.appintegrations.IApplicationRef
IApplicationRef.Jsii$Default, IApplicationRef.Jsii$ProxyNested 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$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnApplication(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnApplication(software.amazon.jsii.JsiiObjectRef objRef) CfnApplication(software.constructs.Construct scope, String id, CfnApplicationProps props) Create a newAWS::AppIntegrations::Application. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringarnForApplication(IApplicationRef resource) Returns union: eitherIResolvableorCfnApplication.ApplicationConfigPropertyA reference to a Application resource.The configuration for where the application should be loaded from.The Amazon Resource Name (ARN) of the Application.A unique identifier for the Application.Tag Manager which manages the tags for this resource.The description of the application.Returns union: eitherIResolvableorCfnApplication.IframeConfigPropertyThe initialization timeout in milliseconds.Indicates 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.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnApplication.renderProperties(Map<String, Object> props) voidsetApplicationConfig(IResolvable value) voidvoidThe configuration for where the application should be loaded from.voidThe configuration for where the application should be loaded from.voidsetDescription(String value) The description of the application.voidsetIframeConfig(IResolvable value) voidvoidsetInitializationTimeout(Number value) The initialization timeout in milliseconds.voidsetIsService(Boolean value) Indicates whether the application is a service.voidsetIsService(IResolvable value) Indicates whether the application is a service.voidThe name of the application.voidsetNamespace(String value) The namespace of the application.voidsetPermissions(List<String> value) The configuration of events or requests that the application has access to.voidThe tags used to organize, track, or control access for this resource.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, 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.awscdk.interfaces.IEnvironmentAware
getEnvMethods 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
-
CfnApplication
protected CfnApplication(software.amazon.jsii.JsiiObjectRef objRef) -
CfnApplication
protected CfnApplication(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnApplication
@Stability(Stable) public CfnApplication(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnApplicationProps props) Create a newAWS::AppIntegrations::Application.- 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
-
arnForApplication
@Stability(Stable) @NotNull public static String arnForApplication(@NotNull IApplicationRef resource) - Parameters:
resource- This parameter is required.
-
isCfnApplication
Checks whether the given object is a CfnApplication.- Parameters:
x- This parameter is required.
-
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.
-
getApplicationRef
A reference to a Application resource.- Specified by:
getApplicationRefin interfaceIApplicationRef
-
getAttrApplicationArn
The Amazon Resource Name (ARN) of the Application. -
getAttrId
A unique identifier for the Application. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getApplicationSourceConfig
The configuration for where the application should be loaded from.Returns union: either
IResolvableorCfnApplication.ApplicationSourceConfigProperty -
setApplicationSourceConfig
The configuration for where the application should be loaded from. -
setApplicationSourceConfig
@Stability(Stable) public void setApplicationSourceConfig(@NotNull CfnApplication.ApplicationSourceConfigProperty value) The configuration for where the application should be loaded from. -
getDescription
The description of the application. -
setDescription
The description of the application. -
getName
The name of the application. -
setName
The name of the application. -
getNamespace
The namespace of the application. -
setNamespace
The namespace of the application. -
getApplicationConfig
Returns union: eitherIResolvableorCfnApplication.ApplicationConfigProperty -
setApplicationConfig
-
setApplicationConfig
@Stability(Stable) public void setApplicationConfig(@Nullable CfnApplication.ApplicationConfigProperty value) -
getIframeConfig
Returns union: eitherIResolvableorCfnApplication.IframeConfigProperty -
setIframeConfig
-
setIframeConfig
-
getInitializationTimeout
The initialization timeout in milliseconds. -
setInitializationTimeout
The initialization timeout in milliseconds. -
getIsService
Indicates whether the application is a service.Returns union: either
BooleanorIResolvable -
setIsService
Indicates whether the application is a service. -
setIsService
Indicates whether the application is a service. -
getPermissions
The configuration of events or requests that the application has access to. -
setPermissions
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. -
setTags
The tags used to organize, track, or control access for this resource.
-