PolicyDetails class
Specifies the configuration of a lifecycle policy.
Constructors
- 
          PolicyDetails({List<Action> ? actions, EventSource? eventSource, Parameters? parameters, PolicyTypeValues? policyType, List<ResourceTypeValues> ? resourceTypes, List<Schedule> ? schedules, List<Tag> ? targetTags})
- 
          PolicyDetails.fromJson(Map<String, dynamic> json)
- 
          
            factory
Properties
- 
  actions
  → List<Action> ?
- 
  The actions to be performed when the event-based policy is triggered. You
can specify only one action per policy.
  final
- eventSource → EventSource?
- 
  The event that triggers the event-based policy.
  final
- hashCode → int
- 
  The hash code for this object.
  no setterinherited
- parameters → Parameters?
- 
  A set of optional parameters for snapshot and AMI lifecycle policies.
  final
- policyType → PolicyTypeValues?
- 
  The valid target resource types and actions a policy can manage. Specify
EBS_SNAPSHOT_MANAGEMENTto create a lifecycle policy that manages the lifecycle of Amazon EBS snapshots. SpecifyIMAGE_MANAGEMENTto create a lifecycle policy that manages the lifecycle of EBS-backed AMIs. SpecifyEVENT_BASED_POLICYto create an event-based policy that performs specific actions when a defined event occurs in your AWS account.final
- 
  resourceTypes
  → List<ResourceTypeValues> ?
- 
  The target resource type for snapshot and AMI lifecycle policies. Use
VOLUMEto create snapshots of individual volumes or useINSTANCEto create multi-volume snapshots from the volumes for an instance.final
- runtimeType → Type
- 
  A representation of the runtime type of the object.
  no setterinherited
- 
  schedules
  → List<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.
  final
- 
  targetTags
  → List<Tag> ?
- 
  The single tag that identifies targeted resources for this policy.
  final
Methods
- 
  noSuchMethod(Invocation invocation) → dynamic 
- 
  Invoked when a nonexistent method or property is accessed.
  inherited
- 
  toJson() → Map< String, dynamic> 
- 
  toString() → String 
- 
  A string representation of this object.
  inherited
Operators
- 
  operator ==(Object other) → bool 
- 
  The equality operator.
  inherited