OriginEndpointEvents

class aws_cdk.mixins_preview.aws_mediapackage.events.OriginEndpointEvents(*args: Any, **kwargs)

Bases: object

(experimental) EventBridge event patterns for OriginEndpoint.

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_mediapackage import events as mediapackage_events
from aws_cdk.interfaces import aws_mediapackage as interfaces_aws_mediapackage

# origin_endpoint_ref: interfaces_aws_mediapackage.IOriginEndpointRef

origin_endpoint_events = mediapackage_events.OriginEndpointEvents.from_origin_endpoint(origin_endpoint_ref)

Methods

media_package_harvest_job_notification_pattern(*, event_metadata=None, harvest_job=None)

(experimental) EventBridge event pattern for OriginEndpoint MediaPackage HarvestJob Notification.

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

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

Static Methods

classmethod from_origin_endpoint(origin_endpoint_ref)

(experimental) Create OriginEndpointEvents from a OriginEndpoint reference.

Parameters:

origin_endpoint_ref (IOriginEndpointRef)

Stability:

experimental

Return type:

OriginEndpointEvents

MediaPackageHarvestJobNotification

class OriginEndpointEvents.MediaPackageHarvestJobNotification

Bases: object

(experimental) aws.mediapackage@MediaPackageHarvestJobNotification event types for OriginEndpoint.

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_mediapackage import events as mediapackage_events

media_package_harvest_job_notification = mediapackage_events.OriginEndpointEvents.MediaPackageHarvestJobNotification()
Stability:

experimental

HarvestJob

class OriginEndpointEvents.MediaPackageHarvestJobNotification.HarvestJob(*, arn=None, created_at=None, end_time=None, id=None, origin_endpoint_id=None, s3_destination=None, start_time=None, status=None)

Bases: object

(experimental) Type definition for Harvest_job.

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

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

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

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

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

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

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

harvest_job = mediapackage_events.OriginEndpointEvents.MediaPackageHarvestJobNotification.HarvestJob(
    arn=["arn"],
    created_at=["createdAt"],
    end_time=["endTime"],
    id=["id"],
    origin_endpoint_id=["originEndpointId"],
    s3_destination=mediapackage_events.OriginEndpointEvents.MediaPackageHarvestJobNotification.S3Destination(
        bucket_name=["bucketName"],
        manifest_key=["manifestKey"],
        role_arn=["roleArn"]
    ),
    start_time=["startTime"],
    status=["status"]
)

Attributes

arn

(experimental) arn property.

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

created_at

(experimental) created_at property.

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

end_time

(experimental) end_time property.

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

id

(experimental) id property.

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

origin_endpoint_id

(experimental) origin_endpoint_id property.

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

Stability:

experimental

s3_destination

(experimental) s3_destination property.

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

start_time

(experimental) start_time property.

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

(experimental) status property.

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

MediaPackageHarvestJobNotificationProps

class OriginEndpointEvents.MediaPackageHarvestJobNotification.MediaPackageHarvestJobNotificationProps(*, event_metadata=None, harvest_job=None)

Bases: object

(experimental) Props type for OriginEndpoint aws.mediapackage@MediaPackageHarvestJobNotification event.

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

  • harvest_job (Union[HarvestJob, Dict[str, Any], None]) – (experimental) harvest_job property. Specify an array of string values to match this event if the actual value of harvest_job 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_mediapackage import events as mediapackage_events

media_package_harvest_job_notification_props = mediapackage_events.OriginEndpointEvents.MediaPackageHarvestJobNotification.MediaPackageHarvestJobNotificationProps(
    event_metadata=AWSEventMetadataProps(
        region=["region"],
        resources=["resources"],
        version=["version"]
    ),
    harvest_job=mediapackage_events.OriginEndpointEvents.MediaPackageHarvestJobNotification.HarvestJob(
        arn=["arn"],
        created_at=["createdAt"],
        end_time=["endTime"],
        id=["id"],
        origin_endpoint_id=["originEndpointId"],
        s3_destination=mediapackage_events.OriginEndpointEvents.MediaPackageHarvestJobNotification.S3Destination(
            bucket_name=["bucketName"],
            manifest_key=["manifestKey"],
            role_arn=["roleArn"]
        ),
        start_time=["startTime"],
        status=["status"]
    )
)

Attributes

event_metadata

(experimental) EventBridge event metadata.

Default:

Stability:

experimental

harvest_job

(experimental) harvest_job property.

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

S3Destination

class OriginEndpointEvents.MediaPackageHarvestJobNotification.S3Destination(*, bucket_name=None, manifest_key=None, role_arn=None)

Bases: object

(experimental) Type definition for S3_destination.

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

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

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

s3_destination = mediapackage_events.OriginEndpointEvents.MediaPackageHarvestJobNotification.S3Destination(
    bucket_name=["bucketName"],
    manifest_key=["manifestKey"],
    role_arn=["roleArn"]
)

Attributes

bucket_name

(experimental) bucket_name property.

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

manifest_key

(experimental) manifest_key property.

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

role_arn

(experimental) role_arn property.

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