Schedule
public struct Schedule : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember] -
Copy all user-defined tags on a source volume to snapshots of the volume created by this policy.
Declaration
Swift
public let copyTags: Bool? -
The creation rule.
Declaration
Swift
public let createRule: CreateRule? -
The rule for cross-Region snapshot copies.
Declaration
Swift
public let crossRegionCopyRules: [CrossRegionCopyRule]? -
The rule for enabling fast snapshot restore.
Declaration
Swift
public let fastRestoreRule: FastRestoreRule? -
The name of the schedule.
Declaration
Swift
public let name: String? -
The retention rule.
Declaration
Swift
public let retainRule: RetainRule? -
The tags to apply to policy-created resources. These user-defined tags are in addition to the AWS-added lifecycle tags.
Declaration
Swift
public let tagsToAdd: [Tag]? -
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.
Declaration
Swift
public let variableTags: [Tag]? -
init(copyTags:createRule:crossRegionCopyRules:fastRestoreRule:name:retainRule:tagsToAdd:variableTags:)Undocumented
Declaration
Swift
public init(copyTags: Bool? = nil, createRule: CreateRule? = nil, crossRegionCopyRules: [CrossRegionCopyRule]? = nil, fastRestoreRule: FastRestoreRule? = nil, name: String? = nil, retainRule: RetainRule? = nil, tagsToAdd: [Tag]? = nil, variableTags: [Tag]? = nil) -
Declaration
Swift
public func validate(name: String) throws
View on GitHub
Schedule Structure Reference