FunctionSecretVolumeVersion constructor

const FunctionSecretVolumeVersion({
  1. required Input<String> path,
  2. required Input<String> version,
})

Creates a new FunctionSecretVolumeVersion. path Relative path of the file under the mount path where the secret value for this version will be fetched and made available. For example, setting the mountPath as "/etc/secrets" and path as "/secret_foo" would mount the secret value file at "/etc/secrets/secret_foo". version Version of the secret (version number or the string "latest"). It is preferable to use "latest" version with secret volumes as secret value changes are reflected immediately.

Implementation

const FunctionSecretVolumeVersion({
  required this.path,
  required this.version,
});