Schedule

class Schedule

[Custom snapshot and AMI policies only] Specifies a schedule for a snapshot or AMI lifecycle policy.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

[Custom snapshot policies that target volumes only] The snapshot archiving rule for the schedule. When you specify an archiving rule, snapshots are automatically moved from the standard tier to the archive tier once the schedule's retention threshold is met. Snapshots are then retained in the archive tier for the archive retention period that you specify.

Link copied to clipboard

Copy all user-defined tags on a source volume to snapshots of the volume created by this policy.

Link copied to clipboard

The creation rule.

Link copied to clipboard

Specifies a rule for copying snapshots or AMIs across regions.

Link copied to clipboard

[Custom AMI policies only] The AMI deprecation rule for the schedule.

Link copied to clipboard

[Custom snapshot policies only] The rule for enabling fast snapshot restore.

Link copied to clipboard
val name: String?

The name of the schedule.

Link copied to clipboard

The retention rule for snapshots or AMIs created by the policy.

Link copied to clipboard

[Custom snapshot policies only] The rule for sharing snapshots with other Amazon Web Services accounts.

Link copied to clipboard

The tags to apply to policy-created resources. These user-defined tags are in addition to the Amazon Web Services-added lifecycle tags.

Link copied to clipboard

[AMI policies and snapshot policies that target instances only] A collection of key/value pairs with values determined dynamically when the policy is executed. Keys may be any valid Amazon EC2 tag key. Values must be in one of the two following formats: $(instance-id) or $(timestamp). Variable tags are only valid for EBS Snapshot Management – Instance policies.

Functions

Link copied to clipboard
inline fun copy(block: Schedule.Builder.() -> Unit = {}): Schedule
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String