heroku logo
Heroku v1.0.2, Dec 5 22

heroku.build.Build

Create Build Resource

new Build(name: string, args: BuildArgs, opts?: CustomResourceOptions);
@overload
def Build(resource_name: str,
          opts: Optional[ResourceOptions] = None,
          app_id: Optional[str] = None,
          buildpacks: Optional[Sequence[str]] = None,
          source: Optional[BuildSourceArgs] = None)
@overload
def Build(resource_name: str,
          args: BuildArgs,
          opts: Optional[ResourceOptions] = None)
func NewBuild(ctx *Context, name string, args BuildArgs, opts ...ResourceOption) (*Build, error)
public Build(string name, BuildArgs args, CustomResourceOptions? opts = null)
public Build(String name, BuildArgs args)
public Build(String name, BuildArgs args, CustomResourceOptions options)
type: heroku:build:Build
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args BuildArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args BuildArgs
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 BuildArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args BuildArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args BuildArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Build Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The Build resource accepts the following input properties:

Outputs

All input properties are implicitly available as output properties. Additionally, the Build resource produces the following output properties:

Id string

The provider-assigned unique ID for this managed resource.

LocalChecksum string
OutputStreamUrl string
ReleaseId string
SlugId string
Stack string
Status string
Users List<Pulumiverse.Heroku.Build.Outputs.BuildUser>
Uuid string
Id string

The provider-assigned unique ID for this managed resource.

LocalChecksum string
OutputStreamUrl string
ReleaseId string
SlugId string
Stack string
Status string
Users []BuildUser
Uuid string
id String

The provider-assigned unique ID for this managed resource.

localChecksum String
outputStreamUrl String
releaseId String
slugId String
stack String
status String
users List<BuildUser>
uuid String
id string

The provider-assigned unique ID for this managed resource.

localChecksum string
outputStreamUrl string
releaseId string
slugId string
stack string
status string
users BuildUser[]
uuid string
id str

The provider-assigned unique ID for this managed resource.

local_checksum str
output_stream_url str
release_id str
slug_id str
stack str
status str
users Sequence[BuildUser]
uuid str
id String

The provider-assigned unique ID for this managed resource.

localChecksum String
outputStreamUrl String
releaseId String
slugId String
stack String
status String
users List<Property Map>
uuid String

Look up Existing Build Resource

Get an existing Build resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: BuildState, opts?: CustomResourceOptions): Build
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        app_id: Optional[str] = None,
        buildpacks: Optional[Sequence[str]] = None,
        local_checksum: Optional[str] = None,
        output_stream_url: Optional[str] = None,
        release_id: Optional[str] = None,
        slug_id: Optional[str] = None,
        source: Optional[BuildSourceArgs] = None,
        stack: Optional[str] = None,
        status: Optional[str] = None,
        users: Optional[Sequence[BuildUserArgs]] = None,
        uuid: Optional[str] = None) -> Build
func GetBuild(ctx *Context, name string, id IDInput, state *BuildState, opts ...ResourceOption) (*Build, error)
public static Build Get(string name, Input<string> id, BuildState? state, CustomResourceOptions? opts = null)
public static Build get(String name, Output<String> id, BuildState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:

Supporting Types

BuildSource

Checksum string
Path string
Url string
Version string
Checksum string
Path string
Url string
Version string
checksum String
path String
url String
version String
checksum string
path string
url string
version string
checksum str
path str
url str
version str
checksum String
path String
url String
version String

BuildUser

Email string
Id string
Email string
Id string
email String
id String
email string
id string
email str
id str
email String
id String

Package Details

Repository
heroku pulumiverse/pulumi-heroku
License
Apache-2.0
Notes

This Pulumi package is based on the heroku Terraform Provider.