# CfnApplicationProps

Properties for defining a `CfnApplication`.

Used as props by: [CfnApplication](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_appintegrations.CfnApplication.html)

- Source: Generated at build time
- Type last changed: v2.278.0 · 20 Nov 2026

## Example

TypeScript:

```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',
  authConfig: {
    authType: 'authType',

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

Python:

```python
from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_appintegrations as appintegrations

cfn_application_props = appintegrations.CfnApplicationProps(
    application_source_config=appintegrations.CfnApplication.ApplicationSourceConfigProperty(
        external_url_config=appintegrations.CfnApplication.ExternalUrlConfigProperty(
            access_url="accessUrl",

            # the properties below are optional
            approved_origins=["approvedOrigins"]
        )
    ),
    name="name",
    namespace="namespace",

    # the properties below are optional
    application_config=appintegrations.CfnApplication.ApplicationConfigProperty(
        contact_handling=appintegrations.CfnApplication.ContactHandlingProperty(
            scope="scope"
        )
    ),
    application_type="applicationType",
    auth_config=appintegrations.CfnApplication.AuthConfigProperty(
        auth_type="authType",

        # the properties below are optional
        audience_override="audienceOverride",
        credential_provider_identifier="credentialProviderIdentifier"
    ),
    description="description",
    iframe_config=appintegrations.CfnApplication.IframeConfigProperty(
        allow=["allow"],
        sandbox=["sandbox"]
    ),
    initialization_timeout=123,
    is_service=False,
    permissions=["permissions"],
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)
```

Java:

```java
// 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())
        .name("name")
        .namespace("namespace")

        // the properties below are optional
        .applicationConfig(ApplicationConfigProperty.builder()
                .contactHandling(ContactHandlingProperty.builder()
                        .scope("scope")
                        .build())
                .build())
        .applicationType("applicationType")
        .authConfig(AuthConfigProperty.builder()
                .authType("authType")

                // the properties below are optional
                .audienceOverride("audienceOverride")
                .credentialProviderIdentifier("credentialProviderIdentifier")
                .build())
        .description("description")
        .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();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AppIntegrations;

var cfnApplicationProps = new CfnApplicationProps {
    ApplicationSourceConfig = new ApplicationSourceConfigProperty {
        ExternalUrlConfig = new ExternalUrlConfigProperty {
            AccessUrl = "accessUrl",

            // the properties below are optional
            ApprovedOrigins = new [] { "approvedOrigins" }
        }
    },
    Name = "name",
    Namespace = "namespace",

    // the properties below are optional
    ApplicationConfig = new ApplicationConfigProperty {
        ContactHandling = new ContactHandlingProperty {
            Scope = "scope"
        }
    },
    ApplicationType = "applicationType",
    AuthConfig = new AuthConfigProperty {
        AuthType = "authType",

        // the properties below are optional
        AudienceOverride = "audienceOverride",
        CredentialProviderIdentifier = "credentialProviderIdentifier"
    },
    Description = "description",
    IframeConfig = new IframeConfigProperty {
        Allow = new [] { "allow" },
        Sandbox = new [] { "sandbox" }
    },
    InitializationTimeout = 123,
    IsService = false,
    Permissions = new [] { "permissions" },
    Tags = new [] { new CfnTag {
        Key = "key",
        Value = "value"
    } }
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

cfnApplicationProps := &CfnApplicationProps{
	ApplicationSourceConfig: &ApplicationSourceConfigProperty{
		ExternalUrlConfig: &ExternalUrlConfigProperty{
			AccessUrl: jsii.String("accessUrl"),

			// the properties below are optional
			ApprovedOrigins: []*string{
				jsii.String("approvedOrigins"),
			},
		},
	},
	Name: jsii.String("name"),
	Namespace: jsii.String("namespace"),

	// the properties below are optional
	ApplicationConfig: &ApplicationConfigProperty{
		ContactHandling: &ContactHandlingProperty{
			Scope: jsii.String("scope"),
		},
	},
	ApplicationType: jsii.String("applicationType"),
	AuthConfig: &AuthConfigProperty{
		AuthType: jsii.String("authType"),

		// the properties below are optional
		AudienceOverride: jsii.String("audienceOverride"),
		CredentialProviderIdentifier: jsii.String("credentialProviderIdentifier"),
	},
	Description: jsii.String("description"),
	IframeConfig: &IframeConfigProperty{
		Allow: []*string{
			jsii.String("allow"),
		},
		Sandbox: []*string{
			jsii.String("sandbox"),
		},
	},
	InitializationTimeout: jsii.Number(123),
	IsService: jsii.Boolean(false),
	Permissions: []*string{
		jsii.String("permissions"),
	},
	Tags: []CfnTag{
		&CfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
}
```

## Properties

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

- `applicationSourceConfig`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnApplication.ApplicationSourceConfigProperty](https://docs.aws.amazon.com/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.

- `authConfig`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnApplication.AuthConfigProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_appintegrations.CfnApplication.AuthConfigProperty.html)

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

- `iframeConfig`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnApplication.IframeConfigProperty](https://docs.aws.amazon.com/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](https://docs.aws.amazon.com/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](https://docs.aws.amazon.com/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"} }.
