AS2PayloadSendFailed

class aws_cdk.mixins_preview.aws_transfer.events.AS2PayloadSendFailed

Bases: object

(experimental) EventBridge event pattern for aws.transfer@AS2PayloadSendFailed.

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_transfer import events as transfer_events

a_s2_payload_send_failed = transfer_events.AS2PayloadSendFailed()
Stability:

experimental

Static Methods

classmethod as2_payload_send_failed_pattern(*, as2_from=None, as2_message_id=None, as2_to=None, bytes=None, connector_id=None, event_metadata=None, failure_code=None, failure_message=None, message_subject=None, requester_file_name=None, s3_attributes=None, status_code=None, transfer_id=None)

(experimental) EventBridge event pattern for AS2 Payload Send Failed.

Parameters:
  • as2_from (Optional[Sequence[str]]) – (experimental) as2-from property. Specify an array of string values to match this event if the actual value of as2-from 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

  • as2_message_id (Optional[Sequence[str]]) – (experimental) as2-message-id property. Specify an array of string values to match this event if the actual value of as2-message-id 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

  • as2_to (Optional[Sequence[str]]) – (experimental) as2-to property. Specify an array of string values to match this event if the actual value of as2-to 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

  • bytes (Optional[Sequence[str]]) – (experimental) bytes property. Specify an array of string values to match this event if the actual value of bytes 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

  • connector_id (Optional[Sequence[str]]) – (experimental) connector-id property. Specify an array of string values to match this event if the actual value of connector-id 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 Connector reference

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

  • failure_code (Optional[Sequence[str]]) – (experimental) failure-code property. Specify an array of string values to match this event if the actual value of failure-code 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

  • failure_message (Optional[Sequence[str]]) – (experimental) failure-message property. Specify an array of string values to match this event if the actual value of failure-message 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

  • message_subject (Optional[Sequence[str]]) – (experimental) message-subject property. Specify an array of string values to match this event if the actual value of message-subject 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

  • requester_file_name (Optional[Sequence[str]]) – (experimental) requester-file-name property. Specify an array of string values to match this event if the actual value of requester-file-name 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

  • s3_attributes (Union[S3Attributes, Dict[str, Any], None]) – (experimental) s3-attributes property. Specify an array of string values to match this event if the actual value of s3-attributes 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

  • status_code (Optional[Sequence[str]]) – (experimental) status-code property. Specify an array of string values to match this event if the actual value of status-code 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

  • transfer_id (Optional[Sequence[str]]) – (experimental) transfer-id property. Specify an array of string values to match this event if the actual value of transfer-id 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

AS2PayloadSendFailedProps

class AS2PayloadSendFailed.AS2PayloadSendFailedProps(*, as2_from=None, as2_message_id=None, as2_to=None, bytes=None, connector_id=None, event_metadata=None, failure_code=None, failure_message=None, message_subject=None, requester_file_name=None, s3_attributes=None, status_code=None, transfer_id=None)

Bases: object

(experimental) Props type for aws.transfer@AS2PayloadSendFailed event.

Parameters:
  • as2_from (Optional[Sequence[str]]) – (experimental) as2-from property. Specify an array of string values to match this event if the actual value of as2-from 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

  • as2_message_id (Optional[Sequence[str]]) – (experimental) as2-message-id property. Specify an array of string values to match this event if the actual value of as2-message-id 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

  • as2_to (Optional[Sequence[str]]) – (experimental) as2-to property. Specify an array of string values to match this event if the actual value of as2-to 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

  • bytes (Optional[Sequence[str]]) – (experimental) bytes property. Specify an array of string values to match this event if the actual value of bytes 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

  • connector_id (Optional[Sequence[str]]) – (experimental) connector-id property. Specify an array of string values to match this event if the actual value of connector-id 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 Connector reference

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

  • failure_code (Optional[Sequence[str]]) – (experimental) failure-code property. Specify an array of string values to match this event if the actual value of failure-code 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

  • failure_message (Optional[Sequence[str]]) – (experimental) failure-message property. Specify an array of string values to match this event if the actual value of failure-message 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

  • message_subject (Optional[Sequence[str]]) – (experimental) message-subject property. Specify an array of string values to match this event if the actual value of message-subject 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

  • requester_file_name (Optional[Sequence[str]]) – (experimental) requester-file-name property. Specify an array of string values to match this event if the actual value of requester-file-name 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

  • s3_attributes (Union[S3Attributes, Dict[str, Any], None]) – (experimental) s3-attributes property. Specify an array of string values to match this event if the actual value of s3-attributes 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

  • status_code (Optional[Sequence[str]]) – (experimental) status-code property. Specify an array of string values to match this event if the actual value of status-code 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

  • transfer_id (Optional[Sequence[str]]) – (experimental) transfer-id property. Specify an array of string values to match this event if the actual value of transfer-id 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_transfer import events as transfer_events

a_s2_payload_send_failed_props = transfer_events.AS2PayloadSendFailed.AS2PayloadSendFailedProps(
    as2_from=["as2From"],
    as2_message_id=["as2MessageId"],
    as2_to=["as2To"],
    bytes=["bytes"],
    connector_id=["connectorId"],
    event_metadata=AWSEventMetadataProps(
        region=["region"],
        resources=["resources"],
        version=["version"]
    ),
    failure_code=["failureCode"],
    failure_message=["failureMessage"],
    message_subject=["messageSubject"],
    requester_file_name=["requesterFileName"],
    s3_attributes=transfer_events.AS2PayloadSendFailed.S3Attributes(
        file_bucket=["fileBucket"],
        file_key=["fileKey"],
        json_bucket=["jsonBucket"],
        json_key=["jsonKey"]
    ),
    status_code=["statusCode"],
    transfer_id=["transferId"]
)

Attributes

as2_from

(experimental) as2-from property.

Specify an array of string values to match this event if the actual value of as2-from 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

as2_message_id

(experimental) as2-message-id property.

Specify an array of string values to match this event if the actual value of as2-message-id 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

as2_to

(experimental) as2-to property.

Specify an array of string values to match this event if the actual value of as2-to 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

bytes

(experimental) bytes property.

Specify an array of string values to match this event if the actual value of bytes 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

connector_id

(experimental) connector-id property.

Specify an array of string values to match this event if the actual value of connector-id 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 Connector reference

Stability:

experimental

event_metadata

(experimental) EventBridge event metadata.

Default:

Stability:

experimental

failure_code

(experimental) failure-code property.

Specify an array of string values to match this event if the actual value of failure-code 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

failure_message

(experimental) failure-message property.

Specify an array of string values to match this event if the actual value of failure-message 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

message_subject

(experimental) message-subject property.

Specify an array of string values to match this event if the actual value of message-subject 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

requester_file_name

(experimental) requester-file-name property.

Specify an array of string values to match this event if the actual value of requester-file-name 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

s3_attributes

(experimental) s3-attributes property.

Specify an array of string values to match this event if the actual value of s3-attributes 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

status_code

(experimental) status-code property.

Specify an array of string values to match this event if the actual value of status-code 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

transfer_id

(experimental) transfer-id property.

Specify an array of string values to match this event if the actual value of transfer-id 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

S3Attributes

class AS2PayloadSendFailed.S3Attributes(*, file_bucket=None, file_key=None, json_bucket=None, json_key=None)

Bases: object

(experimental) Type definition for S3-attributes.

Parameters:
  • file_bucket (Optional[Sequence[str]]) – (experimental) file-bucket property. Specify an array of string values to match this event if the actual value of file-bucket 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

  • file_key (Optional[Sequence[str]]) – (experimental) file-key property. Specify an array of string values to match this event if the actual value of file-key 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

  • json_bucket (Optional[Sequence[str]]) – (experimental) json-bucket property. Specify an array of string values to match this event if the actual value of json-bucket 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

  • json_key (Optional[Sequence[str]]) – (experimental) json-key property. Specify an array of string values to match this event if the actual value of json-key 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_transfer import events as transfer_events

s3_attributes = transfer_events.AS2PayloadSendFailed.S3Attributes(
    file_bucket=["fileBucket"],
    file_key=["fileKey"],
    json_bucket=["jsonBucket"],
    json_key=["jsonKey"]
)

Attributes

file_bucket

(experimental) file-bucket property.

Specify an array of string values to match this event if the actual value of file-bucket 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

file_key

(experimental) file-key property.

Specify an array of string values to match this event if the actual value of file-key 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

json_bucket

(experimental) json-bucket property.

Specify an array of string values to match this event if the actual value of json-bucket 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

json_key

(experimental) json-key property.

Specify an array of string values to match this event if the actual value of json-key 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