@Stability(value=Stable) @Internal public static final class CfnLifecyclePolicy.PolicyDetailsProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnLifecyclePolicy.PolicyDetailsProperty
CfnLifecyclePolicy.PolicyDetailsPropertysoftware.amazon.jsii.JsiiObject.InitializationModeCfnLifecyclePolicy.PolicyDetailsProperty.Builder, CfnLifecyclePolicy.PolicyDetailsProperty.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnLifecyclePolicy.PolicyDetailsProperty.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) |
Object |
getActions()
The actions to be performed when the event-based policy is triggered.
|
Object |
getEventSource()
The event that triggers the event-based policy.
|
Object |
getParameters()
A set of optional parameters for snapshot and AMI lifecycle policies.
|
String |
getPolicyType()
The valid target resource types and actions a policy can manage.
|
List<String> |
getResourceLocations()
The location of the resources to backup.
|
List<String> |
getResourceTypes()
The target resource type for snapshot and AMI lifecycle policies.
|
Object |
getSchedules()
The schedules of policy-defined actions for snapshot and AMI lifecycle policies.
|
Object |
getTargetTags()
The single tag that identifies targeted resources for this policy.
|
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.PolicyDetailsProperty.Builder builder)
CfnLifecyclePolicy.ActionProperty.Builder.public final Object getActions()
CfnLifecyclePolicy.PolicyDetailsPropertyThis parameter is required for event-based policies only. If you are creating a snapshot or AMI policy, omit this parameter.
getActions in interface CfnLifecyclePolicy.PolicyDetailsPropertypublic final Object getEventSource()
CfnLifecyclePolicy.PolicyDetailsPropertyThis parameter is required for event-based policies only. If you are creating a snapshot or AMI policy, omit this parameter.
getEventSource in interface CfnLifecyclePolicy.PolicyDetailsPropertypublic final Object getParameters()
CfnLifecyclePolicy.PolicyDetailsPropertyThis parameter is required for snapshot and AMI policies only. If you are creating an event-based policy, omit this parameter.
If you are modifying a policy that was created or previously modified using the Amazon Data Lifecycle Manager console, then you must include this parameter and specify either the default values or the new values that you require. You can't omit this parameter or set its values to null.
getParameters in interface CfnLifecyclePolicy.PolicyDetailsPropertypublic final String getPolicyType()
CfnLifecyclePolicy.PolicyDetailsProperty
Specify EBS_SNAPSHOT_MANAGEMENT to create a lifecycle policy that manages the lifecycle of Amazon EBS snapshots. Specify IMAGE_MANAGEMENT to create a lifecycle policy that manages the lifecycle of EBS-backed AMIs. Specify EVENT_BASED_POLICY to create an event-based policy that performs specific actions when a defined event occurs in your AWS account .
The default is EBS_SNAPSHOT_MANAGEMENT .
getPolicyType in interface CfnLifecyclePolicy.PolicyDetailsPropertypublic final List<String> getResourceLocations()
CfnLifecyclePolicy.PolicyDetailsProperty
If the source resources are located in an AWS Region , specify CLOUD . If the source resources are located on an Outpost in your account, specify OUTPOST .
If you specify OUTPOST , Amazon Data Lifecycle Manager backs up all resources of the specified type with matching target tags across all of the Outposts in your account.
getResourceLocations in interface CfnLifecyclePolicy.PolicyDetailsPropertypublic final List<String> getResourceTypes()
CfnLifecyclePolicy.PolicyDetailsProperty
Use VOLUME to create snapshots of individual volumes or use INSTANCE to create multi-volume snapshots from the volumes for an instance.
This parameter is required for snapshot and AMI policies only. If you are creating an event-based policy, omit this parameter.
getResourceTypes in interface CfnLifecyclePolicy.PolicyDetailsPropertypublic final Object getSchedules()
CfnLifecyclePolicy.PolicyDetailsPropertyA policy can have up to four schedules—one mandatory schedule and up to three optional schedules.
This parameter is required for snapshot and AMI policies only. If you are creating an event-based policy, omit this parameter.
getSchedules in interface CfnLifecyclePolicy.PolicyDetailsPropertypublic final Object getTargetTags()
CfnLifecyclePolicy.PolicyDetailsPropertyThis parameter is required for snapshot and AMI policies only. If you are creating an event-based policy, omit this parameter.
getTargetTags in interface CfnLifecyclePolicy.PolicyDetailsProperty@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.