CfnApplicationPropsMixin

class aws_cdk.mixins_preview.aws_appintegrations.mixins.CfnApplicationPropsMixin(props, *, strategy=None)

Bases: Mixin

Creates and persists an Application resource.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appintegrations-application.html

CloudformationResource:

AWS::AppIntegrations::Application

Mixin:

true

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview import mixins
from aws_cdk.mixins_preview.aws_appintegrations import mixins as appintegrations_mixins

cfn_application_props_mixin = appintegrations_mixins.CfnApplicationPropsMixin(appintegrations_mixins.CfnApplicationMixinProps(
    application_config=appintegrations_mixins.CfnApplicationPropsMixin.ApplicationConfigProperty(
        contact_handling=appintegrations_mixins.CfnApplicationPropsMixin.ContactHandlingProperty(
            scope="scope"
        )
    ),
    application_source_config=appintegrations_mixins.CfnApplicationPropsMixin.ApplicationSourceConfigProperty(
        external_url_config=appintegrations_mixins.CfnApplicationPropsMixin.ExternalUrlConfigProperty(
            access_url="accessUrl",
            approved_origins=["approvedOrigins"]
        )
    ),
    description="description",
    iframe_config=appintegrations_mixins.CfnApplicationPropsMixin.IframeConfigProperty(
        allow=["allow"],
        sandbox=["sandbox"]
    ),
    initialization_timeout=123,
    is_service=False,
    name="name",
    namespace="namespace",
    permissions=["permissions"],
    tags=[CfnTag(
        key="key",
        value="value"
    )]
),
    strategy=mixins.PropertyMergeStrategy.OVERRIDE
)

Create a mixin to apply properties to AWS::AppIntegrations::Application.

Parameters:
  • props (Union[CfnApplicationMixinProps, Dict[str, Any]]) – L1 properties to apply.

  • strategy (Optional[PropertyMergeStrategy]) – (experimental) Strategy for merging nested properties. Default: - PropertyMergeStrategy.MERGE

Methods

apply_to(construct)

Apply the mixin properties to the construct.

Parameters:

construct (IConstruct)

Return type:

IConstruct

supports(construct)

Check if this mixin supports the given construct.

Parameters:

construct (IConstruct)

Return type:

bool

Attributes

CFN_PROPERTY_KEYS = ['applicationConfig', 'applicationSourceConfig', 'description', 'iframeConfig', 'initializationTimeout', 'isService', 'name', 'namespace', 'permissions', 'tags']

Static Methods

classmethod is_mixin(x)

(experimental) Checks if x is a Mixin.

Parameters:

x (Any) – Any object.

Return type:

bool

Returns:

true if x is an object created from a class which extends Mixin.

Stability:

experimental

ApplicationConfigProperty

class CfnApplicationPropsMixin.ApplicationConfigProperty(*, contact_handling=None)

Bases: object

Parameters:

contact_handling (Union[IResolvable, ContactHandlingProperty, Dict[str, Any], None])

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appintegrations-application-applicationconfig.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_appintegrations import mixins as appintegrations_mixins

application_config_property = appintegrations_mixins.CfnApplicationPropsMixin.ApplicationConfigProperty(
    contact_handling=appintegrations_mixins.CfnApplicationPropsMixin.ContactHandlingProperty(
        scope="scope"
    )
)

Attributes

contact_handling

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appintegrations-application-applicationconfig.html#cfn-appintegrations-application-applicationconfig-contacthandling

Type:

see

ApplicationSourceConfigProperty

class CfnApplicationPropsMixin.ApplicationSourceConfigProperty(*, external_url_config=None)

Bases: object

The configuration for where the application should be loaded from.

Parameters:

external_url_config (Union[IResolvable, ExternalUrlConfigProperty, Dict[str, Any], None]) – The external URL source for the application.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appintegrations-application-applicationsourceconfig.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_appintegrations import mixins as appintegrations_mixins

application_source_config_property = appintegrations_mixins.CfnApplicationPropsMixin.ApplicationSourceConfigProperty(
    external_url_config=appintegrations_mixins.CfnApplicationPropsMixin.ExternalUrlConfigProperty(
        access_url="accessUrl",
        approved_origins=["approvedOrigins"]
    )
)

Attributes

external_url_config

The external URL source for the application.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appintegrations-application-applicationsourceconfig.html#cfn-appintegrations-application-applicationsourceconfig-externalurlconfig

ContactHandlingProperty

class CfnApplicationPropsMixin.ContactHandlingProperty(*, scope=None)

Bases: object

Parameters:

scope (Optional[str])

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appintegrations-application-contacthandling.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_appintegrations import mixins as appintegrations_mixins

contact_handling_property = appintegrations_mixins.CfnApplicationPropsMixin.ContactHandlingProperty(
    scope="scope"
)

Attributes

scope

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appintegrations-application-contacthandling.html#cfn-appintegrations-application-contacthandling-scope

Type:

see

ExternalUrlConfigProperty

class CfnApplicationPropsMixin.ExternalUrlConfigProperty(*, access_url=None, approved_origins=None)

Bases: object

The external URL source for the application.

Parameters:
  • access_url (Optional[str]) – The URL to access the application.

  • approved_origins (Optional[Sequence[str]]) – Additional URLs to allow list if different than the access URL.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appintegrations-application-externalurlconfig.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_appintegrations import mixins as appintegrations_mixins

external_url_config_property = appintegrations_mixins.CfnApplicationPropsMixin.ExternalUrlConfigProperty(
    access_url="accessUrl",
    approved_origins=["approvedOrigins"]
)

Attributes

access_url

The URL to access the application.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appintegrations-application-externalurlconfig.html#cfn-appintegrations-application-externalurlconfig-accessurl

approved_origins

Additional URLs to allow list if different than the access URL.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appintegrations-application-externalurlconfig.html#cfn-appintegrations-application-externalurlconfig-approvedorigins

IframeConfigProperty

class CfnApplicationPropsMixin.IframeConfigProperty(*, allow=None, sandbox=None)

Bases: object

Parameters:
  • allow (Optional[Sequence[str]])

  • sandbox (Optional[Sequence[str]])

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appintegrations-application-iframeconfig.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_appintegrations import mixins as appintegrations_mixins

iframe_config_property = appintegrations_mixins.CfnApplicationPropsMixin.IframeConfigProperty(
    allow=["allow"],
    sandbox=["sandbox"]
)

Attributes

allow

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appintegrations-application-iframeconfig.html#cfn-appintegrations-application-iframeconfig-allow

Type:

see

sandbox

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appintegrations-application-iframeconfig.html#cfn-appintegrations-application-iframeconfig-sandbox

Type:

see