1. Packages
  2. Pulumi Auto Deploy (preview)
  3. API Docs
  4. AutoDeployer
auto-deploy v0.0.4 published on Monday, Jun 19, 2023 by Pulumi

auto-deploy.AutoDeployer

Explore with Pulumi AI

Automatically trigger downstream updates on dependent stacks via Pulumi Deployments. AutoDeployer requires that stacks have Deployment Settings configured.

Create AutoDeployer Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new AutoDeployer(name: string, args: AutoDeployerArgs, opts?: ComponentResourceOptions);
@overload
def AutoDeployer(resource_name: str,
                 args: AutoDeployerArgs,
                 opts: Optional[ResourceOptions] = None)

@overload
def AutoDeployer(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 downstream_refs: Optional[Sequence[str]] = None,
                 organization: Optional[str] = None,
                 project: Optional[str] = None,
                 stack: Optional[str] = None)
func NewAutoDeployer(ctx *Context, name string, args AutoDeployerArgs, opts ...ResourceOption) (*AutoDeployer, error)
public AutoDeployer(string name, AutoDeployerArgs args, ComponentResourceOptions? opts = null)
public AutoDeployer(String name, AutoDeployerArgs args)
public AutoDeployer(String name, AutoDeployerArgs args, ComponentResourceOptions options)
type: auto-deploy:AutoDeployer
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. AutoDeployerArgs
The arguments to resource properties.
opts ComponentResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. AutoDeployerArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. AutoDeployerArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. AutoDeployerArgs
The arguments to resource properties.
opts ComponentResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. AutoDeployerArgs
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 autoDeployerResource = new AutoDeploy.AutoDeployer("autoDeployerResource", new()
{
    DownstreamRefs = new[]
    {
        "string",
    },
    Organization = "string",
    Project = "string",
    Stack = "string",
});
Copy
example, err := autodeploy.NewAutoDeployer(ctx, "autoDeployerResource", &autodeploy.AutoDeployerArgs{
	DownstreamRefs: pulumi.StringArray{
		pulumi.String("string"),
	},
	Organization: pulumi.String("string"),
	Project:      pulumi.String("string"),
	Stack:        pulumi.String("string"),
})
Copy
var autoDeployerResource = new AutoDeployer("autoDeployerResource", AutoDeployerArgs.builder()
    .downstreamRefs("string")
    .organization("string")
    .project("string")
    .stack("string")
    .build());
Copy
auto_deployer_resource = auto_deploy.AutoDeployer("autoDeployerResource",
    downstream_refs=["string"],
    organization="string",
    project="string",
    stack="string")
Copy
const autoDeployerResource = new auto_deploy.AutoDeployer("autoDeployerResource", {
    downstreamRefs: ["string"],
    organization: "string",
    project: "string",
    stack: "string",
});
Copy
type: auto-deploy:AutoDeployer
properties:
    downstreamRefs:
        - string
    organization: string
    project: string
    stack: string
Copy

AutoDeployer 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 AutoDeployer resource accepts the following input properties:

DownstreamRefs This property is required. List<string>
A list of AutoDeployer.DownstreamRef indicating which stacks should automatically be updated via Pulumi Deployments when this stack is successfully updated.
Organization This property is required. string
The organization name for the AutoDeployer stack.
Project This property is required. string
The project name for the AutoDeployer stack.
Stack This property is required. string
The stack name for this AutoDeployer.
DownstreamRefs This property is required. []string
A list of AutoDeployer.DownstreamRef indicating which stacks should automatically be updated via Pulumi Deployments when this stack is successfully updated.
Organization This property is required. string
The organization name for the AutoDeployer stack.
Project This property is required. string
The project name for the AutoDeployer stack.
Stack This property is required. string
The stack name for this AutoDeployer.
downstreamRefs This property is required. List<String>
A list of AutoDeployer.DownstreamRef indicating which stacks should automatically be updated via Pulumi Deployments when this stack is successfully updated.
organization This property is required. String
The organization name for the AutoDeployer stack.
project This property is required. String
The project name for the AutoDeployer stack.
stack This property is required. String
The stack name for this AutoDeployer.
downstreamRefs This property is required. string[]
A list of AutoDeployer.DownstreamRef indicating which stacks should automatically be updated via Pulumi Deployments when this stack is successfully updated.
organization This property is required. string
The organization name for the AutoDeployer stack.
project This property is required. string
The project name for the AutoDeployer stack.
stack This property is required. string
The stack name for this AutoDeployer.
downstream_refs This property is required. Sequence[str]
A list of AutoDeployer.DownstreamRef indicating which stacks should automatically be updated via Pulumi Deployments when this stack is successfully updated.
organization This property is required. str
The organization name for the AutoDeployer stack.
project This property is required. str
The project name for the AutoDeployer stack.
stack This property is required. str
The stack name for this AutoDeployer.
downstreamRefs This property is required. List<String>
A list of AutoDeployer.DownstreamRef indicating which stacks should automatically be updated via Pulumi Deployments when this stack is successfully updated.
organization This property is required. String
The organization name for the AutoDeployer stack.
project This property is required. String
The project name for the AutoDeployer stack.
stack This property is required. String
The stack name for this AutoDeployer.

Outputs

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

DownstreamWebhooks List<string>
A list of webhook URLs configured on this stack to trigger downstream deployments.
Ref string
The output reference that can be passed to another AutoDeployer's downstreamRefs list to configure depedent updates.
DownstreamWebhooks []string
A list of webhook URLs configured on this stack to trigger downstream deployments.
Ref string
The output reference that can be passed to another AutoDeployer's downstreamRefs list to configure depedent updates.
downstreamWebhooks List<String>
A list of webhook URLs configured on this stack to trigger downstream deployments.
ref String
The output reference that can be passed to another AutoDeployer's downstreamRefs list to configure depedent updates.
downstreamWebhooks string[]
A list of webhook URLs configured on this stack to trigger downstream deployments.
ref string
The output reference that can be passed to another AutoDeployer's downstreamRefs list to configure depedent updates.
downstream_webhooks Sequence[str]
A list of webhook URLs configured on this stack to trigger downstream deployments.
ref str
The output reference that can be passed to another AutoDeployer's downstreamRefs list to configure depedent updates.
downstreamWebhooks List<String>
A list of webhook URLs configured on this stack to trigger downstream deployments.
ref String
The output reference that can be passed to another AutoDeployer's downstreamRefs list to configure depedent updates.

Package Details

Repository
auto-deploy
License