published on Wednesday, Aug 19, 2026 by fivetran
published on Wednesday, Aug 19, 2026 by fivetran
Alpha: This resource is in alpha and its schema and behavior may change without notice. Not recommended for production use.
Manages the paused state of a fivetran.ConnectionV2 connection, separately from the connection resource itself. This lets you pause and resume a connection without triggering changes to (or replacement of) the connection’s own configuration.
fivetran.ConnectionV2 always creates connections paused. Add this resource with paused = false to start syncing.
If you are importing both resources, import fivetran.ConnectionV2 first, then fivetran.ConnectionV2PauseState — importing the pause state before the connection exists in state forces a replacement plan.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as fivetran from "@pulumi/fivetran";
const pauseState = new fivetran.ConnectionV2PauseState("pause_state", {
connectionId: connection.id,
paused: false,
});
import pulumi
import pulumi_fivetran as fivetran
pause_state = fivetran.ConnectionV2PauseState("pause_state",
connection_id=connection["id"],
paused=False)
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/fivetran/fivetran"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := fivetran.NewConnectionV2PauseState(ctx, "pause_state", &fivetran.ConnectionV2PauseStateArgs{
ConnectionId: pulumi.Any(connection.Id),
Paused: pulumi.Bool(false),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Fivetran = Pulumi.Fivetran;
return await Deployment.RunAsync(() =>
{
var pauseState = new Fivetran.ConnectionV2PauseState("pause_state", new()
{
ConnectionId = connection.Id,
Paused = false,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fivetran.ConnectionV2PauseState;
import com.pulumi.fivetran.ConnectionV2PauseStateArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var pauseState = new ConnectionV2PauseState("pauseState", ConnectionV2PauseStateArgs.builder()
.connectionId(connection.id())
.paused(false)
.build());
}
}
resources:
pauseState:
type: fivetran:ConnectionV2PauseState
name: pause_state
properties:
connectionId: ${connection.id}
paused: false
Example coming soon!
Create ConnectionV2PauseState Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ConnectionV2PauseState(name: string, args: ConnectionV2PauseStateArgs, opts?: CustomResourceOptions);@overload
def ConnectionV2PauseState(resource_name: str,
args: ConnectionV2PauseStateArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ConnectionV2PauseState(resource_name: str,
opts: Optional[ResourceOptions] = None,
connection_id: Optional[str] = None,
paused: Optional[bool] = None)func NewConnectionV2PauseState(ctx *Context, name string, args ConnectionV2PauseStateArgs, opts ...ResourceOption) (*ConnectionV2PauseState, error)public ConnectionV2PauseState(string name, ConnectionV2PauseStateArgs args, CustomResourceOptions? opts = null)
public ConnectionV2PauseState(String name, ConnectionV2PauseStateArgs args)
public ConnectionV2PauseState(String name, ConnectionV2PauseStateArgs args, CustomResourceOptions options)
type: fivetran:ConnectionV2PauseState
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "fivetran_connection_v2_pause_state" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args ConnectionV2PauseStateArgs
- 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 ConnectionV2PauseStateArgs
- 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 ConnectionV2PauseStateArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ConnectionV2PauseStateArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ConnectionV2PauseStateArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var connectionV2PauseStateResource = new Fivetran.ConnectionV2PauseState("connectionV2PauseStateResource", new()
{
ConnectionId = "string",
Paused = false,
});
example, err := fivetran.NewConnectionV2PauseState(ctx, "connectionV2PauseStateResource", &fivetran.ConnectionV2PauseStateArgs{
ConnectionId: pulumi.String("string"),
Paused: pulumi.Bool(false),
})
resource "fivetran_connection_v2_pause_state" "connectionV2PauseStateResource" {
lifecycle {
create_before_destroy = true
}
connection_id = "string"
paused = false
}
var connectionV2PauseStateResource = new ConnectionV2PauseState("connectionV2PauseStateResource", ConnectionV2PauseStateArgs.builder()
.connectionId("string")
.paused(false)
.build());
connection_v2_pause_state_resource = fivetran.ConnectionV2PauseState("connectionV2PauseStateResource",
connection_id="string",
paused=False)
const connectionV2PauseStateResource = new fivetran.ConnectionV2PauseState("connectionV2PauseStateResource", {
connectionId: "string",
paused: false,
});
type: fivetran:ConnectionV2PauseState
properties:
connectionId: string
paused: false
ConnectionV2PauseState 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 ConnectionV2PauseState resource accepts the following input properties:
- Connection
Id string - The unique identifier for the connection whose pause state is managed. Changing this forces the resource to be replaced.
- Paused bool
- Whether the connection should be paused.
- Connection
Id string - The unique identifier for the connection whose pause state is managed. Changing this forces the resource to be replaced.
- Paused bool
- Whether the connection should be paused.
- connection_
id string - The unique identifier for the connection whose pause state is managed. Changing this forces the resource to be replaced.
- paused bool
- Whether the connection should be paused.
- connection
Id String - The unique identifier for the connection whose pause state is managed. Changing this forces the resource to be replaced.
- paused Boolean
- Whether the connection should be paused.
- connection
Id string - The unique identifier for the connection whose pause state is managed. Changing this forces the resource to be replaced.
- paused boolean
- Whether the connection should be paused.
- connection_
id str - The unique identifier for the connection whose pause state is managed. Changing this forces the resource to be replaced.
- paused bool
- Whether the connection should be paused.
- connection
Id String - The unique identifier for the connection whose pause state is managed. Changing this forces the resource to be replaced.
- paused Boolean
- Whether the connection should be paused.
Outputs
All input properties are implicitly available as output properties. Additionally, the ConnectionV2PauseState resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing ConnectionV2PauseState Resource
Get an existing ConnectionV2PauseState 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?: ConnectionV2PauseStateState, opts?: CustomResourceOptions): ConnectionV2PauseState@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
connection_id: Optional[str] = None,
paused: Optional[bool] = None) -> ConnectionV2PauseStatefunc GetConnectionV2PauseState(ctx *Context, name string, id IDInput, state *ConnectionV2PauseStateState, opts ...ResourceOption) (*ConnectionV2PauseState, error)public static ConnectionV2PauseState Get(string name, Input<string> id, ConnectionV2PauseStateState? state, CustomResourceOptions? opts = null)public static ConnectionV2PauseState get(String name, Output<String> id, ConnectionV2PauseStateState state, CustomResourceOptions options)resources: _: type: fivetran:ConnectionV2PauseState get: id: ${id}import {
to = fivetran_connection_v2_pause_state.example
id = "${id}"
}
- 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.
- Connection
Id string - The unique identifier for the connection whose pause state is managed. Changing this forces the resource to be replaced.
- Paused bool
- Whether the connection should be paused.
- Connection
Id string - The unique identifier for the connection whose pause state is managed. Changing this forces the resource to be replaced.
- Paused bool
- Whether the connection should be paused.
- connection_
id string - The unique identifier for the connection whose pause state is managed. Changing this forces the resource to be replaced.
- paused bool
- Whether the connection should be paused.
- connection
Id String - The unique identifier for the connection whose pause state is managed. Changing this forces the resource to be replaced.
- paused Boolean
- Whether the connection should be paused.
- connection
Id string - The unique identifier for the connection whose pause state is managed. Changing this forces the resource to be replaced.
- paused boolean
- Whether the connection should be paused.
- connection_
id str - The unique identifier for the connection whose pause state is managed. Changing this forces the resource to be replaced.
- paused bool
- Whether the connection should be paused.
- connection
Id String - The unique identifier for the connection whose pause state is managed. Changing this forces the resource to be replaced.
- paused Boolean
- Whether the connection should be paused.
Package Details
- Repository
- fivetran fivetran/terraform-provider-fivetran
- License
- Notes
- This Pulumi package is based on the
fivetranTerraform Provider.
published on Wednesday, Aug 19, 2026 by fivetran