descriptionRegex property

String descriptionRegex
final

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.

For example, specifying ^.Created for policy: policy-1234567890abcdef0.$ configures the policy to run only if snapshots created by policy policy-1234567890abcdef0 are shared with your account.

Implementation

final String descriptionRegex;