interface ECRPullThroughCacheActionProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.ECR.Events.RepositoryEvents.ECRPullThroughCacheAction.ECRPullThroughCacheActionProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsecr/events#RepositoryEvents_ECRPullThroughCacheAction_ECRPullThroughCacheActionProps |
Java | software.amazon.awscdk.mixins.preview.services.ecr.events.RepositoryEvents.ECRPullThroughCacheAction.ECRPullThroughCacheActionProps |
Python | aws_cdk.mixins_preview.aws_ecr.events.RepositoryEvents.ECRPullThroughCacheAction.ECRPullThroughCacheActionProps |
TypeScript | @aws-cdk/mixins-preview ยป aws_ecr ยป events ยป RepositoryEvents ยป ECRPullThroughCacheAction ยป ECRPullThroughCacheActionProps |
Props type for Repository aws.ecr@ECRPullThroughCacheAction event.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { events as ecr_events } from '@aws-cdk/mixins-preview/aws-ecr';
const eCRPullThroughCacheActionProps: ecr_events.RepositoryEvents.ECRPullThroughCacheAction.ECRPullThroughCacheActionProps = {
ecrRepositoryPrefix: ['ecrRepositoryPrefix'],
eventMetadata: {
region: ['region'],
resources: ['resources'],
version: ['version'],
},
failureCode: ['failureCode'],
failureReason: ['failureReason'],
imageDigest: ['imageDigest'],
imageTag: ['imageTag'],
repositoryName: ['repositoryName'],
syncStatus: ['syncStatus'],
upstreamRegistryUrl: ['upstreamRegistryUrl'],
};
Properties
| Name | Type | Description |
|---|---|---|
| ecr | string[] | ecr-repository-prefix property. |
| event | AWSEvent | EventBridge event metadata. |
| failure | string[] | failure-code property. |
| failure | string[] | failure-reason property. |
| image | string[] | image-digest property. |
| image | string[] | image-tag property. |
| repository | string[] | repository-name property. |
| sync | string[] | sync-status property. |
| upstream | string[] | upstream-registry-url property. |
ecrRepositoryPrefix?
Type:
string[]
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
eventMetadata?
Type:
AWSEvent
(optional, default: -)
EventBridge event metadata.
failureCode?
Type:
string[]
(optional, default: Do not filter on this field)
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.
failureReason?
Type:
string[]
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
imageDigest?
Type:
string[]
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
imageTag?
Type:
string[]
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
repositoryName?
Type:
string[]
(optional, default: Filter with the Repository reference)
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.Match for more advanced matching options.
syncStatus?
Type:
string[]
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
upstreamRegistryUrl?
Type:
string[]
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.

.NET
Go
Java
Python
TypeScript