# Functions
No description provided by the author
No description provided by the author
GetCluster gets an existing Cluster resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
GetEventSubscription gets an existing EventSubscription resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
Information about Redshift Orderable Clusters and valid parameter combinations.
No description provided by the author
GetParameterGroup gets an existing ParameterGroup resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
GetScheduledAction gets an existing ScheduledAction resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
GetSecurityGroup gets an existing SecurityGroup resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
Use this data source to get the Account ID of the [AWS Redshift Service Account](http://docs.aws.amazon.com/redshift/latest/mgmt/db-auditing.html#db-auditing-enable-logging) in a given region for the purpose of allowing Redshift to store audit data in S3.
No description provided by the author
GetSnapshotCopyGrant gets an existing SnapshotCopyGrant resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
GetSnapshotSchedule gets an existing SnapshotSchedule resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
GetSnapshotScheduleAssociation gets an existing SnapshotScheduleAssociation resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
GetSubnetGroup gets an existing SubnetGroup resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
Provides details about a specific redshift cluster.
No description provided by the author
NewCluster registers a new resource with the given unique name, arguments, and options.
NewEventSubscription registers a new resource with the given unique name, arguments, and options.
NewParameterGroup registers a new resource with the given unique name, arguments, and options.
NewScheduledAction registers a new resource with the given unique name, arguments, and options.
NewSecurityGroup registers a new resource with the given unique name, arguments, and options.
NewSnapshotCopyGrant registers a new resource with the given unique name, arguments, and options.
NewSnapshotSchedule registers a new resource with the given unique name, arguments, and options.
NewSnapshotScheduleAssociation registers a new resource with the given unique name, arguments, and options.
NewSubnetGroup registers a new resource with the given unique name, arguments, and options.
PkgVersion uses reflection to determine the version of the current package.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
Provides a Redshift Cluster Resource.
The set of arguments for constructing a Cluster resource.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Provides a Redshift event subscription resource.
The set of arguments for constructing a EventSubscription resource.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
A collection of arguments for invoking getOrderableCluster.
A collection of arguments for invoking getOrderableCluster.
A collection of values returned by getOrderableCluster.
A collection of values returned by getOrderableCluster.
A collection of arguments for invoking getServiceAccount.
A collection of arguments for invoking getServiceAccount.
A collection of values returned by getServiceAccount.
A collection of values returned by getServiceAccount.
A collection of arguments for invoking getCluster.
A collection of arguments for invoking getCluster.
A collection of values returned by getCluster.
A collection of values returned by getCluster.
Provides a Redshift Cluster parameter group resource.
The set of arguments for constructing a ParameterGroup resource.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
## Example Usage ### Pause Cluster Action
```go package main
import ( "fmt"
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/iam" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/redshift" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" )
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleRole, err := iam.NewRole(ctx, "exampleRole", &iam.RoleArgs{ AssumeRolePolicy: pulumi.Any(fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v", "{\n", " \"Version\": \"2012-10-17\",\n", " \"Statement\": [\n", " {\n", " \"Action\": \"sts:AssumeRole\",\n", " \"Principal\": {\n", " \"Service\": [\n", " \"scheduler.redshift.amazonaws.com\"\n", " ]\n", " },\n", " \"Effect\": \"Allow\",\n", " \"Sid\": \"\"\n", " }\n", " ]\n", "}\n")), }) if err != nil { return err } examplePolicy, err := iam.NewPolicy(ctx, "examplePolicy", &iam.PolicyArgs{ Policy: pulumi.Any(fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v", "{\n", " \"Version\": \"2012-10-17\",\n", " \"Statement\": [\n", " {\n", " \"Sid\": \"VisualEditor0\",\n", " \"Effect\": \"Allow\",\n", " \"Action\": [\n", " \"redshift:PauseCluster\",\n", " \"redshift:ResumeCluster\",\n", " \"redshift:ResizeCluster\"\n", " ],\n", " \"Resource\": \"*\"\n", " }\n", " ]\n", "}\n")), }) if err != nil { return err } _, err = iam.NewRolePolicyAttachment(ctx, "exampleRolePolicyAttachment", &iam.RolePolicyAttachmentArgs{ PolicyArn: examplePolicy.Arn, Role: exampleRole.Name, }) if err != nil { return err } _, err = redshift.NewScheduledAction(ctx, "exampleScheduledAction", &redshift.ScheduledActionArgs{ Schedule: pulumi.String("cron(00 23 * * ? *)"), IamRole: exampleRole.Arn, TargetAction: &redshift.ScheduledActionTargetActionArgs{ PauseCluster: &redshift.ScheduledActionTargetActionPauseClusterArgs{ ClusterIdentifier: pulumi.String("tf-redshift001"), }, }, }) if err != nil { return err } return nil }) } ``` ### Resize Cluster Action
```go package main
import ( "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/redshift" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" )
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := redshift.NewScheduledAction(ctx, "example", &redshift.ScheduledActionArgs{ Schedule: pulumi.String("cron(00 23 * * ? *)"), IamRole: pulumi.Any(aws_iam_role.Example.Arn), TargetAction: &redshift.ScheduledActionTargetActionArgs{ ResizeCluster: &redshift.ScheduledActionTargetActionResizeClusterArgs{ ClusterIdentifier: pulumi.String("tf-redshift001"), ClusterType: pulumi.String("multi-node"), NodeType: pulumi.String("dc1.large"), NumberOfNodes: pulumi.Int(2), }, }, }) if err != nil { return err } return nil }) } ```
## Import
Redshift Scheduled Action can be imported using the `name`, e.g.,
```sh $ pulumi import aws:redshift/scheduledAction:ScheduledAction example tf-redshift-scheduled-action ```.
The set of arguments for constructing a ScheduledAction resource.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Creates a new Amazon Redshift security group.
The set of arguments for constructing a SecurityGroup resource.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Creates a snapshot copy grant that allows AWS Redshift to encrypt copied snapshots with a customer master key from AWS KMS in a destination region.
The set of arguments for constructing a SnapshotCopyGrant resource.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
## Example Usage
```go package main
import ( "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/redshift" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" )
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := redshift.NewSnapshotSchedule(ctx, "default", &redshift.SnapshotScheduleArgs{ Definitions: pulumi.StringArray{ pulumi.String("rate(12 hours)"), }, Identifier: pulumi.String("tf-redshift-snapshot-schedule"), }) if err != nil { return err } return nil }) } ```
## Import
Redshift Snapshot Schedule can be imported using the `identifier`, e.g.,
```sh $ pulumi import aws:redshift/snapshotSchedule:SnapshotSchedule default tf-redshift-snapshot-schedule ```.
The set of arguments for constructing a SnapshotSchedule resource.
No description provided by the author
## Example Usage
```go package main
import ( "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/redshift" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" )
func main() { pulumi.Run(func(ctx *pulumi.Context) error { defaultCluster, err := redshift.NewCluster(ctx, "defaultCluster", &redshift.ClusterArgs{ ClusterIdentifier: pulumi.String("tf-redshift-cluster"), DatabaseName: pulumi.String("mydb"), MasterUsername: pulumi.String("foo"), MasterPassword: pulumi.String("Mustbe8characters"), NodeType: pulumi.String("dc1.large"), ClusterType: pulumi.String("single-node"), }) if err != nil { return err } defaultSnapshotSchedule, err := redshift.NewSnapshotSchedule(ctx, "defaultSnapshotSchedule", &redshift.SnapshotScheduleArgs{ Identifier: pulumi.String("tf-redshift-snapshot-schedule"), Definitions: pulumi.StringArray{ pulumi.String("rate(12 hours)"), }, }) if err != nil { return err } _, err = redshift.NewSnapshotScheduleAssociation(ctx, "defaultSnapshotScheduleAssociation", &redshift.SnapshotScheduleAssociationArgs{ ClusterIdentifier: defaultCluster.ID(), ScheduleIdentifier: defaultSnapshotSchedule.ID(), }) if err != nil { return err } return nil }) } ```
## Import
Redshift Snapshot Schedule Association can be imported using the `<cluster-identifier>/<schedule-identifier>`, e.g.,
```sh $ pulumi import aws:redshift/snapshotScheduleAssociation:SnapshotScheduleAssociation default tf-redshift-cluster/tf-redshift-snapshot-schedule ```.
The set of arguments for constructing a SnapshotScheduleAssociation resource.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Creates a new Amazon Redshift subnet group.
The set of arguments for constructing a SubnetGroup resource.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
ClusterArrayInput is an input type that accepts ClusterArray and ClusterArrayOutput values.
ClusterClusterNodeArrayInput is an input type that accepts ClusterClusterNodeArray and ClusterClusterNodeArrayOutput values.
ClusterClusterNodeInput is an input type that accepts ClusterClusterNodeArgs and ClusterClusterNodeOutput values.
No description provided by the author
ClusterLoggingInput is an input type that accepts ClusterLoggingArgs and ClusterLoggingOutput values.
ClusterLoggingPtrInput is an input type that accepts ClusterLoggingArgs, ClusterLoggingPtr and ClusterLoggingPtrOutput values.
ClusterMapInput is an input type that accepts ClusterMap and ClusterMapOutput values.
ClusterSnapshotCopyInput is an input type that accepts ClusterSnapshotCopyArgs and ClusterSnapshotCopyOutput values.
ClusterSnapshotCopyPtrInput is an input type that accepts ClusterSnapshotCopyArgs, ClusterSnapshotCopyPtr and ClusterSnapshotCopyPtrOutput values.
EventSubscriptionArrayInput is an input type that accepts EventSubscriptionArray and EventSubscriptionArrayOutput values.
No description provided by the author
EventSubscriptionMapInput is an input type that accepts EventSubscriptionMap and EventSubscriptionMapOutput values.
ParameterGroupArrayInput is an input type that accepts ParameterGroupArray and ParameterGroupArrayOutput values.
No description provided by the author
ParameterGroupMapInput is an input type that accepts ParameterGroupMap and ParameterGroupMapOutput values.
ParameterGroupParameterArrayInput is an input type that accepts ParameterGroupParameterArray and ParameterGroupParameterArrayOutput values.
ParameterGroupParameterInput is an input type that accepts ParameterGroupParameterArgs and ParameterGroupParameterOutput values.
ScheduledActionArrayInput is an input type that accepts ScheduledActionArray and ScheduledActionArrayOutput values.
No description provided by the author
ScheduledActionMapInput is an input type that accepts ScheduledActionMap and ScheduledActionMapOutput values.
ScheduledActionTargetActionInput is an input type that accepts ScheduledActionTargetActionArgs and ScheduledActionTargetActionOutput values.
ScheduledActionTargetActionPauseClusterInput is an input type that accepts ScheduledActionTargetActionPauseClusterArgs and ScheduledActionTargetActionPauseClusterOutput values.
ScheduledActionTargetActionPauseClusterPtrInput is an input type that accepts ScheduledActionTargetActionPauseClusterArgs, ScheduledActionTargetActionPauseClusterPtr and ScheduledActionTargetActionPauseClusterPtrOutput values.
ScheduledActionTargetActionPtrInput is an input type that accepts ScheduledActionTargetActionArgs, ScheduledActionTargetActionPtr and ScheduledActionTargetActionPtrOutput values.
ScheduledActionTargetActionResizeClusterInput is an input type that accepts ScheduledActionTargetActionResizeClusterArgs and ScheduledActionTargetActionResizeClusterOutput values.
ScheduledActionTargetActionResizeClusterPtrInput is an input type that accepts ScheduledActionTargetActionResizeClusterArgs, ScheduledActionTargetActionResizeClusterPtr and ScheduledActionTargetActionResizeClusterPtrOutput values.
ScheduledActionTargetActionResumeClusterInput is an input type that accepts ScheduledActionTargetActionResumeClusterArgs and ScheduledActionTargetActionResumeClusterOutput values.
ScheduledActionTargetActionResumeClusterPtrInput is an input type that accepts ScheduledActionTargetActionResumeClusterArgs, ScheduledActionTargetActionResumeClusterPtr and ScheduledActionTargetActionResumeClusterPtrOutput values.
SecurityGroupArrayInput is an input type that accepts SecurityGroupArray and SecurityGroupArrayOutput values.
SecurityGroupIngressArrayInput is an input type that accepts SecurityGroupIngressArray and SecurityGroupIngressArrayOutput values.
SecurityGroupIngressInput is an input type that accepts SecurityGroupIngressArgs and SecurityGroupIngressOutput values.
No description provided by the author
SecurityGroupMapInput is an input type that accepts SecurityGroupMap and SecurityGroupMapOutput values.
SnapshotCopyGrantArrayInput is an input type that accepts SnapshotCopyGrantArray and SnapshotCopyGrantArrayOutput values.
No description provided by the author
SnapshotCopyGrantMapInput is an input type that accepts SnapshotCopyGrantMap and SnapshotCopyGrantMapOutput values.
SnapshotScheduleArrayInput is an input type that accepts SnapshotScheduleArray and SnapshotScheduleArrayOutput values.
SnapshotScheduleAssociationArrayInput is an input type that accepts SnapshotScheduleAssociationArray and SnapshotScheduleAssociationArrayOutput values.
No description provided by the author
SnapshotScheduleAssociationMapInput is an input type that accepts SnapshotScheduleAssociationMap and SnapshotScheduleAssociationMapOutput values.
No description provided by the author
SnapshotScheduleMapInput is an input type that accepts SnapshotScheduleMap and SnapshotScheduleMapOutput values.
SubnetGroupArrayInput is an input type that accepts SubnetGroupArray and SubnetGroupArrayOutput values.
No description provided by the author
SubnetGroupMapInput is an input type that accepts SubnetGroupMap and SubnetGroupMapOutput values.
# Type aliases
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author