# CfnEventIntegrationProps

Properties for defining a `CfnEventIntegration`.

Used as props by: [CfnEventIntegration](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_appintegrations.CfnEventIntegration.html)

- Source: Generated at build time

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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"
    } }
};
```

Golang:

```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

- `description`: string — The event integration description.

- `eventBridgeBus`: string (required) — The Amazon EventBridge bus for the event integration.

- `eventFilter`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnEventIntegration.EventFilterProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_appintegrations.CfnEventIntegration.EventFilterProperty.html) (required) — The event integration filter.

- `name`: string (required) — The name of the event integration.

- `tags`: [CfnTag](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — An array of key-value pairs to apply to this resource.

  For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html) .
