# ApplicationSourceConfigProperty

The configuration for where the application should be loaded from.

- 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 applicationSourceConfigProperty: appintegrations.CfnApplication.ApplicationSourceConfigProperty = {
  externalUrlConfig: {
    accessUrl: 'accessUrl',

    // the properties below are optional
    approvedOrigins: ['approvedOrigins'],
  },
};
```

Python:

```python
# 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

application_source_config_property = appintegrations.CfnApplication.ApplicationSourceConfigProperty(
    external_url_config=appintegrations.CfnApplication.ExternalUrlConfigProperty(
        access_url="accessUrl",

        # the properties below are optional
        approved_origins=["approvedOrigins"]
    )
)
```

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.*;

ApplicationSourceConfigProperty applicationSourceConfigProperty = ApplicationSourceConfigProperty.builder()
        .externalUrlConfig(ExternalUrlConfigProperty.builder()
                .accessUrl("accessUrl")

                // the properties below are optional
                .approvedOrigins(List.of("approvedOrigins"))
                .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 applicationSourceConfigProperty = new ApplicationSourceConfigProperty {
    ExternalUrlConfig = new ExternalUrlConfigProperty {
        AccessUrl = "accessUrl",

        // the properties below are optional
        ApprovedOrigins = new [] { "approvedOrigins" }
    }
};
```

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"

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

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

## Properties

- `externalUrlConfig`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnApplication.ExternalUrlConfigProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_appintegrations.CfnApplication.ExternalUrlConfigProperty.html) — The external URL source for the application.
