import * as core from "@terrascript/core";

export interface SnapshotScheduleAssociationArgs extends core.ResourceArgs {
  clusterIdentifier: string | core.StringOut;

  scheduleIdentifier: string | core.StringOut;
}

export class SnapshotScheduleAssociation extends core.Resource<SnapshotScheduleAssociationArgs> {
  @core.attr(String)
  public clusterIdentifier!: string | core.StringOut;

  @core.attr(String, { computed: true })
  public id!: string | core.StringOut;

  @core.attr(String)
  public scheduleIdentifier!: string | core.StringOut;

  constructor(name: string, args?: SnapshotScheduleAssociationArgs) {
    super(name, "aws_redshift_snapshot_schedule_association", args);
  }

  public override getNamespace(): string {
    return "aws_redshift";
  }
}
