PartnerArgs

data class PartnerArgs(val accountId: Output<String>? = null, val clusterIdentifier: Output<String>? = null, val databaseName: Output<String>? = null, val partnerName: Output<String>? = null) : ConvertibleToJava<PartnerArgs>

Creates a new Amazon Redshift Partner Integration.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.redshift.Partner;
import com.pulumi.aws.redshift.PartnerArgs;
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 Partner("example", PartnerArgs.builder()
.clusterIdentifier(aws_redshift_cluster.example().id())
.accountId(1234567910)
.databaseName(aws_redshift_cluster.example().database_name())
.partnerName("example")
.build());
}
}

Import

Redshift usage limits can be imported using the id, e.g.,

$ pulumi import aws:redshift/partner:Partner example 01234567910:cluster-example-id:example:example

Constructors

Link copied to clipboard
constructor(accountId: Output<String>? = null, clusterIdentifier: Output<String>? = null, databaseName: Output<String>? = null, partnerName: Output<String>? = null)

Properties

Link copied to clipboard
val accountId: Output<String>? = null

The Amazon Web Services account ID that owns the cluster.

Link copied to clipboard
val clusterIdentifier: Output<String>? = null

The cluster identifier of the cluster that receives data from the partner.

Link copied to clipboard
val databaseName: Output<String>? = null

The name of the database that receives data from the partner.

Link copied to clipboard
val partnerName: Output<String>? = null

The name of the partner that is authorized to send data.

Functions

Link copied to clipboard
open override fun toJava(): PartnerArgs