Class: Aws::SecretsManager::Types::SecretVersionsListEntry

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

Overview

A structure that contains information about one version of a secret.

Instance Attribute Summary collapse

Instance Attribute Details

#created_dateTime

The date and time this version of the secret was created.

Returns:

  • (Time)


1799
1800
1801
1802
1803
1804
1805
# File 'lib/aws-sdk-secretsmanager/types.rb', line 1799

class SecretVersionsListEntry < Struct.new(
  :version_id,
  :version_stages,
  :last_accessed_date,
  :created_date)
  include Aws::Structure
end

#last_accessed_dateTime

The date that this version of the secret was last accessed. Note that the resolution of this field is at the date level and does not include the time.

Returns:

  • (Time)


1799
1800
1801
1802
1803
1804
1805
# File 'lib/aws-sdk-secretsmanager/types.rb', line 1799

class SecretVersionsListEntry < Struct.new(
  :version_id,
  :version_stages,
  :last_accessed_date,
  :created_date)
  include Aws::Structure
end

#version_idString

The unique version identifier of this version of the secret.

Returns:

  • (String)


1799
1800
1801
1802
1803
1804
1805
# File 'lib/aws-sdk-secretsmanager/types.rb', line 1799

class SecretVersionsListEntry < Struct.new(
  :version_id,
  :version_stages,
  :last_accessed_date,
  :created_date)
  include Aws::Structure
end

#version_stagesArray<String>

An array of staging labels that are currently associated with this version of the secret.

Returns:

  • (Array<String>)


1799
1800
1801
1802
1803
1804
1805
# File 'lib/aws-sdk-secretsmanager/types.rb', line 1799

class SecretVersionsListEntry < Struct.new(
  :version_id,
  :version_stages,
  :last_accessed_date,
  :created_date)
  include Aws::Structure
end