# Amazon Redshift Construct Library

This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.

TypeScript:

```ts
import * as redshift from 'aws-cdk-lib/aws-redshift';
```

Python:

```python
import aws_cdk.aws_redshift as redshift
```

Java:

```java
import software.amazon.awscdk.services.redshift.*;
```

C# / .NET:

```csharp
using Amazon.CDK.AWS.Redshift;
```

Golang:

```go
import redshift "github.com/aws/aws-cdk-go/awscdk"
```

There are no official hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet. Here are some suggestions on how to proceed:

- Search [Construct Hub for Redshift construct libraries](https://constructs.dev/search?q=redshift)
- Use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, in the same way you would use [the CloudFormation AWS::Redshift resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_Redshift.html) directly.

> An experimental construct library for this service is available in preview. Since it is not stable yet, it is distributed
> as a separate package so that you can pin its version independently of the rest of the CDK. See the package:
>
> [`@aws-cdk/aws-redshift-alpha`](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-redshift-alpha-readme.html)

There are no hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet.
However, you can still use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, and use this service exactly as you would using CloudFormation directly.

For more information on the resources and properties available for this service, see the [CloudFormation documentation for AWS::Redshift](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_Redshift.html).

(Read the [CDK Contributing Guide](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and submit an RFC if you are interested in contributing to this construct library.)

## Types

### Constructs (L1)

- [`CfnCluster`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_redshift.CfnCluster.html) Construct (L1) Specifies a cluster. A *cluster* is a fully managed data warehouse that consists of a set of compute nodes.
- [`CfnClusterParameterGroup`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_redshift.CfnClusterParameterGroup.html) Construct (L1) Describes a parameter group.
- [`CfnClusterSecurityGroup`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_redshift.CfnClusterSecurityGroup.html) Construct (L1) Specifies a new Amazon Redshift security group. You use security groups to control access to non-VPC clusters.
- [`CfnClusterSecurityGroupIngress`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_redshift.CfnClusterSecurityGroupIngress.html) Construct (L1) Adds an inbound (ingress) rule to an Amazon Redshift security group.
- [`CfnClusterSubnetGroup`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_redshift.CfnClusterSubnetGroup.html) Construct (L1) Specifies an Amazon Redshift subnet group.
- [`CfnEndpointAccess`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_redshift.CfnEndpointAccess.html) Construct (L1) Creates a Redshift-managed VPC endpoint.
- [`CfnEndpointAuthorization`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_redshift.CfnEndpointAuthorization.html) Construct (L1) Describes an endpoint authorization for authorizing Redshift-managed VPC endpoint access to a cluster across AWS accounts .
- [`CfnEventSubscription`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_redshift.CfnEventSubscription.html) Construct (L1) http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-eventsubscription.html.
- [`CfnIntegration`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_redshift.CfnIntegration.html) Construct (L1) Describes a zero-ETL or S3 integration.
- [`CfnQEV2IdcApplication`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_redshift.CfnQEV2IdcApplication.html) Construct (L1) Creates an Amazon Redshift Query Editor (QEV2) IAM Identity Center application.
- [`CfnRedshiftIdcApplication`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_redshift.CfnRedshiftIdcApplication.html) Construct (L1) Resource Type definition for AWS::Redshift::RedshiftIdcApplication.
- [`CfnScheduledAction`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_redshift.CfnScheduledAction.html) Construct (L1) Creates a scheduled action.
- [`CfnSnapshot`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_redshift.CfnSnapshot.html) Construct (L1) Resource Type definition for AWS::Redshift::Snapshot.
- [`CfnSnapshotCopyGrant`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_redshift.CfnSnapshotCopyGrant.html) Construct (L1) Creates a snapshot copy grant that permits Amazon Redshift to use an encrypted symmetric key from AWS Key Management Service (KMS) to encrypt copied snapshots in a destination region.
- [`CfnSnapshotSchedule`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_redshift.CfnSnapshotSchedule.html) Construct (L1) Creates a snapshot schedule that lets you set up automatic snapshots of your Amazon Redshift cluster at regular intervals.
- [`CfnUsageLimit`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_redshift.CfnUsageLimit.html) Construct (L1) Resource Type definition for AWS::Redshift::UsageLimit.

### Structs

- [`CfnCluster.EndpointProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_redshift.CfnCluster.EndpointProperty.html) Struct Describes a connection endpoint.
- [`CfnCluster.LoggingPropertiesProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_redshift.CfnCluster.LoggingPropertiesProperty.html) Struct Specifies logging information, such as queries and connection attempts, for the specified Amazon Redshift cluster.
- [`CfnClusterParameterGroup.ParameterProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_redshift.CfnClusterParameterGroup.ParameterProperty.html) Struct Describes a parameter in a cluster parameter group.
- [`CfnClusterParameterGroupProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_redshift.CfnClusterParameterGroupProps.html) Struct Properties for defining a `CfnClusterParameterGroup`.
- [`CfnClusterProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_redshift.CfnClusterProps.html) Struct Properties for defining a `CfnCluster`.
- [`CfnClusterSecurityGroupIngressProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_redshift.CfnClusterSecurityGroupIngressProps.html) Struct Properties for defining a `CfnClusterSecurityGroupIngress`.
- [`CfnClusterSecurityGroupProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_redshift.CfnClusterSecurityGroupProps.html) Struct Properties for defining a `CfnClusterSecurityGroup`.
- [`CfnClusterSubnetGroupProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_redshift.CfnClusterSubnetGroupProps.html) Struct Properties for defining a `CfnClusterSubnetGroup`.
- [`CfnEndpointAccess.NetworkInterfaceProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_redshift.CfnEndpointAccess.NetworkInterfaceProperty.html) Struct Describes a network interface.
- [`CfnEndpointAccess.VpcEndpointProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_redshift.CfnEndpointAccess.VpcEndpointProperty.html) Struct The connection endpoint for connecting to an Amazon Redshift cluster through the proxy.
- [`CfnEndpointAccess.VpcSecurityGroupProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_redshift.CfnEndpointAccess.VpcSecurityGroupProperty.html) Struct The security groups associated with the endpoint.
- [`CfnEndpointAccessProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_redshift.CfnEndpointAccessProps.html) Struct Properties for defining a `CfnEndpointAccess`.
- [`CfnEndpointAuthorizationProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_redshift.CfnEndpointAuthorizationProps.html) Struct Properties for defining a `CfnEndpointAuthorization`.
- [`CfnEventSubscriptionProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_redshift.CfnEventSubscriptionProps.html) Struct Properties for defining a `CfnEventSubscription`.
- [`CfnIntegrationProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_redshift.CfnIntegrationProps.html) Struct Properties for defining a `CfnIntegration`.
- [`CfnQEV2IdcApplicationProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_redshift.CfnQEV2IdcApplicationProps.html) Struct Properties for defining a `CfnQEV2IdcApplication`.
- [`CfnRedshiftIdcApplication.AuthorizedTokenIssuerProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_redshift.CfnRedshiftIdcApplication.AuthorizedTokenIssuerProperty.html) Struct The authorized token issuer for the Amazon Redshift IAM Identity Center application.
- [`CfnRedshiftIdcApplication.ConnectProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_redshift.CfnRedshiftIdcApplication.ConnectProperty.html) Struct The Amazon Redshift connect integration scope.
- [`CfnRedshiftIdcApplication.LakeFormationQueryProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_redshift.CfnRedshiftIdcApplication.LakeFormationQueryProperty.html) Struct The Lake Formation scope.
- [`CfnRedshiftIdcApplication.LakeFormationScopeUnionProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_redshift.CfnRedshiftIdcApplication.LakeFormationScopeUnionProperty.html) Struct A list of scopes set up for Lake Formation integration.
- [`CfnRedshiftIdcApplication.ReadWriteAccessProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_redshift.CfnRedshiftIdcApplication.ReadWriteAccessProperty.html) Struct The S3 Access Grants scope.
- [`CfnRedshiftIdcApplication.RedshiftScopeUnionProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_redshift.CfnRedshiftIdcApplication.RedshiftScopeUnionProperty.html) Struct A union structure that defines the scope of Amazon Redshift service integrations.
- [`CfnRedshiftIdcApplication.S3AccessGrantsScopeUnionProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_redshift.CfnRedshiftIdcApplication.S3AccessGrantsScopeUnionProperty.html) Struct A list of scopes set up for S3 Access Grants integration.
- [`CfnRedshiftIdcApplication.ServiceIntegrationsUnionProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_redshift.CfnRedshiftIdcApplication.ServiceIntegrationsUnionProperty.html) Struct A list of service integrations.
- [`CfnRedshiftIdcApplicationProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_redshift.CfnRedshiftIdcApplicationProps.html) Struct Properties for defining a `CfnRedshiftIdcApplication`.
- [`CfnScheduledAction.PauseClusterMessageProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_redshift.CfnScheduledAction.PauseClusterMessageProperty.html) Struct Describes a pause cluster operation.
- [`CfnScheduledAction.ResizeClusterMessageProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_redshift.CfnScheduledAction.ResizeClusterMessageProperty.html) Struct Describes a resize cluster operation.
- [`CfnScheduledAction.ResumeClusterMessageProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_redshift.CfnScheduledAction.ResumeClusterMessageProperty.html) Struct Describes a resume cluster operation.
- [`CfnScheduledAction.ScheduledActionTypeProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_redshift.CfnScheduledAction.ScheduledActionTypeProperty.html) Struct The action type that specifies an Amazon Redshift API operation that is supported by the Amazon Redshift scheduler.
- [`CfnScheduledActionProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_redshift.CfnScheduledActionProps.html) Struct Properties for defining a `CfnScheduledAction`.
- [`CfnSnapshotCopyGrantProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_redshift.CfnSnapshotCopyGrantProps.html) Struct Properties for defining a `CfnSnapshotCopyGrant`.
- [`CfnSnapshotProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_redshift.CfnSnapshotProps.html) Struct Properties for defining a `CfnSnapshot`.
- [`CfnSnapshotScheduleProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_redshift.CfnSnapshotScheduleProps.html) Struct Properties for defining a `CfnSnapshotSchedule`.
- [`CfnUsageLimitProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_redshift.CfnUsageLimitProps.html) Struct Properties for defining a `CfnUsageLimit`.
