ECRPullThroughCacheAction
- class aws_cdk.mixins_preview.aws_ecr.events.ECRPullThroughCacheAction
Bases:
object(experimental) EventBridge event pattern for aws.ecr@ECRPullThroughCacheAction.
- 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_cRPull_through_cache_action = ecr_events.ECRPullThroughCacheAction()
- Stability:
experimental
Static Methods
- classmethod ecr_pull_through_cache_action_pattern(*, ecr_repository_prefix=None, event_metadata=None, failure_code=None, failure_reason=None, image_digest=None, image_tag=None, repository_name=None, sync_status=None, upstream_registry_url=None)
(experimental) EventBridge event pattern for ECR Pull Through Cache Action.
- Parameters:
ecr_repository_prefix (
Optional[Sequence[str]]) – (experimental) ecr-repository-prefix property. Specify an array of string values to match this event if the actual value of ecr-repository-prefix 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: - -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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldfailure_reason (
Optional[Sequence[str]]) – (experimental) failure-reason property. Specify an array of string values to match this event if the actual value of failure-reason 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_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 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 referencesync_status (
Optional[Sequence[str]]) – (experimental) sync-status property. Specify an array of string values to match this event if the actual value of sync-status 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 fieldupstream_registry_url (
Optional[Sequence[str]]) – (experimental) upstream-registry-url property. Specify an array of string values to match this event if the actual value of upstream-registry-url 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:
ECRPullThroughCacheActionProps
- class ECRPullThroughCacheAction.ECRPullThroughCacheActionProps(*, ecr_repository_prefix=None, event_metadata=None, failure_code=None, failure_reason=None, image_digest=None, image_tag=None, repository_name=None, sync_status=None, upstream_registry_url=None)
Bases:
object(experimental) Props type for aws.ecr@ECRPullThroughCacheAction event.
- Parameters:
ecr_repository_prefix (
Optional[Sequence[str]]) – (experimental) ecr-repository-prefix property. Specify an array of string values to match this event if the actual value of ecr-repository-prefix 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: - -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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldfailure_reason (
Optional[Sequence[str]]) – (experimental) failure-reason property. Specify an array of string values to match this event if the actual value of failure-reason 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_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 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 referencesync_status (
Optional[Sequence[str]]) – (experimental) sync-status property. Specify an array of string values to match this event if the actual value of sync-status 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 fieldupstream_registry_url (
Optional[Sequence[str]]) – (experimental) upstream-registry-url property. Specify an array of string values to match this event if the actual value of upstream-registry-url 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_cRPull_through_cache_action_props = ecr_events.ECRPullThroughCacheAction.ECRPullThroughCacheActionProps( ecr_repository_prefix=["ecrRepositoryPrefix"], event_metadata=AWSEventMetadataProps( region=["region"], resources=["resources"], version=["version"] ), failure_code=["failureCode"], failure_reason=["failureReason"], image_digest=["imageDigest"], image_tag=["imageTag"], repository_name=["repositoryName"], sync_status=["syncStatus"], upstream_registry_url=["upstreamRegistryUrl"] )
Attributes
- ecr_repository_prefix
(experimental) ecr-repository-prefix property.
Specify an array of string values to match this event if the actual value of ecr-repository-prefix 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
- 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.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- failure_reason
(experimental) failure-reason property.
Specify an array of string values to match this event if the actual value of failure-reason 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_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
- 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
- sync_status
(experimental) sync-status property.
Specify an array of string values to match this event if the actual value of sync-status 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
- upstream_registry_url
(experimental) upstream-registry-url property.
Specify an array of string values to match this event if the actual value of upstream-registry-url 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