LifecyclePolicyPolicyDetailsEventSourceParameters

data class LifecyclePolicyPolicyDetailsEventSourceParameters(val descriptionRegex: String, val eventType: String, val snapshotOwners: List<String>)

Constructors

constructor(descriptionRegex: String, eventType: String, snapshotOwners: List<String>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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.

Link copied to clipboard

The type of event. Currently, only shareSnapshot events are supported.

Link copied to clipboard

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.