CfnEventIntegrationProps Struct
Properties for defining a CfnEventIntegration.
| Source |
|---|
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 cfnEventIntegrationProps: appintegrations.CfnEventIntegrationProps = {
eventBridgeBus: 'eventBridgeBus',
eventFilter: {
source: 'source',
},
name: 'name',
// the properties below are optional
description: 'description',
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_event_integration_props = appintegrations.CfnEventIntegrationProps(
event_bridge_bus="eventBridgeBus",
event_filter=appintegrations.CfnEventIntegration.EventFilterProperty(
source="source"
),
name="name",
# the properties below are optional
description="description",
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.*;
CfnEventIntegrationProps cfnEventIntegrationProps = CfnEventIntegrationProps.builder()
.eventBridgeBus("eventBridgeBus")
.eventFilter(EventFilterProperty.builder()
.source("source")
.build())
.name("name")
// the properties below are optional
.description("description")
.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 cfnEventIntegrationProps = new CfnEventIntegrationProps {
EventBridgeBus = "eventBridgeBus",
EventFilter = new EventFilterProperty {
Source = "source"
},
Name = "name",
// the properties below are optional
Description = "description",
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"
cfnEventIntegrationProps := &CfnEventIntegrationProps{
EventBridgeBus: jsii.String("eventBridgeBus"),
EventFilter: &EventFilterProperty{
Source: jsii.String("source"),
},
Name: jsii.String("name"),
// the properties below are optional
Description: jsii.String("description"),
Tags: []CfnTag{
&CfnTag{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
}
Properties
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string #The event integration description.
eventBridgeBusstringevent_bridge_busstreventBridgeBusStringEventBridgeBusstringEventBridgeBus*string required #The Amazon EventBridge bus for the event integration.
eventFilterIResolvable | CfnEventIntegration.event_filtertyping.Union[IResolvable, EventFilterProperty]eventFilterIResolvableEventFilterIResolvableEventFilterinterface{} required #The event integration filter.
The name of the event integration.