Skip to content

Resource: awsRedshiftAuthenticationProfile

Creates a Redshift authentication profile

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.redshiftAuthenticationProfile.RedshiftAuthenticationProfile(
  this,
  "example",
  {
    authenticationProfileContent:
      '${jsonencode(\n    {\n      AllowDBUserOverride = "1"\n      Client_ID           = "ExampleClientID"\n      App_ID              = "example"\n    }\n  )}',
    authenticationProfileName: "example",
  }
);

Argument Reference

The following arguments are supported:

  • authenticationProfileName - (Required, Forces new resource) The name of the authentication profile.
  • authenticationProfileContent - (Required) The content of the authentication profile in JSON format. The maximum length of the JSON string is determined by a quota for your account.

Attributes Reference

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

  • id - The name of the authentication profile.

Import

Redshift Authentication Profiles support import by authenticationProfileName, e.g.,

$ terraform import aws_redshift_authentication_profile.test example