AWS Amazon Redshift Snapshot Schedule Association

This page shows how to write Terraform and CloudFormation for Amazon Redshift Snapshot Schedule Association and write them securely.

aws_redshift_snapshot_schedule_association (Terraform)

The Snapshot Schedule Association in Amazon Redshift can be configured in Terraform with the resource name aws_redshift_snapshot_schedule_association. The following sections describe how to use the resource and its parameters.

Example Usage from GitHub

An example could not be found in GitHub.

Review your Terraform file for AWS best practices

Shisho Cloud, our free checker to make sure your Terraform configuration follows best practices, is available (beta).

Parameters

Explanation in Terraform Registry

AWS::Redshift::Cluster (CloudFormation)

The Cluster in Redshift can be configured in CloudFormation with the resource name AWS::Redshift::Cluster. The following sections describe 10 examples of how to use the resource and its parameters.

Example Usage from GitHub

6.redshift.yml#L66
    Type: AWS::Redshift::Cluster
    Properties:
      AllowVersionUpgrade: true
      AutomatedSnapshotRetentionPeriod: 5
      ClusterIdentifier: dw-production-redshift-cluster
      ClusterParameterGroupName: !Ref RedshiftParameterGroup
deploy.yml#L4
    Type: "AWS::Redshift::Cluster"
    Properties:
      DBName: "mydb"
      MasterUsername: "master"
      MasterUserPassword:
        Ref: "MasterUserPassword"
deploy.yml#L4
    Type: "AWS::Redshift::Cluster"
    Properties:
      DBName: "mydb"
      MasterUsername: "master"
      MasterUserPassword:
        Ref: "MasterUserPassword"
deploy.yml#L4
    Type: "AWS::Redshift::Cluster"
    Properties:
      DBName: "mydb"
      MasterUsername: "master"
      MasterUserPassword:
        Ref: "MasterUserPassword"
deploy.yml#L4
    Type: "AWS::Redshift::Cluster"
    Properties:
      DBName: "mydb"
      MasterUsername: "master"
      MasterUserPassword:
        Ref: "MasterUserPassword"
AWS_Redshift_Cluster.json#L9
    "resourceType": "AWS::Redshift::Cluster",
    "resourceId": "cluster-with-kms",
    "resourceName": "cluster-with-kms",
    "awsRegion": "us-west-2",
    "availabilityZone": "us-west-2c",
    "resourceCreationTime": "2016-10-13T22:26:39.723Z",
AWS_Redshift_Cluster.json#L9
    "resourceType": "AWS::Redshift::Cluster",
    "resourceId": "cluster-with-kms",
    "resourceName": "cluster-with-kms",
    "awsRegion": "us-west-2",
    "availabilityZone": "us-west-2c",
    "resourceCreationTime": "2016-10-13T22:26:39.723Z",
cloud-formation-local-postgres.json#L7
      "Type": "AWS::Redshift::ClusterSecurityGroup",
      "Properties": {
        "Description" : "Security group to determine where connections to the Amazon Redshift cluster can come from"
      }
    },
    "redshiftSecurityGroupIngress" : {
cloud-formation-local-postgres.json#L7
      "Type": "AWS::Redshift::ClusterSecurityGroup",
      "Properties": {
        "Description" : "Security group to determine where connections to the Amazon Redshift cluster can come from"
      }
    },
    "redshiftSecurityGroupIngress" : {
Redshift.json#L3
  "resourceType" : "AWS::Redshift::Cluster",
  "properties" : [ {
    "propertyName" : "AllowVersionUpgrade",
    "propertyType" : "Boolean",
    "required" : false
  }, {

Parameters

Explanation in CloudFormation Registry

Specifies a cluster. A cluster is a fully managed data warehouse that consists of a set of compute nodes.

To create a cluster in Virtual Private Cloud (VPC), you must provide a cluster subnet group name. The cluster subnet group identifies the subnets of your VPC that Amazon Redshift uses when creating the cluster. For more information about managing clusters, go to Amazon Redshift Clusters in the Amazon Redshift Cluster Management Guide.

Frequently asked questions

What is AWS Amazon Redshift Snapshot Schedule Association?

AWS Amazon Redshift Snapshot Schedule Association is a resource for Amazon Redshift of Amazon Web Service. Settings can be wrote in Terraform and CloudFormation.

Where can I find the example code for the AWS Amazon Redshift Snapshot Schedule Association?

For CloudFormation, the judithribeiro/Data-Engineer, jmelt5056/WebGoat.NET and iactest/newKaiMonkey source code examples are useful. See the CloudFormation Example section for further details.