BackupRule
public struct BackupRule : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
A value in minutes after a backup job is successfully started before it must be completed or it will be canceled by AWS Backup. This value is optional.
Declaration
Swift
public let completionWindowMinutes: Int64?
-
An array of CopyAction objects, which contains the details of the copy operation.
Declaration
Swift
public let copyActions: [CopyAction]?
-
The lifecycle defines when a protected resource is transitioned to cold storage and when it expires. AWS Backup transitions and expires backups automatically according to the lifecycle that you define. Backups transitioned to cold storage must be stored in cold storage for a minimum of 90 days. Therefore, the “expire after days” setting must be 90 days greater than the “transition to cold after days” setting. The “transition to cold after days” setting cannot be changed after a backup has been transitioned to cold.
Declaration
Swift
public let lifecycle: Lifecycle?
-
An array of key-value pair strings that are assigned to resources that are associated with this rule when restored from backup.
Declaration
Swift
public let recoveryPointTags: [String : String]?
-
Uniquely identifies a rule that is used to schedule the backup of a selection of resources.
Declaration
Swift
public let ruleId: String?
-
An optional display name for a backup rule.
Declaration
Swift
public let ruleName: String
-
A CRON expression specifying when AWS Backup initiates a backup job.
Declaration
Swift
public let scheduleExpression: String?
-
A value in minutes after a backup is scheduled before a job will be canceled if it doesn’t start successfully. This value is optional.
Declaration
Swift
public let startWindowMinutes: Int64?
-
The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the AWS Region where they are created. They consist of lowercase letters, numbers, and hyphens.
Declaration
Swift
public let targetBackupVaultName: String
-
init(completionWindowMinutes:copyActions:lifecycle:recoveryPointTags:ruleId:ruleName:scheduleExpression:startWindowMinutes:targetBackupVaultName:)
Undocumented
Declaration
Swift
public init(completionWindowMinutes: Int64? = nil, copyActions: [CopyAction]? = nil, lifecycle: Lifecycle? = nil, recoveryPointTags: [String : String]? = nil, ruleId: String? = nil, ruleName: String, scheduleExpression: String? = nil, startWindowMinutes: Int64? = nil, targetBackupVaultName: String)