LifecyclePolicyPolicyDetailsEventSourceParameters constructor

const LifecyclePolicyPolicyDetailsEventSourceParameters({
  1. required Input<String> descriptionRegex,
  2. required Input<String> eventType,
  3. required Input<List<String>> snapshotOwners,
})

Creates a new LifecyclePolicyPolicyDetailsEventSourceParameters. descriptionRegex The snapshot description that can trigger the policy. The description pattern is specified using a regular expression. The policy runs only if a snapshot with a description that matches the specified pattern is shared with your account. eventType The type of event. Currently, only shareSnapshot events are supported. snapshotOwners The IDs of the AWS accounts that can trigger policy by sharing snapshots with your account. The policy only runs if one of the specified AWS accounts shares a snapshot with your account.

Implementation

const LifecyclePolicyPolicyDetailsEventSourceParameters({
  required this.descriptionRegex,
  required this.eventType,
  required this.snapshotOwners,
});