![]() |
![]()
| ![]() |
![]()
NAMEPaws::DLM::PolicyDetails USAGEThis class represents one of two things: Arguments in a call to a service Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object. As an example, if Att1 is expected to be a Paws::DLM::PolicyDetails object: $service_obj->Method(Att1 => { Actions => $value, ..., TargetTags => $value }); Results returned from an API call Use accessors for each attribute. If Att1 is expected to be an Paws::DLM::PolicyDetails object: $result = $service_obj->Method(...); $result->Att1->Actions DESCRIPTIONSpecifies the configuration of a lifecycle policy. ATTRIBUTESActions => ArrayRef[Paws::DLM::Action]The actions to be performed when the event-based policy is triggered. You can specify only one action per policy. This parameter is required for event-based policies only. If you are creating a snapshot or AMI policy, omit this parameter. EventSource => Paws::DLM::EventSourceThe event that triggers the event-based policy. This parameter is required for event-based policies only. If you are creating a snapshot or AMI policy, omit this parameter. Parameters => Paws::DLM::ParametersA set of optional parameters for snapshot and AMI lifecycle policies. This parameter is required for snapshot and AMI policies only. If you are creating an event-based policy, omit this parameter. PolicyType => StrThe valid target resource types and actions a policy can manage. 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". ResourceLocations => ArrayRef[Str|Undef]The location of the resources to backup. If the source resources are located in an AWS Region, specify "CLOUD". If the source resources are located on an AWS 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. ResourceTypes => ArrayRef[Str|Undef]The target resource type for snapshot and AMI lifecycle policies. 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. Schedules => ArrayRef[Paws::DLM::Schedule]The schedules of policy-defined actions for snapshot and AMI lifecycle policies. A 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. TargetTags => ArrayRef[Paws::DLM::Tag]The single tag that identifies targeted resources for this policy. This parameter is required for snapshot and AMI policies only. If you are creating an event-based policy, omit this parameter. SEE ALSOThis class forms part of Paws, describing an object used in Paws::DLM BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|