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

import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.redshift.Partner("example", {
clusterIdentifier: exampleAwsRedshiftCluster.id,
accountId: "1234567910",
databaseName: exampleAwsRedshiftCluster.databaseName,
partnerName: "example",
});
import pulumi
import pulumi_aws as aws
example = aws.redshift.Partner("example",
cluster_identifier=example_aws_redshift_cluster["id"],
account_id="1234567910",
database_name=example_aws_redshift_cluster["databaseName"],
partner_name="example")
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.RedShift.Partner("example", new()
{
ClusterIdentifier = exampleAwsRedshiftCluster.Id,
AccountId = "1234567910",
DatabaseName = exampleAwsRedshiftCluster.DatabaseName,
PartnerName = "example",
});
});
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/redshift"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := redshift.NewPartner(ctx, "example", &redshift.PartnerArgs{
ClusterIdentifier: pulumi.Any(exampleAwsRedshiftCluster.Id),
AccountId: pulumi.String("1234567910"),
DatabaseName: pulumi.Any(exampleAwsRedshiftCluster.DatabaseName),
PartnerName: pulumi.String("example"),
})
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.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(exampleAwsRedshiftCluster.id())
.accountId("1234567910")
.databaseName(exampleAwsRedshiftCluster.databaseName())
.partnerName("example")
.build());
}
}
resources:
example:
type: aws:redshift:Partner
properties:
clusterIdentifier: ${exampleAwsRedshiftCluster.id}
accountId: 1.23456791e+09
databaseName: ${exampleAwsRedshiftCluster.databaseName}
partnerName: example

Import

Using pulumi import, import Redshift usage limits using the id. For example:

$ 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