Skip to content

Resource: awsRedshiftPartner

Creates a new Amazon Redshift Partner Integration.

Example Usage

/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
new aws.redshiftPartner.RedshiftPartner(this, "example", {
  accountId: 1234567910,
  clusterIdentifier: "${aws_redshift_cluster.example.id}",
  databaseName: "${aws_redshift_cluster.example.database_name}",
  partnerName: "example",
});

Argument Reference

The following arguments are supported:

  • accountId - (Required) The Amazon Web Services account ID that owns the cluster.
  • clusterIdentifier - (Required) The cluster identifier of the cluster that receives data from the partner.
  • databaseName - (Required) The name of the database that receives data from the partner.
  • partnerName - (Required) The name of the partner that is authorized to send data.

Attributes Reference

In addition to all arguments above, the following attributes are exported:

  • id - The identifier of the Redshift partner, accountId, clusterIdentifier, databaseName, partnerName separated by a colon (:).
  • status - (Optional) The partner integration status.
  • statusMessage - (Optional) The status message provided by the partner.

Import

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

$ terraform import aws_redshift_partner.example 01234567910:cluster-example-id:example:example