LifecyclePolicyPolicyDetailsEventSourceParametersArgs

data class LifecyclePolicyPolicyDetailsEventSourceParametersArgs(val descriptionRegex: Output<String>, val eventType: Output<String>, val snapshotOwners: Output<List<String>>) : ConvertibleToJava<LifecyclePolicyPolicyDetailsEventSourceParametersArgs>

Constructors

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

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
val eventType: Output<String>

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

Link copied to clipboard
val snapshotOwners: Output<List<String>>

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.

Functions

Link copied to clipboard
open override fun toJava(): LifecyclePolicyPolicyDetailsEventSourceParametersArgs