# RuleTriggerEventSourceProperty

The name of the event source.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_connect as connect } from 'aws-cdk-lib';
const ruleTriggerEventSourceProperty: connect.CfnRule.RuleTriggerEventSourceProperty = {
  eventSourceName: 'eventSourceName',

  // the properties below are optional
  integrationAssociationArn: 'integrationAssociationArn',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_connect as connect

rule_trigger_event_source_property = connect.CfnRule.RuleTriggerEventSourceProperty(
    event_source_name="eventSourceName",

    # the properties below are optional
    integration_association_arn="integrationAssociationArn"
)
```

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.connect.*;

RuleTriggerEventSourceProperty ruleTriggerEventSourceProperty = RuleTriggerEventSourceProperty.builder()
        .eventSourceName("eventSourceName")

        // the properties below are optional
        .integrationAssociationArn("integrationAssociationArn")
        .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.Connect;

var ruleTriggerEventSourceProperty = new RuleTriggerEventSourceProperty {
    EventSourceName = "eventSourceName",

    // the properties below are optional
    IntegrationAssociationArn = "integrationAssociationArn"
};
```

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"

ruleTriggerEventSourceProperty := &RuleTriggerEventSourceProperty{
	EventSourceName: jsii.String("eventSourceName"),

	// the properties below are optional
	IntegrationAssociationArn: jsii.String("integrationAssociationArn"),
}
```

## Properties

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

- `integrationAssociationArn`: string — The Amazon Resource Name (ARN) of the integration association.

  `IntegrationAssociationArn` is required if `TriggerEventSource` is one of the following values: `OnZendeskTicketCreate` | `OnZendeskTicketStatusUpdate` | `OnSalesforceCaseCreate`
