Interface EventarcTriggerConfig

  • All Superinterfaces:
    software.amazon.jsii.JsiiSerializable, com.hashicorp.cdktf.TerraformMetaArguments
    All Known Implementing Classes:
    EventarcTriggerConfig.Jsii$Proxy

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

      • getDestination

        @Stability(Stable)
        @NotNull
        EventarcTriggerDestination getDestination()
        destination block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/eventarc_trigger#destination EventarcTrigger#destination}

      • getLocation

        @Stability(Stable)
        @NotNull
        String getLocation()
        The location for the resource.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/eventarc_trigger#location EventarcTrigger#location}

      • getMatchingCriteria

        @Stability(Stable)
        @NotNull
        Object getMatchingCriteria()
        matching_criteria block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/eventarc_trigger#matching_criteria EventarcTrigger#matching_criteria}

      • getName

        @Stability(Stable)
        @NotNull
        String getName()
        Required. The resource name of the trigger. Must be unique within the location on the project.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/eventarc_trigger#name EventarcTrigger#name}

      • getChannel

        @Stability(Stable)
        @Nullable
        default String getChannel()
        Optional.

        The name of the channel associated with the trigger in `projects/{project}/locations/{location}/channels/{channel}` format. You must provide a channel to receive events from Eventarc SaaS partners. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/eventarc_trigger#channel EventarcTrigger#channel}

      • getEventDataContentType

        @Stability(Stable)
        @Nullable
        default String getEventDataContentType()
        Optional.

        EventDataContentType specifies the type of payload in MIME format that is expected from the CloudEvent data field. This is set to `application/json` if the value is not defined. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/eventarc_trigger#event_data_content_type EventarcTrigger#event_data_content_type}

      • getId

        @Stability(Stable)
        @Nullable
        default String getId()
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/eventarc_trigger#id EventarcTrigger#id}.

        Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.

      • getLabels

        @Stability(Stable)
        @Nullable
        default Map<String,​String> getLabels()
        Optional. User labels attached to the triggers that can be used to group resources.

        **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field `effective_labels` for all of the labels present on the resource. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/eventarc_trigger#labels EventarcTrigger#labels}

      • getProject

        @Stability(Stable)
        @Nullable
        default String getProject()
        The project for the resource.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/eventarc_trigger#project EventarcTrigger#project}

      • getServiceAccount

        @Stability(Stable)
        @Nullable
        default String getServiceAccount()
        Optional.

        The IAM service account email associated with the trigger. The service account represents the identity of the trigger. The principal who calls this API must have `iam.serviceAccounts.actAs` permission in the service account. See https://cloud.google.com/iam/docs/understanding-service-accounts#sa_common for more information. For Cloud Run destinations, this service account is used to generate identity tokens when invoking the service. See https://cloud.google.com/run/docs/triggering/pubsub-push#create-service-account for information on how to invoke authenticated Cloud Run services. In order to create Audit Log triggers, the service account should also have `roles/eventarc.eventReceiver` IAM role. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/eventarc_trigger#service_account EventarcTrigger#service_account}

      • getTimeouts

        @Stability(Stable)
        @Nullable
        default EventarcTriggerTimeouts getTimeouts()
        timeouts block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/eventarc_trigger#timeouts EventarcTrigger#timeouts}

      • getTransport

        @Stability(Stable)
        @Nullable
        default EventarcTriggerTransport getTransport()
        transport block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/eventarc_trigger#transport EventarcTrigger#transport}