Interface CloudfunctionsFunctionEventTrigger

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

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

      • getEventType

        @Stability(Stable)
        @NotNull
        String getEventType()
        The type of event to observe.

        For example: "google.storage.object.finalize". See the documentation on calling Cloud Functions for a full reference of accepted triggers. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudfunctions_function#event_type CloudfunctionsFunction#event_type}

      • getResource

        @Stability(Stable)
        @NotNull
        String getResource()
        The name or partial URI of the resource from which to observe events. For example, "myBucket" or "projects/my-project/topics/my-topic".

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

      • getFailurePolicy

        @Stability(Stable)
        @Nullable
        default CloudfunctionsFunctionEventTriggerFailurePolicy getFailurePolicy()
        failure_policy block.

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