CfnEventIntegrationPropsMixin

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

Bases: Mixin

Creates an event integration.

You provide a name, description, and a reference to an Amazon EventBridge bus in your account and a partner event source that will push events to that bus. No objects are created in your account, only metadata that is persisted on the EventIntegration control plane.

See:

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

CloudformationResource:

AWS::AppIntegrations::EventIntegration

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_event_integration_props_mixin = appintegrations_mixins.CfnEventIntegrationPropsMixin(appintegrations_mixins.CfnEventIntegrationMixinProps(
    description="description",
    event_bridge_bus="eventBridgeBus",
    event_filter=appintegrations_mixins.CfnEventIntegrationPropsMixin.EventFilterProperty(
        source="source"
    ),
    name="name",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
),
    strategy=mixins.PropertyMergeStrategy.OVERRIDE
)

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

Parameters:

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 = ['description', 'eventBridgeBus', 'eventFilter', 'name', '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

EventFilterProperty

class CfnEventIntegrationPropsMixin.EventFilterProperty(*, source=None)

Bases: object

The event integration filter.

Parameters:

source (Optional[str]) – The source of the events.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appintegrations-eventintegration-eventfilter.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

event_filter_property = appintegrations_mixins.CfnEventIntegrationPropsMixin.EventFilterProperty(
    source="source"
)

Attributes

source

The source of the events.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appintegrations-eventintegration-eventfilter.html#cfn-appintegrations-eventintegration-eventfilter-source