Viewing docs for Pulumi Delivery v0.2.0
published on Wednesday, Nov 18, 2026 by Pulumi
published on Wednesday, Nov 18, 2026 by Pulumi
Pulumi Delivery
Viewing docs for Pulumi Delivery v0.2.0
published on Wednesday, Nov 18, 2026 by Pulumi
published on Wednesday, Nov 18, 2026 by Pulumi
Declares a Bitbucket repository and branch. See GitHubSource.
Create BitbucketSource Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new BitbucketSource(name: string, args: BitbucketSourceArgs, opts?: ComponentResourceOptions);@overload
def BitbucketSource(resource_name: str,
args: BitbucketSourceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def BitbucketSource(resource_name: str,
opts: Optional[ResourceOptions] = None,
branch: Optional[str] = None,
repository: Optional[str] = None,
trigger: Optional[Union[bool, SourceTriggerArgs]] = None)func NewBitbucketSource(ctx *Context, name string, args BitbucketSourceArgs, opts ...ResourceOption) (*BitbucketSource, error)public BitbucketSource(string name, BitbucketSourceArgs args, ComponentResourceOptions? opts = null)
public BitbucketSource(String name, BitbucketSourceArgs args)
public BitbucketSource(String name, BitbucketSourceArgs args, ComponentResourceOptions options)
type: delivery:BitbucketSource
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "delivery_bitbucket_source" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args BitbucketSourceArgs
- The arguments to resource properties.
- opts ComponentResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args BitbucketSourceArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args BitbucketSourceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args BitbucketSourceArgs
- The arguments to resource properties.
- opts ComponentResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args BitbucketSourceArgs
- The arguments to resource properties.
- options ComponentResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var bitbucketSourceResource = new Delivery.BitbucketSource("bitbucketSourceResource", new()
{
Branch = "string",
Repository = "string",
Trigger = false,
});
example, err := delivery.NewBitbucketSource(ctx, "bitbucketSourceResource", &delivery.BitbucketSourceArgs{
Branch: pulumi.String("string"),
Repository: pulumi.String("string"),
Trigger: pulumi.Any(false),
})
resource "delivery_bitbucket_source" "bitbucketSourceResource" {
lifecycle {
create_before_destroy = true
}
branch = "string"
repository = "string"
trigger = false
}
var bitbucketSourceResource = new BitbucketSource("bitbucketSourceResource", BitbucketSourceArgs.builder()
.branch("string")
.repository("string")
.trigger(false)
.build());
bitbucket_source_resource = delivery.BitbucketSource("bitbucketSourceResource",
branch="string",
repository="string",
trigger=False)
const bitbucketSourceResource = new delivery.BitbucketSource("bitbucketSourceResource", {
branch: "string",
repository: "string",
trigger: false,
});
type: delivery:BitbucketSource
properties:
branch: string
repository: string
trigger: false
BitbucketSource Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The BitbucketSource resource accepts the following input properties:
- Branch string
- Branch of the source.
- Repository string
- Repository of the source. Use
owner/repoon GitHub,group/subgroup/repo(the full path) on GitLab,workspace/repoon Bitbucket andorg/project/repoon Azure DevOps. Pulumi Cloud picks the integration of the organization whose account (GitHub), group (GitLab), workspace (Bitbucket) or organization and project (Azure DevOps) holds the repository. - Trigger
bool | Source
Trigger - Starts a run when someone pushes to the branch. Set true for every push, or { paths } for pushes that change a matching file. If you omit it, the source is part of the release but never starts a run.
- Branch string
- Branch of the source.
- Repository string
- Repository of the source. Use
owner/repoon GitHub,group/subgroup/repo(the full path) on GitLab,workspace/repoon Bitbucket andorg/project/repoon Azure DevOps. Pulumi Cloud picks the integration of the organization whose account (GitHub), group (GitLab), workspace (Bitbucket) or organization and project (Azure DevOps) holds the repository. - Trigger
bool | Source
Trigger Args - Starts a run when someone pushes to the branch. Set true for every push, or { paths } for pushes that change a matching file. If you omit it, the source is part of the release but never starts a run.
- branch string
- Branch of the source.
- repository string
- Repository of the source. Use
owner/repoon GitHub,group/subgroup/repo(the full path) on GitLab,workspace/repoon Bitbucket andorg/project/repoon Azure DevOps. Pulumi Cloud picks the integration of the organization whose account (GitHub), group (GitLab), workspace (Bitbucket) or organization and project (Azure DevOps) holds the repository. - trigger bool | object
- Starts a run when someone pushes to the branch. Set true for every push, or { paths } for pushes that change a matching file. If you omit it, the source is part of the release but never starts a run.
- branch String
- Branch of the source.
- repository String
- Repository of the source. Use
owner/repoon GitHub,group/subgroup/repo(the full path) on GitLab,workspace/repoon Bitbucket andorg/project/repoon Azure DevOps. Pulumi Cloud picks the integration of the organization whose account (GitHub), group (GitLab), workspace (Bitbucket) or organization and project (Azure DevOps) holds the repository. - trigger
Boolean | Source
Trigger - Starts a run when someone pushes to the branch. Set true for every push, or { paths } for pushes that change a matching file. If you omit it, the source is part of the release but never starts a run.
- branch string
- Branch of the source.
- repository string
- Repository of the source. Use
owner/repoon GitHub,group/subgroup/repo(the full path) on GitLab,workspace/repoon Bitbucket andorg/project/repoon Azure DevOps. Pulumi Cloud picks the integration of the organization whose account (GitHub), group (GitLab), workspace (Bitbucket) or organization and project (Azure DevOps) holds the repository. - trigger
boolean | Source
Trigger - Starts a run when someone pushes to the branch. Set true for every push, or { paths } for pushes that change a matching file. If you omit it, the source is part of the release but never starts a run.
- branch str
- Branch of the source.
- repository str
- Repository of the source. Use
owner/repoon GitHub,group/subgroup/repo(the full path) on GitLab,workspace/repoon Bitbucket andorg/project/repoon Azure DevOps. Pulumi Cloud picks the integration of the organization whose account (GitHub), group (GitLab), workspace (Bitbucket) or organization and project (Azure DevOps) holds the repository. - trigger
bool | Source
Trigger Args - Starts a run when someone pushes to the branch. Set true for every push, or { paths } for pushes that change a matching file. If you omit it, the source is part of the release but never starts a run.
- branch String
- Branch of the source.
- repository String
- Repository of the source. Use
owner/repoon GitHub,group/subgroup/repo(the full path) on GitLab,workspace/repoon Bitbucket andorg/project/repoon Azure DevOps. Pulumi Cloud picks the integration of the organization whose account (GitHub), group (GitLab), workspace (Bitbucket) or organization and project (Azure DevOps) holds the repository. - trigger Boolean | Property Map
- Starts a run when someone pushes to the branch. Set true for every push, or { paths } for pushes that change a matching file. If you omit it, the source is part of the release but never starts a run.
Outputs
All input properties are implicitly available as output properties. Additionally, the BitbucketSource resource produces the following output properties:
- Commit string
- Commit of the run for this source. It is unknown during registration and preview.
- Commit string
- Commit of the run for this source. It is unknown during registration and preview.
- commit string
- Commit of the run for this source. It is unknown during registration and preview.
- commit String
- Commit of the run for this source. It is unknown during registration and preview.
- commit string
- Commit of the run for this source. It is unknown during registration and preview.
- commit str
- Commit of the run for this source. It is unknown during registration and preview.
- commit String
- Commit of the run for this source. It is unknown during registration and preview.
Supporting Types
SourceTrigger, SourceTriggerArgs
Limits the pushes that start a run.- Paths List<string>
- Glob patterns of changed files. A push starts a run only when it changes a file that matches one of them.
- Paths []string
- Glob patterns of changed files. A push starts a run only when it changes a file that matches one of them.
- paths list(string)
- Glob patterns of changed files. A push starts a run only when it changes a file that matches one of them.
- paths List<String>
- Glob patterns of changed files. A push starts a run only when it changes a file that matches one of them.
- paths string[]
- Glob patterns of changed files. A push starts a run only when it changes a file that matches one of them.
- paths Sequence[str]
- Glob patterns of changed files. A push starts a run only when it changes a file that matches one of them.
- paths List<String>
- Glob patterns of changed files. A push starts a run only when it changes a file that matches one of them.
Package Details
- Repository
- delivery pulumi/pulumi-delivery
- License
- Apache-2.0
Pulumi Delivery
Viewing docs for Pulumi Delivery v0.2.0
published on Wednesday, Nov 18, 2026 by Pulumi
published on Wednesday, Nov 18, 2026 by Pulumi