# CfnApplicationProps

Properties for defining a `CfnApplication`.

Extends: CfnApplicationProps
Used as props by: CfnApplication

- Source: Generated code
- Type last changed: v2.251.0 · 24 Apr 2026

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_appintegrations as appintegrations } from 'aws-cdk-lib';
const cfnApplicationProps: appintegrations.CfnApplicationProps = {
  applicationSourceConfig: {
    externalUrlConfig: {
      accessUrl: 'accessUrl',

      // the properties below are optional
      approvedOrigins: ['approvedOrigins'],
    },
  },
  name: 'name',
  namespace: 'namespace',

  // the properties below are optional
  applicationConfig: {
    contactHandling: {
      scope: 'scope',
    },
  },
  applicationType: 'applicationType',
  description: 'description',
  iframeConfig: {
    allow: ['allow'],
    sandbox: ['sandbox'],
  },
  initializationTimeout: 123,
  isService: false,
  permissions: ['permissions'],
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
```

## Properties

- `applicationConfig`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnApplication.ApplicationConfigProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_appintegrations.CfnApplication.ApplicationConfigProperty.html)

- `applicationSourceConfig`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnApplication.ApplicationSourceConfigProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_appintegrations.CfnApplication.ApplicationSourceConfigProperty.html) (required) — The configuration for where the application should be loaded from.

- `applicationType`: string — The type of application.

- `description`: string — The description of the application.

- `iframeConfig`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnApplication.IframeConfigProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_appintegrations.CfnApplication.IframeConfigProperty.html)

- `initializationTimeout`: number — The initialization timeout in milliseconds.

  Required when IsService is true.

- `isService`: boolean | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) = false — Indicates whether the application is a service.

- `name`: string (required) — The name of the application.

- `namespace`: string (required) — The namespace of the application.

- `permissions`: string[] — The configuration of events or requests that the application has access to.

- `tags`: [CfnTag](/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — The tags used to organize, track, or control access for this resource.

  For example, { "tags": {"key1":"value1", "key2":"value2"} }.
