AWS SDK for C++  1.8.129
AWS SDK for C++
Public Member Functions | List of all members
Aws::DLM::Model::PolicyDetails Class Reference

#include <PolicyDetails.h>

Public Member Functions

 PolicyDetails ()
 
 PolicyDetails (Aws::Utils::Json::JsonView jsonValue)
 
PolicyDetailsoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const PolicyTypeValuesGetPolicyType () const
 
bool PolicyTypeHasBeenSet () const
 
void SetPolicyType (const PolicyTypeValues &value)
 
void SetPolicyType (PolicyTypeValues &&value)
 
PolicyDetailsWithPolicyType (const PolicyTypeValues &value)
 
PolicyDetailsWithPolicyType (PolicyTypeValues &&value)
 
const Aws::Vector< ResourceTypeValues > & GetResourceTypes () const
 
bool ResourceTypesHasBeenSet () const
 
void SetResourceTypes (const Aws::Vector< ResourceTypeValues > &value)
 
void SetResourceTypes (Aws::Vector< ResourceTypeValues > &&value)
 
PolicyDetailsWithResourceTypes (const Aws::Vector< ResourceTypeValues > &value)
 
PolicyDetailsWithResourceTypes (Aws::Vector< ResourceTypeValues > &&value)
 
PolicyDetailsAddResourceTypes (const ResourceTypeValues &value)
 
PolicyDetailsAddResourceTypes (ResourceTypeValues &&value)
 
const Aws::Vector< Tag > & GetTargetTags () const
 
bool TargetTagsHasBeenSet () const
 
void SetTargetTags (const Aws::Vector< Tag > &value)
 
void SetTargetTags (Aws::Vector< Tag > &&value)
 
PolicyDetailsWithTargetTags (const Aws::Vector< Tag > &value)
 
PolicyDetailsWithTargetTags (Aws::Vector< Tag > &&value)
 
PolicyDetailsAddTargetTags (const Tag &value)
 
PolicyDetailsAddTargetTags (Tag &&value)
 
const Aws::Vector< Schedule > & GetSchedules () const
 
bool SchedulesHasBeenSet () const
 
void SetSchedules (const Aws::Vector< Schedule > &value)
 
void SetSchedules (Aws::Vector< Schedule > &&value)
 
PolicyDetailsWithSchedules (const Aws::Vector< Schedule > &value)
 
PolicyDetailsWithSchedules (Aws::Vector< Schedule > &&value)
 
PolicyDetailsAddSchedules (const Schedule &value)
 
PolicyDetailsAddSchedules (Schedule &&value)
 
const ParametersGetParameters () const
 
bool ParametersHasBeenSet () const
 
void SetParameters (const Parameters &value)
 
void SetParameters (Parameters &&value)
 
PolicyDetailsWithParameters (const Parameters &value)
 
PolicyDetailsWithParameters (Parameters &&value)
 
const EventSourceGetEventSource () const
 
bool EventSourceHasBeenSet () const
 
void SetEventSource (const EventSource &value)
 
void SetEventSource (EventSource &&value)
 
PolicyDetailsWithEventSource (const EventSource &value)
 
PolicyDetailsWithEventSource (EventSource &&value)
 
const Aws::Vector< Action > & GetActions () const
 
bool ActionsHasBeenSet () const
 
void SetActions (const Aws::Vector< Action > &value)
 
void SetActions (Aws::Vector< Action > &&value)
 
PolicyDetailsWithActions (const Aws::Vector< Action > &value)
 
PolicyDetailsWithActions (Aws::Vector< Action > &&value)
 
PolicyDetailsAddActions (const Action &value)
 
PolicyDetailsAddActions (Action &&value)
 

Detailed Description

Specifies the configuration of a lifecycle policy.

See Also:


AWS API Reference

Definition at line 39 of file PolicyDetails.h.

Constructor & Destructor Documentation

◆ PolicyDetails() [1/2]

Aws::DLM::Model::PolicyDetails::PolicyDetails ( )

◆ PolicyDetails() [2/2]

Aws::DLM::Model::PolicyDetails::PolicyDetails ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ ActionsHasBeenSet()

bool Aws::DLM::Model::PolicyDetails::ActionsHasBeenSet ( ) const
inline

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.

Definition at line 418 of file PolicyDetails.h.

◆ AddActions() [1/2]

PolicyDetails& Aws::DLM::Model::PolicyDetails::AddActions ( Action &&  value)
inline

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.

Definition at line 466 of file PolicyDetails.h.

◆ AddActions() [2/2]

PolicyDetails& Aws::DLM::Model::PolicyDetails::AddActions ( const Action value)
inline

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.

Definition at line 458 of file PolicyDetails.h.

◆ AddResourceTypes() [1/2]

PolicyDetails& Aws::DLM::Model::PolicyDetails::AddResourceTypes ( const ResourceTypeValues value)
inline

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.

Definition at line 176 of file PolicyDetails.h.

◆ AddResourceTypes() [2/2]

PolicyDetails& Aws::DLM::Model::PolicyDetails::AddResourceTypes ( ResourceTypeValues &&  value)
inline

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.

Definition at line 185 of file PolicyDetails.h.

◆ AddSchedules() [1/2]

PolicyDetails& Aws::DLM::Model::PolicyDetails::AddSchedules ( const Schedule value)
inline

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.

Definition at line 306 of file PolicyDetails.h.

◆ AddSchedules() [2/2]

PolicyDetails& Aws::DLM::Model::PolicyDetails::AddSchedules ( Schedule &&  value)
inline

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.

Definition at line 315 of file PolicyDetails.h.

◆ AddTargetTags() [1/2]

PolicyDetails& Aws::DLM::Model::PolicyDetails::AddTargetTags ( const Tag value)
inline

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.

Definition at line 235 of file PolicyDetails.h.

◆ AddTargetTags() [2/2]

PolicyDetails& Aws::DLM::Model::PolicyDetails::AddTargetTags ( Tag &&  value)
inline

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.

Definition at line 242 of file PolicyDetails.h.

◆ EventSourceHasBeenSet()

bool Aws::DLM::Model::PolicyDetails::EventSourceHasBeenSet ( ) const
inline

The 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.

Definition at line 373 of file PolicyDetails.h.

◆ GetActions()

const Aws::Vector<Action>& Aws::DLM::Model::PolicyDetails::GetActions ( ) const
inline

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.

Definition at line 410 of file PolicyDetails.h.

◆ GetEventSource()

const EventSource& Aws::DLM::Model::PolicyDetails::GetEventSource ( ) const
inline

The 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.

Definition at line 366 of file PolicyDetails.h.

◆ GetParameters()

const Parameters& Aws::DLM::Model::PolicyDetails::GetParameters ( ) const
inline

A 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.

Definition at line 323 of file PolicyDetails.h.

◆ GetPolicyType()

const PolicyTypeValues& Aws::DLM::Model::PolicyDetails::GetPolicyType ( ) const
inline

The 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.

Definition at line 57 of file PolicyDetails.h.

◆ GetResourceTypes()

const Aws::Vector<ResourceTypeValues>& Aws::DLM::Model::PolicyDetails::GetResourceTypes ( ) const
inline

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.

Definition at line 122 of file PolicyDetails.h.

◆ GetSchedules()

const Aws::Vector<Schedule>& Aws::DLM::Model::PolicyDetails::GetSchedules ( ) const
inline

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.

Definition at line 252 of file PolicyDetails.h.

◆ GetTargetTags()

const Aws::Vector<Tag>& Aws::DLM::Model::PolicyDetails::GetTargetTags ( ) const
inline

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.

Definition at line 193 of file PolicyDetails.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::DLM::Model::PolicyDetails::Jsonize ( ) const

◆ operator=()

PolicyDetails& Aws::DLM::Model::PolicyDetails::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ ParametersHasBeenSet()

bool Aws::DLM::Model::PolicyDetails::ParametersHasBeenSet ( ) const
inline

A 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.

Definition at line 330 of file PolicyDetails.h.

◆ PolicyTypeHasBeenSet()

bool Aws::DLM::Model::PolicyDetails::PolicyTypeHasBeenSet ( ) const
inline

The 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.

Definition at line 68 of file PolicyDetails.h.

◆ ResourceTypesHasBeenSet()

bool Aws::DLM::Model::PolicyDetails::ResourceTypesHasBeenSet ( ) const
inline

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.

Definition at line 131 of file PolicyDetails.h.

◆ SchedulesHasBeenSet()

bool Aws::DLM::Model::PolicyDetails::SchedulesHasBeenSet ( ) const
inline

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.

Definition at line 261 of file PolicyDetails.h.

◆ SetActions() [1/2]

void Aws::DLM::Model::PolicyDetails::SetActions ( Aws::Vector< Action > &&  value)
inline

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.

Definition at line 434 of file PolicyDetails.h.

◆ SetActions() [2/2]

void Aws::DLM::Model::PolicyDetails::SetActions ( const Aws::Vector< Action > &  value)
inline

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.

Definition at line 426 of file PolicyDetails.h.

◆ SetEventSource() [1/2]

void Aws::DLM::Model::PolicyDetails::SetEventSource ( const EventSource value)
inline

The 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.

Definition at line 380 of file PolicyDetails.h.

◆ SetEventSource() [2/2]

void Aws::DLM::Model::PolicyDetails::SetEventSource ( EventSource &&  value)
inline

The 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.

Definition at line 387 of file PolicyDetails.h.

◆ SetParameters() [1/2]

void Aws::DLM::Model::PolicyDetails::SetParameters ( const Parameters value)
inline

A 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.

Definition at line 337 of file PolicyDetails.h.

◆ SetParameters() [2/2]

void Aws::DLM::Model::PolicyDetails::SetParameters ( Parameters &&  value)
inline

A 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.

Definition at line 344 of file PolicyDetails.h.

◆ SetPolicyType() [1/2]

void Aws::DLM::Model::PolicyDetails::SetPolicyType ( const PolicyTypeValues value)
inline

The 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.

Definition at line 79 of file PolicyDetails.h.

◆ SetPolicyType() [2/2]

void Aws::DLM::Model::PolicyDetails::SetPolicyType ( PolicyTypeValues &&  value)
inline

The 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.

Definition at line 90 of file PolicyDetails.h.

◆ SetResourceTypes() [1/2]

void Aws::DLM::Model::PolicyDetails::SetResourceTypes ( Aws::Vector< ResourceTypeValues > &&  value)
inline

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.

Definition at line 149 of file PolicyDetails.h.

◆ SetResourceTypes() [2/2]

void Aws::DLM::Model::PolicyDetails::SetResourceTypes ( const Aws::Vector< ResourceTypeValues > &  value)
inline

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.

Definition at line 140 of file PolicyDetails.h.

◆ SetSchedules() [1/2]

void Aws::DLM::Model::PolicyDetails::SetSchedules ( Aws::Vector< Schedule > &&  value)
inline

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.

Definition at line 279 of file PolicyDetails.h.

◆ SetSchedules() [2/2]

void Aws::DLM::Model::PolicyDetails::SetSchedules ( const Aws::Vector< Schedule > &  value)
inline

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.

Definition at line 270 of file PolicyDetails.h.

◆ SetTargetTags() [1/2]

void Aws::DLM::Model::PolicyDetails::SetTargetTags ( Aws::Vector< Tag > &&  value)
inline

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.

Definition at line 214 of file PolicyDetails.h.

◆ SetTargetTags() [2/2]

void Aws::DLM::Model::PolicyDetails::SetTargetTags ( const Aws::Vector< Tag > &  value)
inline

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.

Definition at line 207 of file PolicyDetails.h.

◆ TargetTagsHasBeenSet()

bool Aws::DLM::Model::PolicyDetails::TargetTagsHasBeenSet ( ) const
inline

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.

Definition at line 200 of file PolicyDetails.h.

◆ WithActions() [1/2]

PolicyDetails& Aws::DLM::Model::PolicyDetails::WithActions ( Aws::Vector< Action > &&  value)
inline

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.

Definition at line 450 of file PolicyDetails.h.

◆ WithActions() [2/2]

PolicyDetails& Aws::DLM::Model::PolicyDetails::WithActions ( const Aws::Vector< Action > &  value)
inline

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.

Definition at line 442 of file PolicyDetails.h.

◆ WithEventSource() [1/2]

PolicyDetails& Aws::DLM::Model::PolicyDetails::WithEventSource ( const EventSource value)
inline

The 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.

Definition at line 394 of file PolicyDetails.h.

◆ WithEventSource() [2/2]

PolicyDetails& Aws::DLM::Model::PolicyDetails::WithEventSource ( EventSource &&  value)
inline

The 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.

Definition at line 401 of file PolicyDetails.h.

◆ WithParameters() [1/2]

PolicyDetails& Aws::DLM::Model::PolicyDetails::WithParameters ( const Parameters value)
inline

A 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.

Definition at line 351 of file PolicyDetails.h.

◆ WithParameters() [2/2]

PolicyDetails& Aws::DLM::Model::PolicyDetails::WithParameters ( Parameters &&  value)
inline

A 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.

Definition at line 358 of file PolicyDetails.h.

◆ WithPolicyType() [1/2]

PolicyDetails& Aws::DLM::Model::PolicyDetails::WithPolicyType ( const PolicyTypeValues value)
inline

The 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.

Definition at line 101 of file PolicyDetails.h.

◆ WithPolicyType() [2/2]

PolicyDetails& Aws::DLM::Model::PolicyDetails::WithPolicyType ( PolicyTypeValues &&  value)
inline

The 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.

Definition at line 112 of file PolicyDetails.h.

◆ WithResourceTypes() [1/2]

PolicyDetails& Aws::DLM::Model::PolicyDetails::WithResourceTypes ( Aws::Vector< ResourceTypeValues > &&  value)
inline

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.

Definition at line 167 of file PolicyDetails.h.

◆ WithResourceTypes() [2/2]

PolicyDetails& Aws::DLM::Model::PolicyDetails::WithResourceTypes ( const Aws::Vector< ResourceTypeValues > &  value)
inline

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.

Definition at line 158 of file PolicyDetails.h.

◆ WithSchedules() [1/2]

PolicyDetails& Aws::DLM::Model::PolicyDetails::WithSchedules ( Aws::Vector< Schedule > &&  value)
inline

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.

Definition at line 297 of file PolicyDetails.h.

◆ WithSchedules() [2/2]

PolicyDetails& Aws::DLM::Model::PolicyDetails::WithSchedules ( const Aws::Vector< Schedule > &  value)
inline

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.

Definition at line 288 of file PolicyDetails.h.

◆ WithTargetTags() [1/2]

PolicyDetails& Aws::DLM::Model::PolicyDetails::WithTargetTags ( Aws::Vector< Tag > &&  value)
inline

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.

Definition at line 228 of file PolicyDetails.h.

◆ WithTargetTags() [2/2]

PolicyDetails& Aws::DLM::Model::PolicyDetails::WithTargetTags ( const Aws::Vector< Tag > &  value)
inline

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.

Definition at line 221 of file PolicyDetails.h.


The documentation for this class was generated from the following file: