ECRReferrerAction
- class aws_cdk.mixins_preview.aws_ecr.events.ECRReferrerAction
Bases:
object(experimental) EventBridge event pattern for aws.ecr@ECRReferrerAction.
- 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_ecr import events as ecr_events e_cRReferrer_action = ecr_events.ECRReferrerAction()
- Stability:
experimental
Static Methods
- classmethod ecr_referrer_action_pattern(*, action_type=None, artifact_media_type=None, event_metadata=None, image_digest=None, image_tag=None, manifest_media_type=None, repository_name=None, result=None)
(experimental) EventBridge event pattern for ECR Referrer Action.
- Parameters:
action_type (
Optional[Sequence[str]]) – (experimental) action-type property. Specify an array of string values to match this event if the actual value of action-type is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldartifact_media_type (
Optional[Sequence[str]]) – (experimental) artifact-media-type property. Specify an array of string values to match this event if the actual value of artifact-media-type is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldevent_metadata (
Union[AWSEventMetadataProps,Dict[str,Any],None]) – (experimental) EventBridge event metadata. Default: - -image_digest (
Optional[Sequence[str]]) – (experimental) image-digest property. Specify an array of string values to match this event if the actual value of image-digest is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldimage_tag (
Optional[Sequence[str]]) – (experimental) image-tag property. Specify an array of string values to match this event if the actual value of image-tag is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldmanifest_media_type (
Optional[Sequence[str]]) – (experimental) manifest-media-type property. Specify an array of string values to match this event if the actual value of manifest-media-type is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldrepository_name (
Optional[Sequence[str]]) – (experimental) repository-name property. Specify an array of string values to match this event if the actual value of repository-name is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Filter with the Repository referenceresult (
Optional[Sequence[str]]) – (experimental) result property. Specify an array of string values to match this event if the actual value of result is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this field
- Stability:
experimental
- Return type:
ECRReferrerActionProps
- class ECRReferrerAction.ECRReferrerActionProps(*, action_type=None, artifact_media_type=None, event_metadata=None, image_digest=None, image_tag=None, manifest_media_type=None, repository_name=None, result=None)
Bases:
object(experimental) Props type for aws.ecr@ECRReferrerAction event.
- Parameters:
action_type (
Optional[Sequence[str]]) – (experimental) action-type property. Specify an array of string values to match this event if the actual value of action-type is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldartifact_media_type (
Optional[Sequence[str]]) – (experimental) artifact-media-type property. Specify an array of string values to match this event if the actual value of artifact-media-type is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldevent_metadata (
Union[AWSEventMetadataProps,Dict[str,Any],None]) – (experimental) EventBridge event metadata. Default: - -image_digest (
Optional[Sequence[str]]) – (experimental) image-digest property. Specify an array of string values to match this event if the actual value of image-digest is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldimage_tag (
Optional[Sequence[str]]) – (experimental) image-tag property. Specify an array of string values to match this event if the actual value of image-tag is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldmanifest_media_type (
Optional[Sequence[str]]) – (experimental) manifest-media-type property. Specify an array of string values to match this event if the actual value of manifest-media-type is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldrepository_name (
Optional[Sequence[str]]) – (experimental) repository-name property. Specify an array of string values to match this event if the actual value of repository-name is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Filter with the Repository referenceresult (
Optional[Sequence[str]]) – (experimental) result property. Specify an array of string values to match this event if the actual value of result is one of the values in the array. Use one of the constructors on theaws_events.Matchfor 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_ecr import events as ecr_events e_cRReferrer_action_props = ecr_events.ECRReferrerAction.ECRReferrerActionProps( action_type=["actionType"], artifact_media_type=["artifactMediaType"], event_metadata=AWSEventMetadataProps( region=["region"], resources=["resources"], version=["version"] ), image_digest=["imageDigest"], image_tag=["imageTag"], manifest_media_type=["manifestMediaType"], repository_name=["repositoryName"], result=["result"] )
Attributes
- action_type
(experimental) action-type property.
Specify an array of string values to match this event if the actual value of action-type is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- artifact_media_type
(experimental) artifact-media-type property.
Specify an array of string values to match this event if the actual value of artifact-media-type is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- event_metadata
(experimental) EventBridge event metadata.
- Default:
- Stability:
experimental
- image_digest
(experimental) image-digest property.
Specify an array of string values to match this event if the actual value of image-digest is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- image_tag
(experimental) image-tag property.
Specify an array of string values to match this event if the actual value of image-tag is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- manifest_media_type
(experimental) manifest-media-type property.
Specify an array of string values to match this event if the actual value of manifest-media-type is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- repository_name
(experimental) repository-name property.
Specify an array of string values to match this event if the actual value of repository-name is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Filter with the Repository reference
- Stability:
experimental
- result
(experimental) result property.
Specify an array of string values to match this event if the actual value of result is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental