CfnEventIntegrationPropsMixin
- class aws_cdk.mixins_preview.aws_appintegrations.mixins.CfnEventIntegrationPropsMixin(props, *, strategy=None)
Bases:
MixinCreates 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:
- 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:
props (
Union[CfnEventIntegrationMixinProps,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:
- 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
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.- Stability:
experimental
EventFilterProperty
- class CfnEventIntegrationPropsMixin.EventFilterProperty(*, source=None)
Bases:
objectThe event integration filter.
- Parameters:
source (
Optional[str]) – The source of the events.- See:
- 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