Class CloudfunctionsFunctionSecretVolumes.Jsii$Proxy

    • Constructor Detail

      • Jsii$Proxy

        protected Jsii$Proxy​(software.amazon.jsii.JsiiObjectRef objRef)
        Constructor that initializes the object based on values retrieved from the JsiiObject.
        Parameters:
        objRef - Reference to the JSII managed object.
    • Method Detail

      • getMountPath

        public final String getMountPath()
        Description copied from interface: CloudfunctionsFunctionSecretVolumes
        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}

        Specified by:
        getMountPath in interface CloudfunctionsFunctionSecretVolumes
      • getSecret

        public final String getSecret()
        Description copied from interface: CloudfunctionsFunctionSecretVolumes
        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}

        Specified by:
        getSecret in interface CloudfunctionsFunctionSecretVolumes
      • getProjectId

        public final String getProjectId()
        Description copied from interface: CloudfunctionsFunctionSecretVolumes
        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}

        Specified by:
        getProjectId in interface CloudfunctionsFunctionSecretVolumes
      • $jsii$toJson

        @Internal
        public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
        Specified by:
        $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object