Interface SourcerepoRepositoryPubsubConfigs

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

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

      • getMessageFormat

        @Stability(Stable)
        @NotNull
        String getMessageFormat()
        The format of the Cloud Pub/Sub messages.

        * PROTOBUF: The message payload is a serialized protocol buffer of SourceRepoEvent. * JSON: The message payload is a JSON string of SourceRepoEvent. Possible values: ["PROTOBUF", "JSON"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/sourcerepo_repository#message_format SourcerepoRepository#message_format}

      • getTopic

        @Stability(Stable)
        @NotNull
        String getTopic()
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/sourcerepo_repository#topic SourcerepoRepository#topic}.
      • getServiceAccountEmail

        @Stability(Stable)
        @Nullable
        default String getServiceAccountEmail()
        Email address of the service account used for publishing Cloud Pub/Sub messages.

        This service account needs to be in the same project as the PubsubConfig. When added, the caller needs to have iam.serviceAccounts.actAs permission on this service account. If unspecified, it defaults to the compute engine default service account. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/sourcerepo_repository#service_account_email SourcerepoRepository#service_account_email}