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.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.dlm.CfnLifecyclePolicy.EventParametersProperty
CfnLifecyclePolicy.EventParametersProperty.Builder, CfnLifecyclePolicy.EventParametersProperty.Jsii$Proxy
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnLifecyclePolicy.EventParametersProperty.Builder
.protected
Jsii$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.JsonNode
final boolean
final String
The snapshot description that can trigger the policy.final String
The type of event.The IDs of the AWS accounts that can trigger policy by sharing snapshots with your account.final int
hashCode()
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.EventParametersProperty
The type of event.Currently, only snapshot sharing events are supported.
- Specified by:
getEventType
in interfaceCfnLifecyclePolicy.EventParametersProperty
- See Also:
-
getSnapshotOwner
Description copied from interface:CfnLifecyclePolicy.EventParametersProperty
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.
- Specified by:
getSnapshotOwner
in interfaceCfnLifecyclePolicy.EventParametersProperty
- See Also:
-
getDescriptionRegex
Description copied from interface:CfnLifecyclePolicy.EventParametersProperty
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 policypolicy-1234567890abcdef0
are shared with your account.- Specified by:
getDescriptionRegex
in interfaceCfnLifecyclePolicy.EventParametersProperty
- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-