CreateDiskSnapshotRequest
public struct CreateDiskSnapshotRequest : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
The unique name of the source disk (e.g., Disk-Virginia-1). This parameter cannot be defined together with the instance name parameter. The disk name and instance name parameters are mutually exclusive.
Declaration
Swift
public let diskName: String?
-
The name of the destination disk snapshot (e.g., my-disk-snapshot) based on the source disk.
Declaration
Swift
public let diskSnapshotName: String
-
The unique name of the source instance (e.g., Amazon_Linux-512MB-Virginia-1). When this is defined, a snapshot of the instance’s system volume is created. This parameter cannot be defined together with the disk name parameter. The instance name and disk name parameters are mutually exclusive.
Declaration
Swift
public let instanceName: String?
-
The tag keys and optional values to add to the resource during create. Use the TagResource action to tag a resource after it’s created.
Declaration
Swift
public let tags: [Tag]?
-
Undocumented
Declaration
Swift
public init(diskName: String? = nil, diskSnapshotName: String, instanceName: String? = nil, tags: [Tag]? = nil)
-
Declaration
Swift
public func validate(name: String) throws