@Stability(value=Stable) @Internal public static final class CfnLifecyclePolicy.EventParametersProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnLifecyclePolicy.EventParametersProperty
CfnLifecyclePolicy.EventParametersPropertysoftware.amazon.jsii.JsiiObject.InitializationModeCfnLifecyclePolicy.EventParametersProperty.Builder, CfnLifecyclePolicy.EventParametersProperty.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnLifecyclePolicy.EventParametersProperty.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnLifecyclePolicy.ActionProperty.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getDescriptionRegex()
The snapshot description that can trigger the policy.
|
String |
getEventType()
The type of event.
|
List<String> |
getSnapshotOwner()
The IDs of the AWS accounts that can trigger policy by sharing snapshots with your account.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(CfnLifecyclePolicy.EventParametersProperty.Builder builder)
CfnLifecyclePolicy.ActionProperty.Builder.public final String getEventType()
CfnLifecyclePolicy.EventParametersPropertyCurrently, only snapshot sharing events are supported.
getEventType in interface CfnLifecyclePolicy.EventParametersPropertypublic final List<String> getSnapshotOwner()
CfnLifecyclePolicy.EventParametersPropertyThe policy only runs if one of the specified AWS accounts shares a snapshot with your account.
getSnapshotOwner in interface CfnLifecyclePolicy.EventParametersPropertypublic final String getDescriptionRegex()
CfnLifecyclePolicy.EventParametersPropertyThe 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.
getDescriptionRegex in interface CfnLifecyclePolicy.EventParametersProperty@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.