AWSEC2LockedSnapshotsInfo
Objective-C
@interface AWSEC2LockedSnapshotsInfo
Swift
class AWSEC2LockedSnapshotsInfo
Information about a locked snapshot.
-
The compliance mode cooling-off period, in hours.
Declaration
Objective-C
@property (nonatomic, strong) NSNumber *_Nullable coolOffPeriod;
Swift
var coolOffPeriod: NSNumber? { get set }
-
The date and time at which the compliance mode cooling-off period expires, in the UTC time zone (
YYYY-MM-DDThh:mm:ss.sssZ
).Declaration
Objective-C
@property (nonatomic, strong) NSDate *_Nullable coolOffPeriodExpiresOn;
Swift
var coolOffPeriodExpiresOn: Date? { get set }
-
The date and time at which the snapshot was locked, in the UTC time zone (
YYYY-MM-DDThh:mm:ss.sssZ
).Declaration
Objective-C
@property (nonatomic, strong) NSDate *_Nullable lockCreatedOn;
Swift
var lockCreatedOn: Date? { get set }
-
The period of time for which the snapshot is locked, in days.
Declaration
Objective-C
@property (nonatomic, strong) NSNumber *_Nullable lockDuration;
Swift
var lockDuration: NSNumber? { get set }
-
The date and time at which the lock duration started, in the UTC time zone (
YYYY-MM-DDThh:mm:ss.sssZ
).If you lock a snapshot that is in the
pending
state, the lock duration starts only once the snapshot enters thecompleted
state.Declaration
Objective-C
@property (nonatomic, strong) NSDate *_Nullable lockDurationStartTime;
Swift
var lockDurationStartTime: Date? { get set }
-
The date and time at which the lock will expire, in the UTC time zone (
YYYY-MM-DDThh:mm:ss.sssZ
).Declaration
Objective-C
@property (nonatomic, strong) NSDate *_Nullable lockExpiresOn;
Swift
var lockExpiresOn: Date? { get set }
-
The state of the snapshot lock. Valid states include:
compliance-cooloff
- The snapshot has been locked in compliance mode but it is still within the cooling-off period. The snapshot can’t be deleted, but it can be unlocked and the lock settings can be modified by users with appropriate permissions.governance
- The snapshot is locked in governance mode. The snapshot can’t be deleted, but it can be unlocked and the lock settings can be modified by users with appropriate permissions.compliance
- The snapshot is locked in compliance mode and the cooling-off period has expired. The snapshot can’t be unlocked or deleted. The lock duration can only be increased by users with appropriate permissions.expired
- The snapshot was locked in compliance or governance mode but the lock duration has expired. The snapshot is not locked and can be deleted.
Declaration
Objective-C
@property (nonatomic) AWSEC2LockState lockState;
Swift
var lockState: AWSEC2LockState { get set }
-
The account ID of the Amazon Web Services account that owns the snapshot.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable ownerId;
Swift
var ownerId: String? { get set }
-
The ID of the snapshot.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable snapshotId;
Swift
var snapshotId: String? { get set }