Interface CloudfunctionsFunctionSecretVolumes

  • All Superinterfaces:
    software.amazon.jsii.JsiiSerializable
    All Known Implementing Classes:
    CloudfunctionsFunctionSecretVolumes.Jsii$Proxy

    @Generated(value="jsii-pacmak/1.102.0 (build e354887)",
               date="2024-08-31T03:59:18.228Z")
    @Stability(Stable)
    public interface CloudfunctionsFunctionSecretVolumes
    extends software.amazon.jsii.JsiiSerializable
    • Method Detail

      • getMountPath

        @Stability(Stable)
        @NotNull
        String getMountPath()
        The path within the container to mount the secret volume.

        For example, setting the mount_path as "/etc/secrets" would mount the secret value files under the "/etc/secrets" directory. This directory will also be completely shadowed and unavailable to mount any other secrets. Recommended mount paths: "/etc/secrets" Restricted mount paths: "/cloudsql", "/dev/log", "/pod", "/proc", "/var/log". Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudfunctions_function#mount_path CloudfunctionsFunction#mount_path}

      • getSecret

        @Stability(Stable)
        @NotNull
        String getSecret()
        ID of the secret in secret manager (not the full resource name).

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudfunctions_function#secret CloudfunctionsFunction#secret}

      • getProjectId

        @Stability(Stable)
        @Nullable
        default String getProjectId()
        Project identifier (due to a known limitation, only project number is supported by this field) of the project that contains the secret.

        If not set, it will be populated with the function's project, assuming that the secret exists in the same project as of the function. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudfunctions_function#project_id CloudfunctionsFunction#project_id}

      • getVersions

        @Stability(Stable)
        @Nullable
        default Object getVersions()
        versions block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudfunctions_function#versions CloudfunctionsFunction#versions}