Cloud Keys 2020 Kotlin Edition

Questions / Feedback?

VersionList Event

Fires once for each secret version when listing secret versions.

Syntax

public open class DefaultAmazonsecretsEventListener : AmazonsecretsEventListener {
  ...
  public override fun versionList(e: AmazonsecretsVersionListEvent) {}
  ...
}

public class AmazonsecretsVersionListEvent {
  val secretARN: String?
  val secretName: String?
  val versionId: String?
  val stagingLabels: String?
  val creationDate: String?
  val lastAccessDate: String?
}

Remarks

This event fires once for each secret version returned when ListVersions, GetSecretInfo, or (if the AlwaysParseVersions configuration setting is enabled) ListSecrets is called. Note that CreationDate and LastAccessDate are only populated when ListVersions is called.

SecretARN reflects the Amazon resource name of the secret this is a version of.

SecretName reflects the name of the secret this is a version of.

VersionId reflects the Id of the secret version.

StagingLabels reflects a comma-separated list of staging labels attached to the secret version.

CreationDate reflects the secret version's creation date, in seconds since the Unix epoch (including fractional seconds).

LastAccessDate reflects the secret version's last access date, in seconds since the Unix epoch. It provides date-level resolution only, the time is not included.

 
 
Copyright (c) 2021 /n software inc. - All rights reserved.
Cloud Keys 2020 Kotlin Edition - Version 20.0 [Build 7876]