RuleTriggerEventSourceProperty Struct
The name of the event source.
| Source | |
|---|---|
| Type last changed |
Example
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
# 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
// 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();
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"
};
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
eventSourceNamestringevent_source_namestreventSourceNameStringEventSourceNamestringEventSourceName*string required #The name of the event source.
integrationAssociationArnoptionalstringintegration_association_arnoptionalstrintegrationAssociationArnoptionalStringIntegrationAssociationArnoptionalstringIntegrationAssociationArnoptional*string #The Amazon Resource Name (ARN) of the integration association.
IntegrationAssociationArn is required if TriggerEventSource is one of the following values: OnZendeskTicketCreate | OnZendeskTicketStatusUpdate | OnSalesforceCaseCreate