CodeConnectContact

class aws_cdk.mixins_preview.aws_connect.events.CodeConnectContact

Bases: object

(experimental) EventBridge event pattern for aws.connect@CodeConnectContact.

Stability:

experimental

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_connect import events as connect_events

code_connect_contact = connect_events.CodeConnectContact()
Stability:

experimental

Static Methods

classmethod code_connect_contact_pattern(*, agent_info=None, channel=None, contact_id=None, event_metadata=None, event_type=None, initial_contact_id=None, initiation_method=None, instance_arn=None, previous_contact_id=None, queue_info=None)

(experimental) EventBridge event pattern for Amazon Connect Contact Event.

Parameters:
  • agent_info (Union[AgentInfo, Dict[str, Any], None]) – (experimental) agentInfo property. Specify an array of string values to match this event if the actual value of agentInfo is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • channel (Optional[Sequence[str]]) – (experimental) channel property. Specify an array of string values to match this event if the actual value of channel is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • contact_id (Optional[Sequence[str]]) – (experimental) contactId property. Specify an array of string values to match this event if the actual value of contactId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • event_metadata (Union[AWSEventMetadataProps, Dict[str, Any], None]) – (experimental) EventBridge event metadata. Default: - -

  • event_type (Optional[Sequence[str]]) – (experimental) eventType property. Specify an array of string values to match this event if the actual value of eventType is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • initial_contact_id (Optional[Sequence[str]]) – (experimental) initialContactId property. Specify an array of string values to match this event if the actual value of initialContactId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • initiation_method (Optional[Sequence[str]]) – (experimental) initiationMethod property. Specify an array of string values to match this event if the actual value of initiationMethod is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • instance_arn (Optional[Sequence[str]]) – (experimental) instanceArn property. Specify an array of string values to match this event if the actual value of instanceArn is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Filter with the Instance reference

  • previous_contact_id (Optional[Sequence[str]]) – (experimental) previousContactId property. Specify an array of string values to match this event if the actual value of previousContactId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • queue_info (Union[QueueInfo, Dict[str, Any], None]) – (experimental) queueInfo property. Specify an array of string values to match this event if the actual value of queueInfo is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

Stability:

experimental

Return type:

EventPattern

AgentInfo

class CodeConnectContact.AgentInfo(*, agent_arn=None)

Bases: object

(experimental) Type definition for AgentInfo.

Parameters:

agent_arn (Optional[Sequence[str]]) – (experimental) agentArn property. Specify an array of string values to match this event if the actual value of agentArn is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

Stability:

experimental

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_connect import events as connect_events

agent_info = connect_events.CodeConnectContact.AgentInfo(
    agent_arn=["agentArn"]
)

Attributes

agent_arn

(experimental) agentArn property.

Specify an array of string values to match this event if the actual value of agentArn is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

CodeConnectContactProps

class CodeConnectContact.CodeConnectContactProps(*, agent_info=None, channel=None, contact_id=None, event_metadata=None, event_type=None, initial_contact_id=None, initiation_method=None, instance_arn=None, previous_contact_id=None, queue_info=None)

Bases: object

(experimental) Props type for aws.connect@CodeConnectContact event.

Parameters:
  • agent_info (Union[AgentInfo, Dict[str, Any], None]) – (experimental) agentInfo property. Specify an array of string values to match this event if the actual value of agentInfo is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • channel (Optional[Sequence[str]]) – (experimental) channel property. Specify an array of string values to match this event if the actual value of channel is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • contact_id (Optional[Sequence[str]]) – (experimental) contactId property. Specify an array of string values to match this event if the actual value of contactId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • event_metadata (Union[AWSEventMetadataProps, Dict[str, Any], None]) – (experimental) EventBridge event metadata. Default: - -

  • event_type (Optional[Sequence[str]]) – (experimental) eventType property. Specify an array of string values to match this event if the actual value of eventType is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • initial_contact_id (Optional[Sequence[str]]) – (experimental) initialContactId property. Specify an array of string values to match this event if the actual value of initialContactId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • initiation_method (Optional[Sequence[str]]) – (experimental) initiationMethod property. Specify an array of string values to match this event if the actual value of initiationMethod is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • instance_arn (Optional[Sequence[str]]) – (experimental) instanceArn property. Specify an array of string values to match this event if the actual value of instanceArn is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Filter with the Instance reference

  • previous_contact_id (Optional[Sequence[str]]) – (experimental) previousContactId property. Specify an array of string values to match this event if the actual value of previousContactId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • queue_info (Union[QueueInfo, Dict[str, Any], None]) – (experimental) queueInfo property. Specify an array of string values to match this event if the actual value of queueInfo is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

from aws_cdk import AWSEventMetadataProps
# 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_connect import events as connect_events

code_connect_contact_props = connect_events.CodeConnectContact.CodeConnectContactProps(
    agent_info=connect_events.CodeConnectContact.AgentInfo(
        agent_arn=["agentArn"]
    ),
    channel=["channel"],
    contact_id=["contactId"],
    event_metadata=AWSEventMetadataProps(
        region=["region"],
        resources=["resources"],
        version=["version"]
    ),
    event_type=["eventType"],
    initial_contact_id=["initialContactId"],
    initiation_method=["initiationMethod"],
    instance_arn=["instanceArn"],
    previous_contact_id=["previousContactId"],
    queue_info=connect_events.CodeConnectContact.QueueInfo(
        queue_arn=["queueArn"],
        queue_type=["queueType"]
    )
)

Attributes

agent_info

(experimental) agentInfo property.

Specify an array of string values to match this event if the actual value of agentInfo is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

channel

(experimental) channel property.

Specify an array of string values to match this event if the actual value of channel is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

contact_id

(experimental) contactId property.

Specify an array of string values to match this event if the actual value of contactId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

event_metadata

(experimental) EventBridge event metadata.

Default:

Stability:

experimental

event_type

(experimental) eventType property.

Specify an array of string values to match this event if the actual value of eventType is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

initial_contact_id

(experimental) initialContactId property.

Specify an array of string values to match this event if the actual value of initialContactId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

initiation_method

(experimental) initiationMethod property.

Specify an array of string values to match this event if the actual value of initiationMethod is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

instance_arn

(experimental) instanceArn property.

Specify an array of string values to match this event if the actual value of instanceArn is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Filter with the Instance reference

Stability:

experimental

previous_contact_id

(experimental) previousContactId property.

Specify an array of string values to match this event if the actual value of previousContactId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

queue_info

(experimental) queueInfo property.

Specify an array of string values to match this event if the actual value of queueInfo is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

QueueInfo

class CodeConnectContact.QueueInfo(*, queue_arn=None, queue_type=None)

Bases: object

(experimental) Type definition for QueueInfo.

Parameters:
  • queue_arn (Optional[Sequence[str]]) – (experimental) queueArn property. Specify an array of string values to match this event if the actual value of queueArn is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • queue_type (Optional[Sequence[str]]) – (experimental) queueType property. Specify an array of string values to match this event if the actual value of queueType is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

Stability:

experimental

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_connect import events as connect_events

queue_info = connect_events.CodeConnectContact.QueueInfo(
    queue_arn=["queueArn"],
    queue_type=["queueType"]
)

Attributes

queue_arn

(experimental) queueArn property.

Specify an array of string values to match this event if the actual value of queueArn is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

queue_type

(experimental) queueType property.

Specify an array of string values to match this event if the actual value of queueType is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental