Snapshot

public struct Snapshot : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The data encryption key identifier for the snapshot. This value is a unique identifier that corresponds to the data encryption key that was used to encrypt the original volume or snapshot copy. Because data encryption keys are inherited by volumes created from snapshots, and vice versa, if snapshots share the same data encryption key identifier, then they belong to the same volume/snapshot lineage. This parameter is only returned by DescribeSnapshots.

    Declaration

    Swift

    public let dataEncryptionKeyId: String?
  • The description for the snapshot.

    Declaration

    Swift

    public let description: String?
  • Indicates whether the snapshot is encrypted.

    Declaration

    Swift

    public let encrypted: Bool?
  • The Amazon Resource Name (ARN) of the AWS Key Management Service (AWS KMS) customer master key (CMK) that was used to protect the volume encryption key for the parent volume.

    Declaration

    Swift

    public let kmsKeyId: String?
  • The AWS owner alias, as maintained by Amazon. The possible values are: amazon | self | all | aws-marketplace | microsoft. This AWS owner alias is not to be confused with the user-configured AWS account alias, which is set from the IAM console.

    Declaration

    Swift

    public let ownerAlias: String?
  • The AWS account ID of the EBS snapshot owner.

    Declaration

    Swift

    public let ownerId: String?
  • The progress of the snapshot, as a percentage.

    Declaration

    Swift

    public let progress: String?
  • The ID of the snapshot. Each snapshot receives a unique identifier when it is created.

    Declaration

    Swift

    public let snapshotId: String?
  • The time stamp when the snapshot was initiated.

    Declaration

    Swift

    public let startTime: TimeStamp?
  • The snapshot state.

    Declaration

    Swift

    public let state: SnapshotState?
  • Encrypted Amazon EBS snapshots are copied asynchronously. If a snapshot copy operation fails (for example, if the proper AWS Key Management Service (AWS KMS) permissions are not obtained) this field displays error state details to help you diagnose why the error occurred. This parameter is only returned by DescribeSnapshots.

    Declaration

    Swift

    public let stateMessage: String?
  • Any tags assigned to the snapshot.

    Declaration

    Swift

    public let tags: [Tag]?
  • The ID of the volume that was used to create the snapshot. Snapshots created by the CopySnapshot action have an arbitrary volume ID that should not be used for any purpose.

    Declaration

    Swift

    public let volumeId: String?
  • The size of the volume, in GiB.

    Declaration

    Swift

    public let volumeSize: Int?
  • Undocumented

    Declaration

    Swift

    public init(dataEncryptionKeyId: String? = nil, description: String? = nil, encrypted: Bool? = nil, kmsKeyId: String? = nil, ownerAlias: String? = nil, ownerId: String? = nil, progress: String? = nil, snapshotId: String? = nil, startTime: TimeStamp? = nil, state: SnapshotState? = nil, stateMessage: String? = nil, tags: [Tag]? = nil, volumeId: String? = nil, volumeSize: Int? = nil)