CfnApplicationProps Struct
Properties for defining a CfnApplication.
| Source | |
|---|---|
| Type last changed |
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',
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
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
// 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();
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"
} }
};
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
applicationConfigoptionalIResolvable | CfnApplication.application_configoptionaltyping.Union[IResolvable, ApplicationConfigProperty]applicationConfigoptionalIResolvableApplicationConfigoptionalIResolvableApplicationConfigoptionalinterface{} #applicationSourceConfigIResolvable | CfnApplication.application_source_configtyping.Union[IResolvable, ApplicationSourceConfigProperty]applicationSourceConfigIResolvableApplicationSourceConfigIResolvableApplicationSourceConfiginterface{} required #The configuration for where the application should be loaded from.
applicationTypeoptionalstringapplication_typeoptionalstrapplicationTypeoptionalStringApplicationTypeoptionalstringApplicationTypeoptional*string #The type of application.
authConfigoptionalIResolvable | CfnApplication.auth_configoptionaltyping.Union[IResolvable, AuthConfigProperty]authConfigoptionalIResolvableAuthConfigoptionalIResolvableAuthConfigoptionalinterface{} #descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string #The description of the application.
iframeConfigoptionalIResolvable | CfnApplication.iframe_configoptionaltyping.Union[IResolvable, IframeConfigProperty]iframeConfigoptionalIResolvableIframeConfigoptionalIResolvableIframeConfigoptionalinterface{} #initializationTimeoutoptionalnumberinitialization_timeoutoptionalint | floatinitializationTimeoutoptionalNumberInitializationTimeoutoptionaldoubleInitializationTimeoutoptional*float64 #The initialization timeout in milliseconds.
Required when IsService is true.
isServiceoptionalboolean | IResolvableis_serviceoptionaltyping.Union[bool, IResolvable]isServiceoptionalBooleanIsServiceoptionalboolIsServiceoptionalinterface{} = false #Indicates whether the application is a service.
The name of the application.
The namespace of the application.
permissionsoptionalstring[]permissionsoptionaltyping.List[str]permissionsoptionalList<String>Permissionsoptionalstring[]Permissionsoptional*[]*string #The configuration of events or requests that the application has access to.