Class: Aws::EC2::Types::LockedSnapshotsInfo

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-ec2/types.rb

Overview

Information about a locked snapshot.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#cool_off_periodInteger

The compliance mode cooling-off period, in hours.

Returns:

  • (Integer)


45856
45857
45858
45859
45860
45861
45862
45863
45864
45865
45866
45867
45868
# File 'lib/aws-sdk-ec2/types.rb', line 45856

class LockedSnapshotsInfo < Struct.new(
  :owner_id,
  :snapshot_id,
  :lock_state,
  :lock_duration,
  :cool_off_period,
  :cool_off_period_expires_on,
  :lock_created_on,
  :lock_duration_start_time,
  :lock_expires_on)
  SENSITIVE = []
  include Aws::Structure
end

#cool_off_period_expires_onTime

The date and time at which the compliance mode cooling-off period expires, in the UTC time zone (‘YYYY-MM-DDThh:mm:ss.sssZ`).

Returns:

  • (Time)


45856
45857
45858
45859
45860
45861
45862
45863
45864
45865
45866
45867
45868
# File 'lib/aws-sdk-ec2/types.rb', line 45856

class LockedSnapshotsInfo < Struct.new(
  :owner_id,
  :snapshot_id,
  :lock_state,
  :lock_duration,
  :cool_off_period,
  :cool_off_period_expires_on,
  :lock_created_on,
  :lock_duration_start_time,
  :lock_expires_on)
  SENSITIVE = []
  include Aws::Structure
end

#lock_created_onTime

The date and time at which the snapshot was locked, in the UTC time zone (‘YYYY-MM-DDThh:mm:ss.sssZ`).

Returns:

  • (Time)


45856
45857
45858
45859
45860
45861
45862
45863
45864
45865
45866
45867
45868
# File 'lib/aws-sdk-ec2/types.rb', line 45856

class LockedSnapshotsInfo < Struct.new(
  :owner_id,
  :snapshot_id,
  :lock_state,
  :lock_duration,
  :cool_off_period,
  :cool_off_period_expires_on,
  :lock_created_on,
  :lock_duration_start_time,
  :lock_expires_on)
  SENSITIVE = []
  include Aws::Structure
end

#lock_durationInteger

The period of time for which the snapshot is locked, in days.

Returns:

  • (Integer)


45856
45857
45858
45859
45860
45861
45862
45863
45864
45865
45866
45867
45868
# File 'lib/aws-sdk-ec2/types.rb', line 45856

class LockedSnapshotsInfo < Struct.new(
  :owner_id,
  :snapshot_id,
  :lock_state,
  :lock_duration,
  :cool_off_period,
  :cool_off_period_expires_on,
  :lock_created_on,
  :lock_duration_start_time,
  :lock_expires_on)
  SENSITIVE = []
  include Aws::Structure
end

#lock_duration_start_timeTime

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 the `completed` state.

Returns:

  • (Time)


45856
45857
45858
45859
45860
45861
45862
45863
45864
45865
45866
45867
45868
# File 'lib/aws-sdk-ec2/types.rb', line 45856

class LockedSnapshotsInfo < Struct.new(
  :owner_id,
  :snapshot_id,
  :lock_state,
  :lock_duration,
  :cool_off_period,
  :cool_off_period_expires_on,
  :lock_created_on,
  :lock_duration_start_time,
  :lock_expires_on)
  SENSITIVE = []
  include Aws::Structure
end

#lock_expires_onTime

The date and time at which the lock will expire, in the UTC time zone (‘YYYY-MM-DDThh:mm:ss.sssZ`).

Returns:

  • (Time)


45856
45857
45858
45859
45860
45861
45862
45863
45864
45865
45866
45867
45868
# File 'lib/aws-sdk-ec2/types.rb', line 45856

class LockedSnapshotsInfo < Struct.new(
  :owner_id,
  :snapshot_id,
  :lock_state,
  :lock_duration,
  :cool_off_period,
  :cool_off_period_expires_on,
  :lock_created_on,
  :lock_duration_start_time,
  :lock_expires_on)
  SENSITIVE = []
  include Aws::Structure
end

#lock_stateString

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.

Returns:

  • (String)


45856
45857
45858
45859
45860
45861
45862
45863
45864
45865
45866
45867
45868
# File 'lib/aws-sdk-ec2/types.rb', line 45856

class LockedSnapshotsInfo < Struct.new(
  :owner_id,
  :snapshot_id,
  :lock_state,
  :lock_duration,
  :cool_off_period,
  :cool_off_period_expires_on,
  :lock_created_on,
  :lock_duration_start_time,
  :lock_expires_on)
  SENSITIVE = []
  include Aws::Structure
end

#owner_idString

The account ID of the Amazon Web Services account that owns the snapshot.

Returns:

  • (String)


45856
45857
45858
45859
45860
45861
45862
45863
45864
45865
45866
45867
45868
# File 'lib/aws-sdk-ec2/types.rb', line 45856

class LockedSnapshotsInfo < Struct.new(
  :owner_id,
  :snapshot_id,
  :lock_state,
  :lock_duration,
  :cool_off_period,
  :cool_off_period_expires_on,
  :lock_created_on,
  :lock_duration_start_time,
  :lock_expires_on)
  SENSITIVE = []
  include Aws::Structure
end

#snapshot_idString

The ID of the snapshot.

Returns:

  • (String)


45856
45857
45858
45859
45860
45861
45862
45863
45864
45865
45866
45867
45868
# File 'lib/aws-sdk-ec2/types.rb', line 45856

class LockedSnapshotsInfo < Struct.new(
  :owner_id,
  :snapshot_id,
  :lock_state,
  :lock_duration,
  :cool_off_period,
  :cool_off_period_expires_on,
  :lock_created_on,
  :lock_duration_start_time,
  :lock_expires_on)
  SENSITIVE = []
  include Aws::Structure
end