Interface CloudbuildTriggerTriggerTemplate

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

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

      • getBranchName

        @Stability(Stable)
        @Nullable
        default String getBranchName()
        Name of the branch to build.

        Exactly one a of branch name, tag, or commit SHA must be provided. This field is a regular expression. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuild_trigger#branch_name CloudbuildTrigger#branch_name}

      • getCommitSha

        @Stability(Stable)
        @Nullable
        default String getCommitSha()
        Explicit commit SHA to build. Exactly one of a branch name, tag, or commit SHA must be provided.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuild_trigger#commit_sha CloudbuildTrigger#commit_sha}

      • getDir

        @Stability(Stable)
        @Nullable
        default String getDir()
        Directory, relative to the source root, in which to run the build.

        This must be a relative path. If a step's dir is specified and is an absolute path, this value is ignored for that step's execution. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuild_trigger#dir CloudbuildTrigger#dir}

      • getInvertRegex

        @Stability(Stable)
        @Nullable
        default Object getInvertRegex()
        Only trigger a build if the revision regex does NOT match the revision regex.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuild_trigger#invert_regex CloudbuildTrigger#invert_regex}

      • getProjectId

        @Stability(Stable)
        @Nullable
        default String getProjectId()
        ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuild_trigger#project_id CloudbuildTrigger#project_id}

      • getRepoName

        @Stability(Stable)
        @Nullable
        default String getRepoName()
        Name of the Cloud Source Repository. If omitted, the name "default" is assumed.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuild_trigger#repo_name CloudbuildTrigger#repo_name}

      • getTagName

        @Stability(Stable)
        @Nullable
        default String getTagName()
        Name of the tag to build.

        Exactly one of a branch name, tag, or commit SHA must be provided. This field is a regular expression. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuild_trigger#tag_name CloudbuildTrigger#tag_name}