interface ECRReplicationActionProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.ECR.Events.RepositoryEvents.ECRReplicationAction.ECRReplicationActionProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsecr/events#RepositoryEvents_ECRReplicationAction_ECRReplicationActionProps |
Java | software.amazon.awscdk.mixins.preview.services.ecr.events.RepositoryEvents.ECRReplicationAction.ECRReplicationActionProps |
Python | aws_cdk.mixins_preview.aws_ecr.events.RepositoryEvents.ECRReplicationAction.ECRReplicationActionProps |
TypeScript | @aws-cdk/mixins-preview ยป aws_ecr ยป events ยป RepositoryEvents ยป ECRReplicationAction ยป ECRReplicationActionProps |
Props type for Repository aws.ecr@ECRReplicationAction 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 eCRReplicationActionProps: ecr_events.RepositoryEvents.ECRReplicationAction.ECRReplicationActionProps = {
actionType: ['actionType'],
eventMetadata: {
region: ['region'],
resources: ['resources'],
version: ['version'],
},
imageDigest: ['imageDigest'],
imageTag: ['imageTag'],
repositoryName: ['repositoryName'],
result: ['result'],
sourceAccount: ['sourceAccount'],
sourceRegion: ['sourceRegion'],
};
Properties
| Name | Type | Description |
|---|---|---|
| action | string[] | action-type property. |
| event | AWSEvent | EventBridge event metadata. |
| image | string[] | image-digest property. |
| image | string[] | image-tag property. |
| repository | string[] | repository-name property. |
| result? | string[] | result property. |
| source | string[] | source-account property. |
| source | string[] | source-region property. |
actionType?
Type:
string[]
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
eventMetadata?
Type:
AWSEvent
(optional, default: -)
EventBridge event metadata.
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.
result?
Type:
string[]
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
sourceAccount?
Type:
string[]
(optional, default: Do not filter on this field)
source-account property.
Specify an array of string values to match this event if the actual value of source-account is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
sourceRegion?
Type:
string[]
(optional, default: Do not filter on this field)
source-region property.
Specify an array of string values to match this event if the actual value of source-region 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