spotinst logo
Spotinst v3.34.0, May 26 23

spotinst.DataIntegration

Explore with Pulumi AI

Provides a Spotinst Data Integration resource.

Example Usage

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using SpotInst = Pulumi.SpotInst;

return await Deployment.RunAsync(() => 
{
    var example = new SpotInst.DataIntegration("example", new()
    {
        S3 = new SpotInst.Inputs.DataIntegrationS3Args
        {
            BucketName = "terraform-test-do-not-delete",
            Subdir = "terraform-test-data-integration",
        },
        Status = "enabled",
    });

});
package main

import (
	"github.com/pulumi/pulumi-spotinst/sdk/v3/go/spotinst"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := spotinst.NewDataIntegration(ctx, "example", &spotinst.DataIntegrationArgs{
			S3: &spotinst.DataIntegrationS3Args{
				BucketName: pulumi.String("terraform-test-do-not-delete"),
				Subdir:     pulumi.String("terraform-test-data-integration"),
			},
			Status: pulumi.String("enabled"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.spotinst.DataIntegration;
import com.pulumi.spotinst.DataIntegrationArgs;
import com.pulumi.spotinst.inputs.DataIntegrationS3Args;
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 example = new DataIntegration("example", DataIntegrationArgs.builder()        
            .s3(DataIntegrationS3Args.builder()
                .bucketName("terraform-test-do-not-delete")
                .subdir("terraform-test-data-integration")
                .build())
            .status("enabled")
            .build());

    }
}
import pulumi
import pulumi_spotinst as spotinst

example = spotinst.DataIntegration("example",
    s3=spotinst.DataIntegrationS3Args(
        bucket_name="terraform-test-do-not-delete",
        subdir="terraform-test-data-integration",
    ),
    status="enabled")
import * as pulumi from "@pulumi/pulumi";
import * as spotinst from "@pulumi/spotinst";

const example = new spotinst.DataIntegration("example", {
    s3: {
        bucketName: "terraform-test-do-not-delete",
        subdir: "terraform-test-data-integration",
    },
    status: "enabled",
});
resources:
  example:
    type: spotinst:DataIntegration
    properties:
      s3:
        bucketName: terraform-test-do-not-delete
        subdir: terraform-test-data-integration
      status: enabled

Create DataIntegration Resource

new DataIntegration(name: string, args?: DataIntegrationArgs, opts?: CustomResourceOptions);
@overload
def DataIntegration(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    name: Optional[str] = None,
                    s3: Optional[DataIntegrationS3Args] = None,
                    status: Optional[str] = None)
@overload
def DataIntegration(resource_name: str,
                    args: Optional[DataIntegrationArgs] = None,
                    opts: Optional[ResourceOptions] = None)
func NewDataIntegration(ctx *Context, name string, args *DataIntegrationArgs, opts ...ResourceOption) (*DataIntegration, error)
public DataIntegration(string name, DataIntegrationArgs? args = null, CustomResourceOptions? opts = null)
public DataIntegration(String name, DataIntegrationArgs args)
public DataIntegration(String name, DataIntegrationArgs args, CustomResourceOptions options)
type: spotinst:DataIntegration
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

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

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

Name string

The name of the data integration.

S3 Pulumi.SpotInst.Inputs.DataIntegrationS3Args

When vendor value is s3, the following fields are included:

Status string

Determines if this data integration is on or off. Valid values: "enabled", "disabled"

Name string

The name of the data integration.

S3 DataIntegrationS3Args

When vendor value is s3, the following fields are included:

Status string

Determines if this data integration is on or off. Valid values: "enabled", "disabled"

name String

The name of the data integration.

s3 DataIntegrationS3Args

When vendor value is s3, the following fields are included:

status String

Determines if this data integration is on or off. Valid values: "enabled", "disabled"

name string

The name of the data integration.

s3 DataIntegrationS3Args

When vendor value is s3, the following fields are included:

status string

Determines if this data integration is on or off. Valid values: "enabled", "disabled"

name str

The name of the data integration.

s3 DataIntegrationS3Args

When vendor value is s3, the following fields are included:

status str

Determines if this data integration is on or off. Valid values: "enabled", "disabled"

name String

The name of the data integration.

s3 Property Map

When vendor value is s3, the following fields are included:

status String

Determines if this data integration is on or off. Valid values: "enabled", "disabled"

Outputs

All input properties are implicitly available as output properties. Additionally, the DataIntegration 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 str

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

Look up Existing DataIntegration Resource

Get an existing DataIntegration 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?: DataIntegrationState, opts?: CustomResourceOptions): DataIntegration
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        name: Optional[str] = None,
        s3: Optional[DataIntegrationS3Args] = None,
        status: Optional[str] = None) -> DataIntegration
func GetDataIntegration(ctx *Context, name string, id IDInput, state *DataIntegrationState, opts ...ResourceOption) (*DataIntegration, error)
public static DataIntegration Get(string name, Input<string> id, DataIntegrationState? state, CustomResourceOptions? opts = null)
public static DataIntegration get(String name, Output<String> id, DataIntegrationState 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:
Name string

The name of the data integration.

S3 Pulumi.SpotInst.Inputs.DataIntegrationS3Args

When vendor value is s3, the following fields are included:

Status string

Determines if this data integration is on or off. Valid values: "enabled", "disabled"

Name string

The name of the data integration.

S3 DataIntegrationS3Args

When vendor value is s3, the following fields are included:

Status string

Determines if this data integration is on or off. Valid values: "enabled", "disabled"

name String

The name of the data integration.

s3 DataIntegrationS3Args

When vendor value is s3, the following fields are included:

status String

Determines if this data integration is on or off. Valid values: "enabled", "disabled"

name string

The name of the data integration.

s3 DataIntegrationS3Args

When vendor value is s3, the following fields are included:

status string

Determines if this data integration is on or off. Valid values: "enabled", "disabled"

name str

The name of the data integration.

s3 DataIntegrationS3Args

When vendor value is s3, the following fields are included:

status str

Determines if this data integration is on or off. Valid values: "enabled", "disabled"

name String

The name of the data integration.

s3 Property Map

When vendor value is s3, the following fields are included:

status String

Determines if this data integration is on or off. Valid values: "enabled", "disabled"

Supporting Types

DataIntegrationS3

BucketName string
Subdir string

The subdirectory in which your files will be stored within the bucket. Adds the prefix subdir/ to new objects' keys. Can't be null or contain '/'.

BucketName string
Subdir string

The subdirectory in which your files will be stored within the bucket. Adds the prefix subdir/ to new objects' keys. Can't be null or contain '/'.

bucketName String
subdir String

The subdirectory in which your files will be stored within the bucket. Adds the prefix subdir/ to new objects' keys. Can't be null or contain '/'.

bucketName string
subdir string

The subdirectory in which your files will be stored within the bucket. Adds the prefix subdir/ to new objects' keys. Can't be null or contain '/'.

bucket_name str
subdir str

The subdirectory in which your files will be stored within the bucket. Adds the prefix subdir/ to new objects' keys. Can't be null or contain '/'.

bucketName String
subdir String

The subdirectory in which your files will be stored within the bucket. Adds the prefix subdir/ to new objects' keys. Can't be null or contain '/'.

Package Details

Repository
Spotinst pulumi/pulumi-spotinst
License
Apache-2.0
Notes

This Pulumi package is based on the spotinst Terraform Provider.