interface EBSSnapshotNotificationProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.EC2.Events.EBSSnapshotNotification.EBSSnapshotNotificationProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsec2/events#EBSSnapshotNotification_EBSSnapshotNotificationProps |
Java | software.amazon.awscdk.mixins.preview.services.ec2.events.EBSSnapshotNotification.EBSSnapshotNotificationProps |
Python | aws_cdk.mixins_preview.aws_ec2.events.EBSSnapshotNotification.EBSSnapshotNotificationProps |
TypeScript | @aws-cdk/mixins-preview ยป aws_ec2 ยป events ยป EBSSnapshotNotification ยป EBSSnapshotNotificationProps |
Props type for aws.ec2@EBSSnapshotNotification event.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { events as ec2_events } from '@aws-cdk/mixins-preview/aws-ec2';
const eBSSnapshotNotificationProps: ec2_events.EBSSnapshotNotification.EBSSnapshotNotificationProps = {
cause: ['cause'],
endTime: ['endTime'],
event: ['event'],
eventMetadata: {
region: ['region'],
resources: ['resources'],
version: ['version'],
},
requestId: ['requestId'],
result: ['result'],
snapshotId: ['snapshotId'],
source: ['source'],
startTime: ['startTime'],
};
Properties
| Name | Type | Description |
|---|---|---|
| cause? | string[] | cause property. |
| end | string[] | EndTime property. |
| event? | string[] | event property. |
| event | AWSEvent | EventBridge event metadata. |
| request | string[] | request-id property. |
| result? | string[] | result property. |
| snapshot | string[] | snapshot_id property. |
| source? | string[] | source property. |
| start | string[] | StartTime property. |
cause?
Type:
string[]
(optional, default: Do not filter on this field)
cause property.
Specify an array of string values to match this event if the actual value of cause is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
endTime?
Type:
string[]
(optional, default: Do not filter on this field)
EndTime property.
Specify an array of string values to match this event if the actual value of EndTime is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
event?
Type:
string[]
(optional, default: Do not filter on this field)
event property.
Specify an array of string values to match this event if the actual value of event 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.
requestId?
Type:
string[]
(optional, default: Do not filter on this field)
request-id property.
Specify an array of string values to match this event if the actual value of request-id 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.
snapshotId?
Type:
string[]
(optional, default: Do not filter on this field)
snapshot_id property.
Specify an array of string values to match this event if the actual value of snapshot_id is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
source?
Type:
string[]
(optional, default: Do not filter on this field)
source property.
Specify an array of string values to match this event if the actual value of source is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
startTime?
Type:
string[]
(optional, default: Do not filter on this field)
StartTime property.
Specify an array of string values to match this event if the actual value of StartTime 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