toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case EnvironmentVariableType.plaintext:
      return 'PLAINTEXT';
    case EnvironmentVariableType.parameterStore:
      return 'PARAMETER_STORE';
    case EnvironmentVariableType.secretsManager:
      return 'SECRETS_MANAGER';
  }
}