Skip to content
v2.277.0

ApplicationSourceConfigProperty Struct ​

The configuration for where the application should be loaded from.

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

    // the properties below are optional
    approvedOrigins: ['approvedOrigins'],
  },
};
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
// 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();
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" }
    }
};
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 ​

externalUrlConfigIResolvable | CfnApplication.ExternalUrlConfigPropertyexternal_url_configtyping.Union[IResolvable, ExternalUrlConfigProperty]externalUrlConfigIResolvableExternalUrlConfigIResolvableExternalUrlConfiginterface{}required#
The external URL source for the application.