Class CfnLifecyclePolicy.EventParametersProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.dlm.CfnLifecyclePolicy.EventParametersProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnLifecyclePolicy.EventParametersProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- CfnLifecyclePolicy.EventParametersProperty
@Stability(Stable)
@Internal
public static final class CfnLifecyclePolicy.EventParametersProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnLifecyclePolicy.EventParametersProperty
An implementation for
CfnLifecyclePolicy.EventParametersProperty-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.dlm.CfnLifecyclePolicy.EventParametersProperty
CfnLifecyclePolicy.EventParametersProperty.Builder, CfnLifecyclePolicy.EventParametersProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnLifecyclePolicy.EventParametersProperty.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal StringThe snapshot description that can trigger the policy.final StringThe type of event.The IDs of the AWS accounts that can trigger policy by sharing snapshots with your account.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnLifecyclePolicy.EventParametersProperty.Builder.
-
-
Method Details
-
getEventType
Description copied from interface:CfnLifecyclePolicy.EventParametersPropertyThe type of event.Currently, only snapshot sharing events are supported.
- Specified by:
getEventTypein interfaceCfnLifecyclePolicy.EventParametersProperty
-
getSnapshotOwner
Description copied from interface:CfnLifecyclePolicy.EventParametersPropertyThe 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.
- Specified by:
getSnapshotOwnerin interfaceCfnLifecyclePolicy.EventParametersProperty
-
getDescriptionRegex
Description copied from interface:CfnLifecyclePolicy.EventParametersPropertyThe 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 policypolicy-1234567890abcdef0are shared with your account.- Specified by:
getDescriptionRegexin interfaceCfnLifecyclePolicy.EventParametersProperty
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-