StartBackupJobInput
public struct StartBackupJobInput : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
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 backupVaultName: String
-
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 completeWindowMinutes: Int64?
-
Specifies the IAM role ARN used to create the target recovery point; for example, arn:aws:iam::123456789012:role/S3Access.
Declaration
Swift
public let iamRoleArn: String
-
A customer chosen string that can be used to distinguish between calls to StartBackupJob.
Declaration
Swift
public let idempotencyToken: String?
-
The lifecycle defines when a protected resource is transitioned to cold storage and when it expires. AWS Backup will transition and expire 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?
-
To help organize your resources, you can assign your own metadata to the resources that you create. Each tag is a key-value pair.
Declaration
Swift
public let recoveryPointTags: [String : String]?
-
An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the resource type.
Declaration
Swift
public let resourceArn: 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?
-
init(backupVaultName:completeWindowMinutes:iamRoleArn:idempotencyToken:lifecycle:recoveryPointTags:resourceArn:startWindowMinutes:)
Undocumented
Declaration
Swift
public init(backupVaultName: String, completeWindowMinutes: Int64? = nil, iamRoleArn: String, idempotencyToken: String? = nil, lifecycle: Lifecycle? = nil, recoveryPointTags: [String : String]? = nil, resourceArn: String, startWindowMinutes: Int64? = nil)
-
Declaration
Swift
public func validate(name: String) throws